diff --git a/Makefile.am b/Makefile.am index 266a61c6a..d5416681a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -330,7 +330,7 @@ android/build/gen/org/musicpd/R.java: android/build/resources.apk android/build/classes.dex: $(JAVA_SOURCE_PATHS) android/build/gen/org/musicpd/R.java @$(MKDIR_P) $(JAVA_CLASSFILES_DIR) - $(JAVAC) -source 1.5 -target 1.5 -Xlint:-options \ + $(JAVAC) -source 1.6 -target 1.6 -Xlint:-options \ -cp $(ANDROID_SDK_PLATFORM_DIR)/android.jar:$(JAVA_CLASSFILES_DIR) \ -d $(JAVA_CLASSFILES_DIR) $^ $(DX) --dex --output $@ $(JAVA_CLASSFILES_DIR)