Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[Closed] Change JDK to 1.7 for Android packaging

Hi, I wanted to add the newest Facebook SDK to my Android game but when packaging I see following error:

 E:\Biblioteka\Dokumenty\Unreal Projects\gameDNAstudio\ChasingRobbers\Intermediate\Android\APK\JavaLibs\facebook\src\com\facebook\AccessToken.java:559: error: diamond operator is not supported in -source 1.5
 MainFrameActions: Packaging (Android (All)): UnrealBuildTool:     [javac]         ArrayList<String> permissionsList = new ArrayList<>();
 MainFrameActions: Packaging (Android (All)): UnrealBuildTool:     [javac]                                                           ^
 MainFrameActions: Packaging (Android (All)): UnrealBuildTool:     [javac]   (use -source 7 or higher to enable diamond operator)

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?

Product Version: UE 4.8
more ▼

asked Jul 03 '15 at 12:59 PM in Packaging & Deployment

avatar image

334 55 83 103

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The question has been closed Mar 24 '16 at 03:23 PM by Matthew J for the following reason:

Issue is now outdated. If you are still experiencing this issue, please make a new post for assistance. Thanks

0 answers: sort voted first

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question