mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
android: target java 1.7 bytecode
Java 17 on the host does no longer support targeting Java 1.6. This causes the build to fail. Build Tools 19.x support Java 1.7 bytecode and converts it to dex files for Android 2.2 or later, unless one uses the try-with-resources syntax which requires KitKat. Change-Id: I523746427f9ba3b60bef73fe1379b272cf048a05
This commit is contained in:
parent
f1b53d129f
commit
488306e1eb
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ RES := $(wildcard $(ANDROID_DIR)/res/*/*)
|
|||
|
||||
CLEANOBJS += bin gen libs data
|
||||
|
||||
JAVAC_OPTS += -source 1.6 -target 1.6 -implicit:none -classpath $(ANDROID_PLATFORM)/android.jar:$(CLASSPATH)
|
||||
JAVAC_OPTS += -source 1.7 -target 1.7 -implicit:none -classpath $(ANDROID_PLATFORM)/android.jar:$(CLASSPATH)
|
||||
|
||||
.PHONY:
|
||||
$(MANIFEST): $(MANIFEST_SRC) $(DIRS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue