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. $ ../tools/configure # type 200, then chose A for android and your screen resolution $ make -After the build finished, build the apk file: + +After the build finished, build the zip file which contains codecs and themes (the binary is a separate file): + $ make zip + +Once you have the zip, pack it and the binary into the apk $ make apk +Side 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. +Not recreating it will save time because it's only unzipped on the device if it's newer than what's on the device + You can install that on your device or emulator with the following command: $ $ANDROID_SDK_PATH/tools/adb install -r bin/Rockbox.apk 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) $(BINLIB_DIR)/$(BINARY): $(BUILDDIR)/$(BINARY) $(call PRINTS,CP $(BINARY))cp $^ $@ -$(BUILDDIR)/rockbox.zip: zip - -$(BINLIB_DIR)/libmisc.so: $(BUILDDIR)/rockbox.zip +$(BINLIB_DIR)/libmisc.so: $(call PRINTS,CP rockbox.zip)cp $^ $@ libs: $(LIBS)