Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android unable to Compile #3602

Open
speego76 opened this issue Dec 12, 2024 · 8 comments
Open

Android unable to Compile #3602

speego76 opened this issue Dec 12, 2024 · 8 comments

Comments

@speego76
Copy link

Hello,

I did search the latest posts related to JAVA and Android Studio, did follow some instructions that worked for some others without luck.

Latest Animate
AIR 51.1.1.5
JAVA 17.0.11
Latest Android Studio, with Build Tools 34.0.0 Stable, can run simulator and also install sample app in the Android Phone
JAVA_HOME=C:\Program Files\Android\Android Studio\jbr

Thanks for the assistance!

Below adt.log:

Adding gradle dependency: implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
Adding gradle dependency: implementation 'androidx.constraintlayout:constraintlayout-core:1.0.4'
Adding gradle dependency: implementation 'androidx.constraintlayout:constraintlayout-solver:2.0.4'
Adding gradle dependency: implementation 'com.github.bumptech.glide:glide:4.12.0'
Adding gradle dependency: implementation 'com.google.guava:failureaccess:1.0.1'
Adding gradle dependency: implementation 'com.google.guava:guava:31.0.1-android'
Adding gradle dependency: implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-guava:1.6.4'
Adding gradle dependency: implementation 'org.codehaus.mojo:animal-sniffer-annotations:1.23'
Adding gradle dependency: implementation 'org.checkerframework:checker-compat-qual:2.5.5'
Adding gradle dependency: implementation 'org.checkerframework:checker-qual:3.33.0'
Adding gradle dependency: implementation "androidx.cardview:cardview:1.0.0"
Adding gradle dependency: implementation 'com.google.code.gson:gson:2.8.9'
Adding gradle dependency: implementation 'androidx.appcompat:appcompat:1.6.1'
Adding gradle dependency: implementation 'org.jetbrains:annotations:13.0'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-stdlib-common:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-reflect:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.7.3'
Adding gradle dependency: implementation 'com.google.dagger:dagger:2.41'
Adding gradle dependency: implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
Adding gradle dependency: implementation 'io.reactivex.rxjava2:rxjava:2.1.14'
Adding gradle dependency: implementation "androidx.emoji2:emoji2:1.3.0"
Adding gradle dependency: implementation "androidx.emoji2:emoji2-views:1.3.0"
Adding gradle dependency: implementation "androidx.emoji2:emoji2-views-helper:1.3.0"
Adding gradle dependency: implementation "com.google.protobuf:protobuf-javalite:3.21.12"
Adding gradle dependency: implementation "com.google.protobuf:protobuf-kotlin-lite:3.21.12"
Adding gradle dependency: implementation 'com.google.android.datatransport:transport-api:3.0.0'
Adding gradle dependency: implementation 'com.google.android.datatransport:transport-backend-cct:3.1.9'
Adding gradle dependency: implementation 'com.google.android.datatransport:transport-runtime:3.1.9'
Adding gradle dependency: implementation 'androidx.exifinterface:exifinterface:1.3.6'
Adding gradle dependency: implementation 'androidx.core:core:1.13.1'
Adding gradle dependency: implementation 'androidx.core:core-ktx:1.13.1'
Adding gradle dependency: implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
Adding gradle dependency: implementation 'androidx.customview:customview:1.1.0'
Adding gradle dependency: implementation 'androidx.customview:customview-poolingcontainer:1.0.0'
Adding gradle dependency: implementation 'androidx.drawerlayout:drawerlayout:1.2.0'
Adding gradle dependency: implementation 'androidx.dynamicanimation:dynamicanimation:1.0.0'
Adding gradle dependency: implementation 'androidx.legacy:legacy-support-v4:1.0.0'
Adding gradle dependency: implementation 'androidx.legacy:legacy-support-core-utils:1.0.0'
Adding gradle dependency: implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
Adding gradle dependency: implementation 'androidx.activity:activity:1.7.2'
Adding gradle dependency: implementation 'androidx.media:media:1.6.0'
Adding gradle dependency: implementation 'androidx.fragment:fragment:1.5.6'
Adding gradle dependency: implementation 'androidx.annotation:annotation:1.6.0'
Adding gradle dependency: implementation 'androidx.arch.core:core-common:2.2.0'
Adding gradle dependency: implementation 'androidx.arch.core:core-runtime:2.2.0'
Adding gradle dependency: implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-common:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-livedata:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-livedata-core:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-runtime:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-process:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-service:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-viewmodel:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:2.6.2"
Adding gradle dependency: implementation 'androidx.startup:startup-runtime:1.1.1'
Adding gradle dependency: implementation 'androidx.tracing:tracing:1.2.0'
Adding gradle dependency: implementation 'androidx.viewpager2:viewpager2:1.0.0'
Adding gradle dependency: implementation 'androidx.viewpager:viewpager:1.0.0'
Adding gradle dependency: implementation 'androidx.browser:browser:1.5.0'
Adding gradle dependency: implementation 'io.grpc:grpc-android:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-api:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-context:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-core:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-okhttp:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-protobuf-lite:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-stub:1.52.1'
Adding gradle dependency: implementation 'io.perfmark:perfmark-api:0.23.0'
Adding gradle dependency: implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
Adding gradle dependency: implementation 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
Adding gradle dependency: implementation platform('com.google.firebase:firebase-bom:33.0.0')
Adding gradle dependency: implementation "com.google.firebase:firebase-analytics"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation "com.google.firebase:firebase-installations"
Warning: could not parse gradle dependency, adding anyway
Version in APK = 51.1.1.5, version of ADT = 51.1.1.5
Gradle build where ADT is using JRE version 17.0.11
but where Gradle will be using the JDK from C:/Program Files/Android/Android Studio/jbr\bin\java.exe
Gradle build command:  C:/Program Files/Android/Android Studio/jbr\bin\java.exe -Xmx1024m -Dorg.gradle.appname=gradlew -Dorg.gradle.jvmargs=-Xmx1024m -Duser.dir="C:\Users\User\AppData\Local\Temp\324f4fe5-16bb-4270-b6f4-c678bbc2e55c" -DAIR_GRADLE_KEYPWD=xxxxxx -DAIR_GRADLE_STOREPWD=xxxxxx -cp "C:\Users\User\AppData\Local\Temp\324f4fe5-16bb-4270-b6f4-c678bbc2e55c\gradle\wrapper\gradle-wrapper.jar";"C:\Program Files\Adobe\Adobe Animate 2024\51115\lib\android\bin\gradle-cli.jar" org.gradle.wrapper.GradleWrapperMain :app:assembleRelease
..java.base/java.lang.Thread.getStackTrace(Thread.java:1621)
..com.adobe.air.DebugFile.printStack(DebugFile.java)
..com.adobe.air.ADTException.<init>(ADTException.java)
..com.adobe.air.apk.AABOutputStream.buildGradle(AABOutputStream.java)
..com.adobe.air.apk.AABPackager.renameOutput(AABPackager.java)
..com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java)
..com.adobe.air.apk.AABPackager.createPackage(AABPackager.java)
..com.adobe.air.ADT.parseArgsAndGo(ADT.java)
..com.adobe.air.ADT.run(ADT.java)
..com.adobe.air.ADT.main(ADT.java)
Stack trace:
Unexpected failure: Unable to run java: com.adobe.air.ADTException: gradle tool failed: Warning: SDK processing. This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkReleaseDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
   > Duplicate class android.annotation.SuppressLint found in modules jetified-annotations-4.1.1.4 (annotations-4.1.1.4.jar) and jetified-annotations-4.1.1.4 (com.google.android:annotations:4.1.1.4)
     Duplicate class android.annotation.TargetApi found in modules jetified-annotations-4.1.1.4 (annotations-4.1.1.4.jar) and jetified-annotations-4.1.1.4 (com.google.android:annotations:4.1.1.4)
     Duplicate class com.google.android.gms.actions.ItemListIntents found in modules jetified-play-services-basement-18.3.0 (play-services-basement-18.3.0.jar) and jetified-play-services-basement-18.3.0-runtime (com.google.android.gms:play-services-basement:18.3.0)
     Duplicate class com.google.android.gms.actions.NoteIntents found in modules jetified-play-services-basement-18.3.0 (play-services-basement-18.3.0.jar) and jetified-play-services-basement-18.3.0-runtime (com.google.android.gms:play-services-basement:18.3.0)     
	 ......
     Duplicate class com.google.firebase.tracing.FirebaseTrace found in modules jetified-firebase-common-21.0 (firebase-common-21.0.0.jar) and jetified-firebase-common-21.0.0-runtime (com.google.firebase:firebase-common:21.0.0)
     Duplicate class com.google.firebase.util.RandomUtilKt found in modules jetified-firebase-common-21.0 (firebase-common-21.0.0.jar) and jetified-firebase-common-21.0.0-runtime (com.google.firebase:firebase-common:21.0.0)
     
     Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 17s
@speego76 speego76 added the Bug label Dec 12, 2024
@marchbold
Copy link
Collaborator

What extensions are you using in your project? I'm guessing you may have a few conflicting there with the duplicate definition errors. We are in the midst of a major migration so if you have some old and some new extensions it could cause an issue like this.

Are you using apm? It should have warned you about conflicts if you are.

@marchbold marchbold removed the Bug label Dec 12, 2024
@speego76
Copy link
Author

HI @marchbold ,

I have downloaded all the ANEs again, now the error changed:

My extensions and the new error below.

Thanks you!

  <extensions>
    <extensionID>com.distriqt.NFC</extensionID>
    <extensionID>com.distriqt.Scanner</extensionID>
    <extensionID>com.distriqt.Location</extensionID>
    <extensionID>com.distriqt.NetworkInfo</extensionID>
    <extensionID>androidx.browser</extensionID>
    <extensionID>androidx.cardview</extensionID>
    <extensionID>androidx.core</extensionID>
    <extensionID>androidx.appcompat</extensionID>
    <extensionID>androidx.vectordrawable</extensionID>
    <extensionID>androidx.constraintlayout</extensionID>
    <extensionID>com.google.android.datatransport</extensionID>
    <extensionID>com.google.dagger</extensionID>
    <extensionID>com.google.protobuflite</extensionID>
    <extensionID>com.distriqt.Dialog</extensionID>
    <extensionID>com.distriqt.Image</extensionID>
    <extensionID>com.distriqt.playservices.Location</extensionID>
    <extensionID>com.google.android.play</extensionID>
    <extensionID>com.distriqt.playservices.Base</extensionID>
    <extensionID>androidx.emoji2</extensionID>
    <extensionID>com.distriqt.MediaPlayer</extensionID>
    <extensionID>com.distriqt.CameraUI</extensionID>
    <extensionID>com.distriqt.Share</extensionID>
    <extensionID>com.google.guava</extensionID>
    <extensionID>com.distriqt.Core</extensionID>
    <extensionID>com.jetbrains.kotlin</extensionID>
    <extensionID>com.distriqt.NativeWebView</extensionID>
    <extensionID>CUSTOM_DISTRIQT_ANE</extensionID>
    <extensionID>CUSTOM_DISTRIQT_ANE</extensionID>
    <extensionID>com.distriqt.Firebase</extensionID>
    <extensionID>com.bumptech.glide</extensionID>
    <extensionID>com.distriqt.PushNotifications</extensionID>
    <extensionID>com.google.firebase.core</extensionID>
    <extensionID>com.distriqt.playservices.CloudMessaging</extensionID>
    <extensionID>com.distriqt.playservices.AdsIdentifier</extensionID>
    <extensionID>androidx.exifinterface</extensionID>
    <extensionID>io.reactivex</extensionID>
    <extensionID>io.grpc</extensionID>
    <extensionID>com.google.code.gson</extensionID>
    <extensionID>com.google.firebase.messaging</extensionID>
  </extensions>

The error:

*** ADT Logging at 2024/12/12 09:13:30 ***
Called by: C:\Program Files\Adobe\Adobe Animate 2024\51115\lib\adt.jar
ADT 51.1.1.5 called with: -package -target apk-captive-runtime -arch armv8 -storetype PKCS12 -keystore C:/Users/TheUser/MyApp/cert/User/MyApp2023Android.p12 -storepass xxxxxx C:/Users/TheUser/MyApp/MyApp.apk C:/Users/TheUser/MyApp/MyAppAndroidSubmited-app.xml -C C:/Users/TheUser/MyApp/ MyAppAndroidSubmited.swf 192.png Icon-144.png 96.png 72.png 36.png 48.png -C C:/Users/TheUser/MyApp/ Assets.car -C C:/Users/TheUser/MyApp/ Default-812h@3x~iphone.png -C C:/Users/TheUser/MyApp/ Default@2x~iphone.png -C C:/Users/TheUser/MyApp/ Default~iphone.png -C C:/Users/TheUser/MyApp/ Default-375w-667h@2x~iphone.png -C C:/Users/TheUser/MyApp/ Default-414w-736h@3x~iphone.png -C C:/Users/TheUser/MyApp/ Default-414w-896h@3x~iphone.png -C C:/Users/TheUser/MyApp/ Default-568h@2x~iphone.png -C C:/Users/TheUser/MyApp/ Default-896h@2x~iphone.png -C C:/Users/TheUser/MyApp/ [email protected] -C C:/Users/TheUser/MyApp/ [email protected] -C C:/Users/TheUser/MyApp/ [email protected] -C C:/Users/TheUser/MyApp/ soundy.m4a -extdir C:/Users/TheUser/AppData/Local/Temp/MyAppAndroidSubmited_ANE_Cache/
Target requested was apk-captive-runtime, but not using legacy APK so building via Android Studio
Creating device SDK handler - location passed in = C:\Users\TheUser\AppData\Local\Android\Sdk
Adding gradle dependency: implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
Adding gradle dependency: implementation 'androidx.constraintlayout:constraintlayout-core:1.0.4'
Adding gradle dependency: implementation 'androidx.constraintlayout:constraintlayout-solver:2.0.4'
Adding gradle dependency: implementation platform('com.google.firebase:firebase-bom:33.0.0')
Adding gradle dependency: implementation 'com.google.firebase:firebase-messaging'
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation 'com.google.firebase:firebase-inappmessaging-display'
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation 'com.github.bumptech.glide:glide:4.12.0'
Adding gradle dependency: implementation platform('com.google.firebase:firebase-bom:33.0.0')
Adding gradle dependency: implementation "com.google.firebase:firebase-appcheck"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation "com.google.firebase:firebase-analytics"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation "com.google.firebase:firebase-installations"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation "com.google.firebase:firebase-encoders"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation 'com.google.firebase:firebase-messaging'
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation 'com.google.firebase:firebase-firestore'
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation "com.google.firebase:firebase-perf"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation 'com.google.firebase:firebase-iid:21.1.0'
Adding gradle dependency: implementation 'com.google.guava:failureaccess:1.0.1'
Adding gradle dependency: implementation 'com.google.guava:guava:31.0.1-android'
Adding gradle dependency: implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-guava:1.6.4'
Adding gradle dependency: implementation 'org.codehaus.mojo:animal-sniffer-annotations:1.23'
Adding gradle dependency: implementation 'org.checkerframework:checker-compat-qual:2.5.5'
Adding gradle dependency: implementation 'org.checkerframework:checker-qual:3.33.0'
Adding gradle dependency: implementation "androidx.cardview:cardview:1.0.0"
Adding gradle dependency: implementation 'com.google.code.gson:gson:2.8.9'
Adding gradle dependency: implementation 'androidx.appcompat:appcompat:1.6.1'
Adding gradle dependency: implementation 'org.jetbrains:annotations:13.0'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-stdlib-common:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-reflect:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.7.3'
Adding gradle dependency: implementation 'com.google.dagger:dagger:2.41'
Adding gradle dependency: implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
Adding gradle dependency: implementation 'io.reactivex.rxjava2:rxjava:2.1.14'
Adding gradle dependency: implementation "com.google.android.gms:play-services-location:21.0.1"
Adding gradle dependency: implementation "com.google.android.gms:play-services-places-placereport:17.0.0"
Adding gradle dependency: implementation "androidx.emoji2:emoji2:1.3.0"
Adding gradle dependency: implementation "androidx.emoji2:emoji2-views:1.3.0"
Adding gradle dependency: implementation "androidx.emoji2:emoji2-views-helper:1.3.0"
Adding gradle dependency: implementation "com.google.protobuf:protobuf-javalite:3.21.12"
Adding gradle dependency: implementation "com.google.protobuf:protobuf-kotlin-lite:3.21.12"
Adding gradle dependency: implementation 'com.google.android.play:app-update:2.1.0'
Adding gradle dependency: implementation 'com.google.android.play:app-update-ktx:2.1.0'
Adding gradle dependency: implementation 'com.google.android.play:asset-delivery:2.2.2'
Adding gradle dependency: implementation 'com.google.android.play:asset-delivery-ktx:2.2.2'
Adding gradle dependency: implementation 'com.google.android.play:feature-delivery:2.1.0'
Adding gradle dependency: implementation 'com.google.android.play:feature-delivery-ktx:2.1.0'
Adding gradle dependency: implementation 'com.google.android.play:review:2.0.2'
Adding gradle dependency: implementation 'com.google.android.play:review-ktx:2.0.2'
Adding gradle dependency: implementation 'com.google.android.play:core-common:2.0.4'
Adding gradle dependency: implementation "com.google.android.gms:play-services-cloud-messaging:17.3.0"
Adding gradle dependency: implementation 'com.google.android.datatransport:transport-api:3.0.0'
Adding gradle dependency: implementation 'com.google.android.datatransport:transport-backend-cct:3.1.9'
Adding gradle dependency: implementation 'com.google.android.datatransport:transport-runtime:3.1.9'
Adding gradle dependency: implementation 'androidx.exifinterface:exifinterface:1.3.6'
Adding gradle dependency: implementation 'androidx.core:core:1.13.1'
Adding gradle dependency: implementation 'androidx.core:core-ktx:1.13.1'
Adding gradle dependency: implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
Adding gradle dependency: implementation 'androidx.customview:customview:1.1.0'
Adding gradle dependency: implementation 'androidx.customview:customview-poolingcontainer:1.0.0'
Adding gradle dependency: implementation 'androidx.drawerlayout:drawerlayout:1.2.0'
Adding gradle dependency: implementation 'androidx.dynamicanimation:dynamicanimation:1.0.0'
Adding gradle dependency: implementation 'androidx.legacy:legacy-support-v4:1.0.0'
Adding gradle dependency: implementation 'androidx.legacy:legacy-support-core-utils:1.0.0'
Adding gradle dependency: implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
Adding gradle dependency: implementation 'androidx.activity:activity:1.7.2'
Adding gradle dependency: implementation 'androidx.media:media:1.6.0'
Adding gradle dependency: implementation 'androidx.fragment:fragment:1.5.6'
Adding gradle dependency: implementation 'androidx.annotation:annotation:1.6.0'
Adding gradle dependency: implementation 'androidx.arch.core:core-common:2.2.0'
Adding gradle dependency: implementation 'androidx.arch.core:core-runtime:2.2.0'
Adding gradle dependency: implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-common:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-livedata:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-livedata-core:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-runtime:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-process:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-service:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-viewmodel:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:2.6.2"
Adding gradle dependency: implementation 'androidx.startup:startup-runtime:1.1.1'
Adding gradle dependency: implementation 'androidx.tracing:tracing:1.2.0'
Adding gradle dependency: implementation 'androidx.viewpager2:viewpager2:1.0.0'
Adding gradle dependency: implementation 'androidx.viewpager:viewpager:1.0.0'
Adding gradle dependency: implementation 'androidx.browser:browser:1.5.0'
Adding gradle dependency: implementation 'io.grpc:grpc-android:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-api:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-context:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-core:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-okhttp:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-protobuf-lite:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-stub:1.52.1'
Adding gradle dependency: implementation 'io.perfmark:perfmark-api:0.23.0'
Adding gradle dependency: implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
Adding gradle dependency: implementation 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
Adding gradle dependency: implementation "com.google.android.gms:play-services-base:18.5.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-iid:17.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-tasks:18.2.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-flags:18.1.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-measurement:22.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-measurement-base:22.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-measurement-api:22.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-measurement-sdk:22.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-measurement-sdk-api:22.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-clearcut:17.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-phenotype:17.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-safetynet:18.1.0"
Adding gradle dependency: implementation "com.google.auto.value:auto-value-annotations:1.8.1"
Adding gradle dependency: implementation "com.google.android.gms:play-services-tagmanager-v4-impl:18.1.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-ads-identifier:18.1.0"
Adding gradle dependency: implementation platform('com.google.firebase:firebase-bom:33.0.0')
Adding gradle dependency: implementation "com.google.firebase:firebase-analytics"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation "com.google.firebase:firebase-installations"
Warning: could not parse gradle dependency, adding anyway
Version in APK = 51.1.1.5, version of ADT = 51.1.1.5
Gradle build where ADT is using JRE version 17.0.11
but where Gradle will be using the JDK from C:/Program Files/Android/Android Studio/jbr\bin\java.exe
Gradle build command:  C:/Program Files/Android/Android Studio/jbr\bin\java.exe -Xmx1024m -Dorg.gradle.appname=gradlew -Dorg.gradle.jvmargs=-Xmx1024m -Duser.dir="C:\Users\TheUser\AppData\Local\Temp\bfc8e2d7-e733-4efa-aee3-3dbfef6e7761" -DAIR_GRADLE_KEYPWD=xxxxxx -DAIR_GRADLE_STOREPWD=xxxxxx -cp "C:\Users\TheUser\AppData\Local\Temp\bfc8e2d7-e733-4efa-aee3-3dbfef6e7761\gradle\wrapper\gradle-wrapper.jar";"C:\Program Files\Adobe\Adobe Animate 2024\51115\lib\android\bin\gradle-cli.jar" org.gradle.wrapper.GradleWrapperMain :app:assembleRelease
..java.base/java.lang.Thread.getStackTrace(Thread.java:1621)
..com.adobe.air.DebugFile.printStack(DebugFile.java)
..com.adobe.air.ADTException.<init>(ADTException.java)
..com.adobe.air.apk.AABOutputStream.buildGradle(AABOutputStream.java)
..com.adobe.air.apk.AABPackager.renameOutput(AABPackager.java)
..com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java)
..com.adobe.air.apk.AABPackager.createPackage(AABPackager.java)
..com.adobe.air.ADT.parseArgsAndGo(ADT.java)
..com.adobe.air.ADT.run(ADT.java)
..com.adobe.air.ADT.main(ADT.java)
Stack trace:
Unexpected failure: Unable to run java: com.adobe.air.ADTException: gradle tool failed: 
FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file 'C:\Users\TheUser\AppData\Local\Temp\bfc8e2d7-e733-4efa-aee3-3dbfef6e7761\settings.gradle' (C:\Users\TheUser\.gradle\caches\8.0\scripts\6y4495gx9q39d4ellhz890jw1).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s

@ajwfrost
Copy link
Collaborator

> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65

That's a Java compatibility problem. Class file 65 means it needs Java runtime 21.

You're running Java from:
C:/Program Files/Android/Android Studio/jbr\bin\java.exe
So it's worth checking what version that is, and maybe updating Android Studio (or separately installing JDK v21 and pointing your AIR SDK configuration at it..?)

thanks

@speego76
Copy link
Author

Hello @ajwfrost,

I have deleted JAVA 17, installed JAVA 21, restarted the PC and point the adt.cfg to JAVA_HOME:

JAVA_HOME=C:\Program Files\Java\jdk-21

But the error remains.

Thanks!

*** ADT Logging at 2024/12/12 11:03:07 ***
Called by: C:\Program Files\Adobe\Adobe Animate 2024\51115\lib\adt.jar
ADT 51.1.1.5 called with: -package -target apk-captive-runtime -arch armv8 -storetype PKCS12 -keystore C:/Users/TheUser/MyApp/cert/MyApp/MyApp2023Android.p12 -storepass xxxxxx C:/Users/TheUser/MyApp/MyApp.apk C:/Users/TheUser/MyApp/MyAppAndroidSubmited-app.xml -C C:/Users/TheUser/MyApp/ MyAppAndroidSubmited.swf 192.png Icon-144.png 96.png 72.png 36.png 48.png -C C:/Users/TheUser/MyApp/ Assets.car -C C:/Users/TheUser/MyApp/ Default-812h@3x~iphone.png -C C:/Users/TheUser/MyApp/ Default@2x~iphone.png -C C:/Users/TheUser/MyApp/ Default~iphone.png -C C:/Users/TheUser/MyApp/ Default-375w-667h@2x~iphone.png -C C:/Users/TheUser/MyApp/ Default-414w-736h@3x~iphone.png -C C:/Users/TheUser/MyApp/ Default-414w-896h@3x~iphone.png -C C:/Users/TheUser/MyApp/ Default-568h@2x~iphone.png -C C:/Users/TheUser/MyApp/ Default-896h@2x~iphone.png -C C:/Users/TheUser/MyApp/ [email protected] -C C:/Users/TheUser/MyApp/ [email protected] -C C:/Users/TheUser/MyApp/ [email protected] -C C:/Users/TheUser/MyApp/ soundy.m4a -extdir C:/Users/TheUser/AppData/Local/Temp/MyAppAndroidSubmited_ANE_Cache/
Target requested was apk-captive-runtime, but not using legacy APK so building via Android Studio
Creating device SDK handler - location passed in = C:\Users\TheUser\AppData\Local\Android\Sdk
Adding gradle dependency: implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
Adding gradle dependency: implementation 'androidx.constraintlayout:constraintlayout-core:1.0.4'
Adding gradle dependency: implementation 'androidx.constraintlayout:constraintlayout-solver:2.0.4'
Adding gradle dependency: implementation platform('com.google.firebase:firebase-bom:33.0.0')
Adding gradle dependency: implementation 'com.google.firebase:firebase-messaging'
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation 'com.google.firebase:firebase-inappmessaging-display'
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation 'com.github.bumptech.glide:glide:4.12.0'
Adding gradle dependency: implementation platform('com.google.firebase:firebase-bom:33.0.0')
Adding gradle dependency: implementation "com.google.firebase:firebase-appcheck"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation "com.google.firebase:firebase-analytics"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation "com.google.firebase:firebase-installations"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation "com.google.firebase:firebase-encoders"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation 'com.google.firebase:firebase-messaging'
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation 'com.google.firebase:firebase-firestore'
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation "com.google.firebase:firebase-perf"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation 'com.google.firebase:firebase-iid:21.1.0'
Adding gradle dependency: implementation 'com.google.guava:failureaccess:1.0.1'
Adding gradle dependency: implementation 'com.google.guava:guava:31.0.1-android'
Adding gradle dependency: implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-guava:1.6.4'
Adding gradle dependency: implementation 'org.codehaus.mojo:animal-sniffer-annotations:1.23'
Adding gradle dependency: implementation 'org.checkerframework:checker-compat-qual:2.5.5'
Adding gradle dependency: implementation 'org.checkerframework:checker-qual:3.33.0'
Adding gradle dependency: implementation "androidx.cardview:cardview:1.0.0"
Adding gradle dependency: implementation 'com.google.code.gson:gson:2.8.9'
Adding gradle dependency: implementation 'androidx.appcompat:appcompat:1.6.1'
Adding gradle dependency: implementation 'org.jetbrains:annotations:13.0'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-stdlib-common:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-reflect:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3'
Adding gradle dependency: implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.7.3'
Adding gradle dependency: implementation 'com.google.dagger:dagger:2.41'
Adding gradle dependency: implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
Adding gradle dependency: implementation 'io.reactivex.rxjava2:rxjava:2.1.14'
Adding gradle dependency: implementation "com.google.android.gms:play-services-location:21.0.1"
Adding gradle dependency: implementation "com.google.android.gms:play-services-places-placereport:17.0.0"
Adding gradle dependency: implementation "androidx.emoji2:emoji2:1.3.0"
Adding gradle dependency: implementation "androidx.emoji2:emoji2-views:1.3.0"
Adding gradle dependency: implementation "androidx.emoji2:emoji2-views-helper:1.3.0"
Adding gradle dependency: implementation "com.google.protobuf:protobuf-javalite:3.21.12"
Adding gradle dependency: implementation "com.google.protobuf:protobuf-kotlin-lite:3.21.12"
Adding gradle dependency: implementation 'com.google.android.play:app-update:2.1.0'
Adding gradle dependency: implementation 'com.google.android.play:app-update-ktx:2.1.0'
Adding gradle dependency: implementation 'com.google.android.play:asset-delivery:2.2.2'
Adding gradle dependency: implementation 'com.google.android.play:asset-delivery-ktx:2.2.2'
Adding gradle dependency: implementation 'com.google.android.play:feature-delivery:2.1.0'
Adding gradle dependency: implementation 'com.google.android.play:feature-delivery-ktx:2.1.0'
Adding gradle dependency: implementation 'com.google.android.play:review:2.0.2'
Adding gradle dependency: implementation 'com.google.android.play:review-ktx:2.0.2'
Adding gradle dependency: implementation 'com.google.android.play:core-common:2.0.4'
Adding gradle dependency: implementation "com.google.android.gms:play-services-cloud-messaging:17.3.0"
Adding gradle dependency: implementation 'com.google.android.datatransport:transport-api:3.0.0'
Adding gradle dependency: implementation 'com.google.android.datatransport:transport-backend-cct:3.1.9'
Adding gradle dependency: implementation 'com.google.android.datatransport:transport-runtime:3.1.9'
Adding gradle dependency: implementation 'androidx.exifinterface:exifinterface:1.3.6'
Adding gradle dependency: implementation 'androidx.core:core:1.13.1'
Adding gradle dependency: implementation 'androidx.core:core-ktx:1.13.1'
Adding gradle dependency: implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
Adding gradle dependency: implementation 'androidx.customview:customview:1.1.0'
Adding gradle dependency: implementation 'androidx.customview:customview-poolingcontainer:1.0.0'
Adding gradle dependency: implementation 'androidx.drawerlayout:drawerlayout:1.2.0'
Adding gradle dependency: implementation 'androidx.dynamicanimation:dynamicanimation:1.0.0'
Adding gradle dependency: implementation 'androidx.legacy:legacy-support-v4:1.0.0'
Adding gradle dependency: implementation 'androidx.legacy:legacy-support-core-utils:1.0.0'
Adding gradle dependency: implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
Adding gradle dependency: implementation 'androidx.activity:activity:1.7.2'
Adding gradle dependency: implementation 'androidx.media:media:1.6.0'
Adding gradle dependency: implementation 'androidx.fragment:fragment:1.5.6'
Adding gradle dependency: implementation 'androidx.annotation:annotation:1.6.0'
Adding gradle dependency: implementation 'androidx.arch.core:core-common:2.2.0'
Adding gradle dependency: implementation 'androidx.arch.core:core-runtime:2.2.0'
Adding gradle dependency: implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-common:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-livedata:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-livedata-core:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-runtime:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-process:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-service:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-viewmodel:2.6.2"
Adding gradle dependency: implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:2.6.2"
Adding gradle dependency: implementation 'androidx.startup:startup-runtime:1.1.1'
Adding gradle dependency: implementation 'androidx.tracing:tracing:1.2.0'
Adding gradle dependency: implementation 'androidx.viewpager2:viewpager2:1.0.0'
Adding gradle dependency: implementation 'androidx.viewpager:viewpager:1.0.0'
Adding gradle dependency: implementation 'androidx.browser:browser:1.5.0'
Adding gradle dependency: implementation 'io.grpc:grpc-android:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-api:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-context:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-core:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-okhttp:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-protobuf-lite:1.52.1'
Adding gradle dependency: implementation 'io.grpc:grpc-stub:1.52.1'
Adding gradle dependency: implementation 'io.perfmark:perfmark-api:0.23.0'
Adding gradle dependency: implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
Adding gradle dependency: implementation 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
Adding gradle dependency: implementation "com.google.android.gms:play-services-base:18.5.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-iid:17.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-tasks:18.2.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-flags:18.1.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-measurement:22.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-measurement-base:22.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-measurement-api:22.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-measurement-sdk:22.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-measurement-sdk-api:22.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-clearcut:17.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-phenotype:17.0.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-safetynet:18.1.0"
Adding gradle dependency: implementation "com.google.auto.value:auto-value-annotations:1.8.1"
Adding gradle dependency: implementation "com.google.android.gms:play-services-tagmanager-v4-impl:18.1.0"
Adding gradle dependency: implementation "com.google.android.gms:play-services-ads-identifier:18.1.0"
Adding gradle dependency: implementation platform('com.google.firebase:firebase-bom:33.0.0')
Adding gradle dependency: implementation "com.google.firebase:firebase-analytics"
Warning: could not parse gradle dependency, adding anyway
Adding gradle dependency: implementation "com.google.firebase:firebase-installations"
Warning: could not parse gradle dependency, adding anyway
Version in APK = 51.1.1.5, version of ADT = 51.1.1.5
Gradle build where ADT is using JRE version 17.0.11
but where Gradle will be using the JDK from C:/Program Files/Java/jdk-21\bin\java.exe
Gradle build command:  C:/Program Files/Java/jdk-21\bin\java.exe -Xmx1024m -Dorg.gradle.appname=gradlew -Dorg.gradle.jvmargs=-Xmx1024m -Duser.dir="C:\Users\TheUser\AppData\Local\Temp\aefc9595-6982-49e0-b89f-b1f95dac1028" -DAIR_GRADLE_KEYPWD=xxxxxx -DAIR_GRADLE_STOREPWD=xxxxxx -cp "C:\Users\TheUser\AppData\Local\Temp\aefc9595-6982-49e0-b89f-b1f95dac1028\gradle\wrapper\gradle-wrapper.jar";"C:\Program Files\Adobe\Adobe Animate 2024\51115\lib\android\bin\gradle-cli.jar" org.gradle.wrapper.GradleWrapperMain :app:assembleRelease
..java.base/java.lang.Thread.getStackTrace(Thread.java:1621)
..com.adobe.air.DebugFile.printStack(DebugFile.java)
..com.adobe.air.ADTException.<init>(ADTException.java)
..com.adobe.air.apk.AABOutputStream.buildGradle(AABOutputStream.java)
..com.adobe.air.apk.AABPackager.renameOutput(AABPackager.java)
..com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java)
..com.adobe.air.apk.AABPackager.createPackage(AABPackager.java)
..com.adobe.air.ADT.parseArgsAndGo(ADT.java)
..com.adobe.air.ADT.run(ADT.java)
..com.adobe.air.ADT.main(ADT.java)
Stack trace:
Unexpected failure: Unable to run java: com.adobe.air.ADTException: gradle tool failed: 
FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file 'C:\Users\TheUser\AppData\Local\Temp\aefc9595-6982-49e0-b89f-b1f95dac1028\settings.gradle' (C:\Users\TheUser\.gradle\caches\8.0\scripts\6y4495gx9q39d4ellhz890jw1).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s

@marchbold
Copy link
Collaborator

You should be able to use 17 with all our extensions currently. My guess is there's a conflict between our extensions we have started a massive update of all our extensions to use gradle dependencies instead of direct packaging. We are still rolling out this update so you may have inadvertently updated to incompatible extensions.

I'll make the ones in your list our priority and get you updated versions asap.

In the meantime you could use apm to get a stable combination as this will report the conflicts for you.

@speego76
Copy link
Author

Hi @marchbold , understood, will go back to 17, and we will wait for more updates, thanks!

@ajwfrost
Copy link
Collaborator

I'm just looking at this part though:

exception in phase 'semantic analysis' .. Unsupported class file major version 65

We're not writing out the details of the build tools that are being used but I do wonder if it's picking up a version that's a bit too new! So I would say that Gradle is trying to run a tool that's been built using JDK 21 (and hasn't been set to a lower compatibility level).

Or actually, having Googled that error, it could be trying to examine a dependency that was built using JDK 21.

I'm wondering if we should have a way to enable more details so that Gradle actually gives us some useful output! If you set the "KeepAndroidStudioOutput" configuration setting, you could try opening the project in Android Studio and building from there, and then hopefully it would have the option to build with --info (or you could build from the command line using the script from adt.log)?

thanks

@marchbold
Copy link
Collaborator

@speego76 Majority of the updates are completed now. Let me know if you are still having any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants