airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
202 stars 11 forks source link

Compiling (Animate23) results in Error - gradle tool field #3059

Open idanasher opened 8 months ago

idanasher commented 8 months ago

on Windows10, using Animate 2023 with AIR 50.2.3.8 & AIR 50.2.4.3 for android with all latest ane's (Distriqt) and targetSdkVersion="33"

This is the compilation error I get:

image

idanasher commented 8 months ago

More Information This is the status on AndroidStudio. Which Versions do I have to install ?

image

mumeka commented 8 months ago

Hello,

You set targetSdkVersion to 33 in application's XML file (which is mandatory)

So Android API 33 must be installed (you can keep 30 it will not create an error)

In AIR SDK Compiler's folder AIR_SDK_COMPILER_50_2_4_3\lib\adt.cfg

Set AndroidPlatformSDK=C:\Users\ME\AppData\Local\Android\Sdk

Paths can be different, you must find and set correct path to the SDK.

Example adt.cfg:

JavaXmx=4096m
DebugOut=true
CreateAndroidAppBundle=true
AndroidPlatformSDK=C:\\Users\\ME\\AppData\\Local\\Android\\Sdk

Note: AIR 50.2.3.8 giving empty lib folder at AAB and APK. AIR 50.2.3.5 or AIR 50.2.4.3 must be used with ANIMATE.