Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.settings
assets
bin
gen
jni
lamwdesigner
res
src/com/example/appdemo1
utils
.classpath
.project
AndroidManifest.xml
adb-install.bat
adb-install.sh
adb-uninstall.sh
ant-build-debug-macos.sh
ant-build-debug.bat
ant-build-debug.sh
ant-build-release.bat
ant-build-release.sh
build.bat
build.gradle
build.sh
build.xml
build.xml.bak
build.xml.bak2
gradle-local-build.bat
gradle-local-build.sh
gradle-local-run.bat
gradle-local-run.sh
gradle.properties
ic_launcher-web.png
install.bat
install.sh
launch_avd_default.bat
local.properties
logcat.sh
proguard-project.txt
project.properties
readme.txt
uninstall.bat
uninstall.sh

readme.txt

Tutorial: How to get your Android Application [Apk] using "Ant":
 
1. Double click "build.bat" to build Apk
 
2. If Android Virtual Device[AVD]/Emulator is running then:
   2.1 double click "install.bat" to install the Apk on the Emulator
   2.2 look for the App "AppDemo1" in the Emulator and click it!
 
3. If AVD/Emulator is NOT running:
   3.1 If AVD/Emulator NOT exist:
        3.1.1 double click "paused_create_avd_default.bat" to create the AVD [\utils folder]
   3.2 double click "launch_avd_default.bat" to launch the Emulator [\utils  folder]
   3.3 look for the App "AppDemo1" in the Emulator and click it!
 
4. Log/Debug
   4.1 double click "logcat*.bat" to read Emulator logs and bugs! [\utils folder]
 
5. Uninstall Apk
   5.1 double click "uninstall.bat" to remove Apk from the Emulator!
 
6. To find your app Look for the "AppDemo1-debug.apk" in \bin folder!
 
7. Android Asset Packaging Tool: to know which files were packed in "AppDemo1-debug.apk"
   7.1 double click "aapt.bat" [\utils folder]
 
8. To see all available Android targets in your system [\utils folder]
   8.1 double click "paused_list_target.bat" 
 
9. Hint 1: you can edit "*.bat" to extend/modify some command or to fix some incorrect info/path!
 
10.Hint 2: you can edit "build.xml" to set another Android target ex. "android-18" or "android-19" etc.
 
11.Warning: After a new [Lazarus IDE]-> "run->build" do not forget to run again: "build.bat" and "install.bat" !
 
....  Thank you!
 
....  by jmpessoa_hotmail_com

System Path to Android SDK=C:\adt32\sdk
System Path to Android NDK=C:\adt32\ndk10e
You can’t perform that action at this time.