Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

Compiling (Animate23) results in Error - gradle tool field

Open idanasher opened this issue 1 year ago • 2 comments

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 avatar Feb 06 '24 09:02 idanasher

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

image

idanasher avatar Feb 06 '24 10:02 idanasher

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.

mumeka avatar Feb 06 '24 13:02 mumeka