building apk file with adobe animate #166999
Replies: 5 comments
|
Adobe Animate can’t find the AIR SDK platform directories at the path C:\Program Files\Adobe\Adobe Animate CC 2019\AIRSDK_51.2.1.7\platform-tools\platforms, which causes the build error. To fix this, make sure the AIR SDK is properly installed in that folder. If the folder’s missing or incomplete, download the correct AIR SDK version manually and place it in that location. Also, double-check your Animate publish settings to ensure it’s pointing to the right AIR SDK path. If you recently updated Animate or the AIR SDK, try resetting the SDK path in Animate’s preferences to fix any broken links. This should get the packaging tool (adt) working correctly again. |
|
It looks like you're running into a classic Adobe Animate + AIR SDK setup issue. That error message—“Could not locate platform directories…”—usually means the SDK can’t find critical platform tools for packaging your app. What You Can Try
Bonus TipIf you’re working with Android builds (based on the long usage section), you’ll definitely need Let us know how it goes—and feel free to post a screenshot of your SDK folder structure if you’re still stuck. There’s a good chance someone here has run into the same setup quirks. |
|
In Adobe Animate, go to File > Publish Settings, choose Android under Target, then set up your Android SDK and certificate in the settings. Once configured, click Publish and Animate will generate the APK file. Make sure Java JDK and Android SDK are properly installed and linked in Animate. |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Hey there! This usually just means Animate has lost track of your AIR SDK platform tools. First, check if C:\Program Files\Adobe\Adobe Animate CC 2019\AIRSDK_51.2.1.7\platform-tools\platforms actually exists on your hard drive. If it's missing, download a fresh copy of the AIR SDK from Harman and drop it in. If it is there, go to File > Publish Settings in Animate and make sure your Android SDK and Java JDK paths are correctly linked. Hope that helps! |
Uh oh!
There was an error while loading. Please reload this page.
Select Topic Area
Question
Body
Adobe Animate
Erreur lors de la création des fichiers.
Could not locate platform directories: C:\Program Files\Adobe\Adobe Animate CC 2019\AIRSDK_51.2.1.7\platform-tools\platforms
usage:
adt -checkstore SIGNING_OPTIONS
adt -certificate -cn ( -ou < org-unit> )? ( -o < org-name> )? ( -c )? ( -validityPeriod )? (2048-RSA | 4096-RSA) < pfx-file>
adt -license
adt -help
adt -migrate SIGNING_OPTIONS ( | >
adt -package SIGNING_OPTIONS ( -target air )? < output-package> ( FILE_OPTIONS | )
adt -package SIGNING_OPTIONS -target airn < output-package> ( FILE-AND-PATH-OPTIONS | < input-package> )
adt -package -target ( apk | apk-debug | apk-emulator | apk-captive-runtime ) ( CONNECT_OPTIONS? | LISTEN_OPTIONS? ) ( -airDownloadURL )? ( ARCH_OPTIONS )? SIGNING_OPTIONS < output-package> ( PLATFORM-SDK-OPTION? FILE-AND-PATH-OPTIONS | | PLATFORM-SDK-OPTION? )
adt -package -target ( aab | aab-debug ) ( CONNECT_OPTIONS? | LISTEN_OPTIONS? ) (SIGNING_OPTIONS?) < output-package> ( FILE-AND-PATH-OPTIONS | ) PLATFORM-SDK-OPTION
adt -package -target ( android-studio | android-studio-debug ) ( CONNECT_OPTIONS? | LISTEN_OPTIONS? ) < output-folder> ( FILE-AND-PATH-OPTIONS | ) PLATFORM-SDK-OPTION
adt -package -target ( ipa-test | ipa-debug | ipa-app-store | ipa-ad-hoc | ipa-test-interpreter | ipa-debug-interpreter | ipa-test-interpreter-simulator | ipa-debug-interpreter-simulator ) ( CONNECT_OPTIONS? | LISTEN_OPTIONS? ) ( -sampler )? ANE_LINK_OPTIONS? AOT_MODE_OPTIONS? EMBED_BITCODE_OPTIONS? SIGNING_OPTIONS < output-package> ( < app-desc> PLATFORM-SDK-OPTION? FILE-AND-PATH-OPTIONS | PLATFORM-SDK-OPTION? ]
adt -package SIGNING_OPTIONS? - target native SIGNING_OPTIONS? < output-package> ( FILE-AND-PATH-OPTIONS | )
adt -package SIGNING_OPTIONS? - migrate SIGNING_OPTIONS -targ
All reactions