summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/README9
-rw-r--r--android/android.make4
2 files changed, 9 insertions, 4 deletions
diff --git a/android/README b/android/README
index 2b1bd2ab6c..6c9d2ad4c6 100644
--- a/android/README
+++ b/android/README
@@ -20,9 +20,16 @@ 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
23After the build finished, build the apk file: 23
24After the build finished, build the zip file which contains codecs and themes (the binary is a separate file):
25 $ make zip
26
27Once you have the zip, pack it and the binary into the apk
24 $ make apk 28 $ make apk
25 29
30Side note: You don't necessarily need to recreate the zip once you have it, only if you're unsure or if you know its content changed.
31Not recreating it will save time because it's only unzipped on the device if it's newer than what's on the device
32
26You can install that on your device or emulator with the following command: 33You can install that on your device or emulator with the following command:
27 $ $ANDROID_SDK_PATH/tools/adb install -r bin/Rockbox.apk 34 $ $ANDROID_SDK_PATH/tools/adb install -r bin/Rockbox.apk
28 35
diff --git a/android/android.make b/android/android.make
index 8cb52bbbba..ed39973165 100644
--- a/android/android.make
+++ b/android/android.make
@@ -78,9 +78,7 @@ dex: $(DEX)
78$(BINLIB_DIR)/$(BINARY): $(BUILDDIR)/$(BINARY) 78$(BINLIB_DIR)/$(BINARY): $(BUILDDIR)/$(BINARY)
79 $(call PRINTS,CP $(BINARY))cp $^ $@ 79 $(call PRINTS,CP $(BINARY))cp $^ $@
80 80
81$(BUILDDIR)/rockbox.zip: zip 81$(BINLIB_DIR)/libmisc.so:
82
83$(BINLIB_DIR)/libmisc.so: $(BUILDDIR)/rockbox.zip
84 $(call PRINTS,CP rockbox.zip)cp $^ $@ 82 $(call PRINTS,CP rockbox.zip)cp $^ $@
85 83
86libs: $(LIBS) 84libs: $(LIBS)