From 23dee22ec7e6990385194536b9ac4194aa085bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= 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,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/