- Update to Android 1.5 SDK

- Fix RouterContext problem
This commit is contained in:
zzz
2009-07-03 22:13:18 +00:00
parent 7972c0c862
commit 2e5caac8bf
5 changed files with 290 additions and 240 deletions

View File

@ -1,18 +1,25 @@
These instructions are for the 1.5 SDK.
The build file is not compatible with the 1.1 SDK any more.
#Unzip the android SDK in ../../
#So then the android tools will be in ../../android-sdk-linux_x86-1.1_r1/tools/
#So then the android tools will be in ../../android-sdk-linux_x86-1.5_r2/tools/
#then build the android apk file:
ant
ant debug
# Create the android 1.5 virtual device
# (don't make a custom hardware profile)
../../android-sdk-linux_x86-1.5_r2/tools/android create avd --name i2p --target 2
#then run the emulator:
../../android-sdk-linux_x86-1.1_r1/tools/emulator &
../../android-sdk-linux_x86-1.5_r2/tools/emulator -avd i2p &
#then wait a couple minutes until the emulator is up
#then install the I2P app
ant install
#then run the debugger
../../android-sdk-linux_x86-1.1_r1/tools/ddms &
../../android-sdk-linux_x86-1.5_r2/tools/ddms &
#to rebuild and reinstall to emulator:
ant reinstall