Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

My file error

New Here ,
Mar 20, 2019 Mar 20, 2019

Hi All. my is latif.

I want to ask and give me a solution to my problem. I have created a file for the APK. Android on adobe animate cc 2018. When I want to publish it always says " the apk was packaged successfully but a warning occurred " and the says: NOTE : the application has been packaged with a captive runtime. 

Why did it happen. What is the solution to overcome this problem.

Thanks.Screenshot_2.png

2.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Mar 22, 2019 Mar 22, 2019

You can add the sdk version in the ManifestAdditions, like so:

<android>

    <manifestAdditions><![CDATA[

        <manifest android:installLocation="auto">

          

            <uses-sdk

                android:minSdkVersion="19"

               android:targetSdkVersion="26" />

            <!-- OTHER MANIFEST ADDITIONS -->

        </manifest>

    ]]></manifestAdditions>

</android>

Translate
Enthusiast ,
Mar 20, 2019 Mar 20, 2019

Hi, latif.

Luckily, this warning is not a problem. It's just a reminder from a time when you could choose not to package with a captive runtime. Now APK's always includes the AIR runtime along with your code when you export from Animate, so just ignore the warning.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 20, 2019 Mar 20, 2019

But why can't it be published to Google Play.

Can the APK file created in adobe animate cc publish to google play?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 21, 2019 Mar 21, 2019

Yes, APK's created in Animate can be published to Google play.

If you encounter any problems during a Google Play upload, it will not be an issue related to the captive runtime warning.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 21, 2019 Mar 21, 2019

Oh. When published to Google Play there is a warning about the target API version. What is the API target? I use the SDK version 32 on the animate that I use.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 21, 2019 Mar 21, 2019

Oh. When published to Google Play there is a warning about the target API version. What is the API target? I use the SDK version 32 on the animate that I use.

"The button starts launching into production"  there is no Screenshot_3.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 21, 2019 Mar 21, 2019

I would guess the warning is about the targetSdkVersion that you set in your manifest XML.

Google Play requires that you target API level 26 or higher.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 21, 2019 Mar 21, 2019

Where is the "Manifest XML" folder or location.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 21, 2019 Mar 21, 2019

Screenshot_4.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 22, 2019 Mar 22, 2019

Adobe Animate generates the manifest XML when you set up an AIR app for Android or iOS. It resides along with your swf file and is typically named [app name]-app.xml.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 22, 2019 Mar 22, 2019

I opened the file. But I can't find anything related to the API or SDK version.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 22, 2019 Mar 22, 2019

You can add the sdk version in the ManifestAdditions, like so:

<android>

    <manifestAdditions><![CDATA[

        <manifest android:installLocation="auto">

          

            <uses-sdk

                android:minSdkVersion="19"

               android:targetSdkVersion="26" />

            <!-- OTHER MANIFEST ADDITIONS -->

        </manifest>

    ]]></manifestAdditions>

</android>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 23, 2019 Mar 23, 2019
LATEST

I WILL TRY.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines