Added some missing build information.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28129 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2010-09-20 22:03:48 +00:00
parent c0edce8f5c
commit 23dee22ec7

View file

@ -20,25 +20,19 @@ Use this as your build folder, using '../tools/configure' etc.
$ ../tools/configure # type 200, then chose A for android and your screen resolution
$ make
After the build finished, you can create a Rockbox.apk in bin/
After the build finished, build the zip file:
$ make zip
Create a debug signing key:
$ keytool -genkey -alias androiddebugkey -keystore $HOME/.android/debug.keystore -storepass android -keypass android -validity 365 -dname "CN=Android Debug,O=Android,C=US"
Then, you can create a Rockbox.apk which ends up in bin/
$ make apk
You can install that on the device
You can install that on the device:
$ $ANDROID_SDK_PATH/tools/adb install -r bin/Rockbox.apk
NOTE: make apk needs creates a debug signed .apk, not suitable for distribution.
It expects that this key already exists.
You should be able to generate it with "keytool" using the following options:
* Keystore name: "debug.keystore"
* Keystore password: "android"
* Key alias: "androiddebugkey"
* Key password: "android"
* CN: "CN=Android Debug,O=Android,C=US"
* validity: 365 days
Google docs mention the SDK tools can generate it as well, but I haven't found how yet.
[1]: http://developer.android.com/sdk/index.html
[2]: http://developer.android.com/sdk/ndk/index.html
[3]: http://asantoso.wordpress.com/2009/09/15/how-to-build-android-application-package-apk-from-the-command-line-using-the-sdk-tools-continuously-integrated-using-cruisecontrol/