Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Issues Android Build

Discussion in 'Editor & General Support' started by t0xic0m, Sep 4, 2016.

  1. t0xic0m

    t0xic0m

    Joined:
    Jun 28, 2014
    Posts:
    12
    Hello,
    i have problems with Build my Android Game.
    I Installed all new Versions from Android SDK, Java and Unity 5.4.0f3

    Failed to compile resources with the following parameters:
    -bootclasspath "C:/Users/t0xic0m/AppData/Local/Android/sdk\platforms\android-24\android.jar" -d "C:\Users\t0xic0m\Desktop\QuickGolf\QuickGolf\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding UTF-8 "com\t0xic0mGames\QuickGolf\R.java" "com\unity3d\ads\android\R.java"
    warning: C:\Users\t0xic0m\AppData\Local\Android\sdk\platforms\android-24\android.jar(java/lang/Object.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    It is recommended that the compiler be upgraded.
    warning: C:\Users\t0xic0m\AppData\Local\Android\sdk\platforms\android-24\android.jar(java/lang/AutoCloseable.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    It is recommended that the compiler be upgraded.
    2 warnings
     
    Last edited: Sep 4, 2016
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    You should install JDK 8 and set Unity to use that (under Preferences).