Announcement

Collapse
No announcement yet.

Problem with packaging for android (java too high)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem with packaging for android (java too high)

    Here is the log:
    "F:\AndroidInstaller\android-sdk-windows\tools\ant\build.xml:871: Can't read [F:\AndroidInstaller\android-sdk-windows\platforms\android-29\android.jar] (Can't process class [android/Manifest.class] (Unsupported class version number [52.0] (maximum 51.0, Java 1.7)))
    UATHelper: Packaging (Android (ETC1)): Total time: 28 seconds
    UATHelper: Packaging (Android (ETC1)): ERROR: C:\WINDOWS\system32\cmd.exe failed with args /c "F:/AndroidInstaller/apache-ant-1.8.2/bin/ant.bat" release -Djava.source=1.7 -Djava.target=1.7
    UATHelper: Packaging (Android (ETC1)): (see C:\Users\Firmin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+Games+UE_4.22\Log.txt for full exception trace)
    UATHelper: Packaging (Android (ETC1)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
    UATHelper: Packaging (Android (ETC1)): BUILD FAILED
    PackagingResults: Error: Unknown Error"

    So i think the problem is than i have a higher version of java and i can't download a lower version a java (i think)

    Can someone help me?
Working...
X