These instructions are for a recent Android SDK (1.6 or later). These instructions were last updated for SDK Tools Version 11 with SDK Platform-tools Version 5, June 2011. The i2p source must be installed in ../i2p.i2p, or else add i2psrc=/path/to/source in the local.properties file. ===================== #Download the SDK from http://developer.android.com/sdk/index.html #Unzip the android SDK in ../ #So then the android tools will be in ../android-sdk-linux_86/tools/ # # Run the GUI updater, which you must do to get an SDK Platform: ../android-sdk-linux_86/tools/android & # now go to the available packages tab, check the box and click refresh, # and download an SDK Platform # Since I2P is configured to run on 1.1 or higher # (API 2) download that one. Otherwise you must change the # target in default.properties from android-2 to andriod-x # where x is the API version. # To run the debugger (ddms) you also need to download the # "Android SDK Platform-Tools" package from the GUI updater. # create a file local.properties with the following line (without the leading # of course): # sdk.dir=/path/to/your/android-sdk-linux_86 # The old property was sdk-location=/path/to/your/android-sdk-linux_86 # but it changed in more recent tools. # DO NOT create a new project or anything. It's all set up right here for you. # Create the android 2.2 (API 8) virtual device # (don't make a custom hardware profile) ../android-sdk-linux_86/tools/android create avd --name i2p --target 8 #then run the emulator: # This may take a LONG time the first time (half an hour or more)... # Run the debugger to ensure it is making progress # -no-boot-anim for faster boot # -dns-server 8.8.8.8 if the router can't reseed #../android-sdk-linux_86/tools/emulator -avd i2p -no-boot-anim -dns-server 8.8.8.8 & ../android-sdk-linux_86/tools/emulator -avd i2p & # or to talk to a real phone in debug mode: # You have to do this if you get a permission error - # Stop ddms, unplug the phone, do the following, # then plug in the phone, then start ddms adb kill-server sudo adb start-server adb devices #then wait a couple minutes until the emulator is up #then install the I2P app ant install #then run the debugger ../android-sdk-linux_86/tools/ddms & #to rebuild and reinstall to emulator or phone: ant reinstall # Now click on the I2P icon on your phone! #other helpful commands ../android-sdk-linux_86/platform-tools/adb shell ../android-sdk-linux_86/platform-tools/adb pull /some/file/on/emulator some-local-dir/ # copy the Dev Tools app from the emulator to your phone adb -e pull /system/app/Development.apk ./Development.apk adb -d install Development.apk # reinstall an existing apk onto the emulator adb -e install -r bin/I2PAndroid-debug.apk
"AndroidManifest.xml.in" did not exist on "db1932a9088c0ab11fc0bf76d047d3881f66d256"

zzz
authored
Name | Last commit | Last update |
---|---|---|
jni | ||
licenses | ||
res | ||
scripts | ||
src/net/i2p | ||
.mtn-ignore | ||
AndroidManifest.xml | ||
LICENSE.txt | ||
README.txt | ||
build.properties | ||
build.xml | ||
default.properties |