Hi,
I wanted to add the newest Facebook SDK to my Android game but when packaging I see following error:
It’s happened because of wrong JDK version (1.6 instead of 1.7). I’ve installed JDK 1.7 but this error still occurs.
Could you help me?
Hi,
I wanted to add the newest Facebook SDK to my Android game but when packaging I see following error:
It’s happened because of wrong JDK version (1.6 instead of 1.7). I’ve installed JDK 1.7 but this error still occurs.
Could you help me?
Hi did you find a reply to this, I would also like to know how to change this?
AndroidWorks in 4.9 installs JDK 1.7, but you can also change the line to ArrayList<String> permissionsList = new ArrayList<String>(); since <> is a shortcut to do this.
If you don’t want to make the changes and have JDK 1.7, you will also need to add an ant.properties file containing:
java.source=7
java.target=7
You can place this in Engine/Build/Android/Java for all projects or in your project’s Build/Android directory.
java.source=7
java.target=7
How my file add this code ?