summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/android.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/android/android.make b/android/android.make
index 0be3204535..9668902bec 100644
--- a/android/android.make
+++ b/android/android.make
@@ -78,7 +78,7 @@ RES := $(wildcard $(ANDROID_DIR)/res/*/*)
CLEANOBJS += bin gen libs data
-JAVAC_OPTS += -implicit:none -classpath $(ANDROID_PLATFORM)/android.jar:$(CLASSPATH)
+JAVAC_OPTS += -source 1.6 -target 1.6 -implicit:none -classpath $(ANDROID_PLATFORM)/android.jar:$(CLASSPATH)
.PHONY:
$(MANIFEST): $(MANIFEST_SRC) $(DIRS)
@@ -148,7 +148,8 @@ endif
$(SILENT)rm -f $@
$(call PRINTS,SIGN $(subst $(BUILDDIR)/,,$@))jarsigner \
-keystore "$(KEYSTORE)" -storepass "android" -keypass "android" \
- -signedjar $(TEMP_APK2) $(TEMP_APK) "androiddebugkey"
+ -signedjar $(TEMP_APK2) $(TEMP_APK) "androiddebugkey" \
+ -sigalg MD5withRSA -digestalg SHA1
$(SILENT)$(ZIPALIGN) -v 4 $(TEMP_APK2) $@ > /dev/null
$(DIRS):