From 808d2b5d5e7d6b41720e572eb1de582f6e649079 Mon Sep 17 00:00:00 2001 From: zagor Date: Mon, 20 Sep 2010 22:03:48 +0000 Subject: [PATCH] Added some missing build information. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28129 a1c6a512-1295-4272-9138-f99709370657 --- android/README | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/android/README b/android/README index 04436b3c65..81cd416107 100644 --- a/android/README +++ b/android/README @@ -20,24 +20,18 @@ 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/ - $ make apk +After the build finished, build the zip file: + $ make zip -You can install that on the device - $ $ANDROID_SDK_PATH/tools/adb install -r bin/Rockbox.apk +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 -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 +You can install that on the device: + $ $ANDROID_SDK_PATH/tools/adb install -r bin/Rockbox.apk -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 -- 2.11.4.GIT