Code Monkey home page Code Monkey logo

[java] NOTE: Multiple Android build-tools folders exist, choosing the latest version (34.0.0) for packaging [java] unexpected failure: Unable to run java: com.adobe.air.ADTException: gradle tool failed: ERROR:D8: com.android.tools.r8.internal.Fq: No VersionRequirement with the given id in the table about adobe-runtime-support HOT 1 OPEN

pengyangjin avatar pengyangjin commented on August 18, 2024
[java] NOTE: Multiple Android build-tools folders exist, choosing the latest version (34.0.0) for packaging [java] unexpected failure: Unable to run java: com.adobe.air.ADTException: gradle tool failed: ERROR:D8: com.android.tools.r8.internal.Fq: No VersionRequirement with the given id in the table

from adobe-runtime-support.

Comments (1)

ajwfrost avatar ajwfrost commented on August 18, 2024

Likely to be because you're using build tools v34 / compileSdk version 34, but with Android Gradle Plug-in version 7.x..

Can you try adding into your application descriptor, in the <android> section:

<gradleVersion>8.0</gradleVersion>
<androidGradlePluginVersion>8.1.1</androidGradlePluginVersion>

and then also in your adt.cfg file (or via AIR SDK Manager) set your JAVA_HOME value to point to a version 17 JDK (such as you should have within Android Studio's "jbr" folder)?

FYI, AIR SDK 51.0.1.3 makes this change for you automatically..

As an alternative, you could remove the v34 Android platform files, and the v34.0.0 build tools version... but that's not ideal, for the future!

thanks

from adobe-runtime-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.