diff options
-rw-r--r-- | android/README | 22 |
1 files 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. | |||
20 | $ ../tools/configure # type 200, then chose A for android and your screen resolution | 20 | $ ../tools/configure # type 200, then chose A for android and your screen resolution |
21 | $ make | 21 | $ make |
22 | 22 | ||
23 | After the build finished, you can create a Rockbox.apk in bin/ | 23 | After the build finished, build the zip file: |
24 | $ make apk | 24 | $ make zip |
25 | 25 | ||
26 | You can install that on the device | 26 | Create a debug signing key: |
27 | $ $ANDROID_SDK_PATH/tools/adb install -r bin/Rockbox.apk | 27 | $ keytool -genkey -alias androiddebugkey -keystore $HOME/.android/debug.keystore -storepass android -keypass android -validity 365 -dname "CN=Android Debug,O=Android,C=US" |
28 | 28 | ||
29 | Then, you can create a Rockbox.apk which ends up in bin/ | ||
30 | $ make apk | ||
29 | 31 | ||
30 | NOTE: make apk needs creates a debug signed .apk, not suitable for distribution. | 32 | You can install that on the device: |
31 | It expects that this key already exists. | 33 | $ $ANDROID_SDK_PATH/tools/adb install -r bin/Rockbox.apk |
32 | You should be able to generate it with "keytool" using the following options: | ||
33 | * Keystore name: "debug.keystore" | ||
34 | * Keystore password: "android" | ||
35 | * Key alias: "androiddebugkey" | ||
36 | * Key password: "android" | ||
37 | * CN: "CN=Android Debug,O=Android,C=US" | ||
38 | * validity: 365 days | ||
39 | 34 | ||
40 | Google docs mention the SDK tools can generate it as well, but I haven't found how yet. | ||
41 | 35 | ||
42 | [1]: http://developer.android.com/sdk/index.html | 36 | [1]: http://developer.android.com/sdk/index.html |
43 | [2]: http://developer.android.com/sdk/ndk/index.html | 37 | [2]: http://developer.android.com/sdk/ndk/index.html |