I'm using HDroidGUI to develop android aplications, and have problem when compile it on Manjaro, since Manjaro using JDK 8 and HDroidGUI is still not compatible with it, but I found the solution by adding simple parameters to compiler as below:
-source 1.7 -target 1.7
so before the commandline was :
javac -d obj -cp $ANDROID_JAR:$HDROIDGUI/hdroidgui.jar -sourcepath src src/$PACKAGE_PATH/*.java
now it become:
javac -source 1.7 -target 1.7 -d obj -cp $ANDROID_JAR:$HDROIDGUI/hdroidgui.jar -sourcepath src src/$PACKAGE_PATH/*.java
Now I can compile my HdroidGUI again.
:)
No comments:
Post a Comment