Skip to content

Conversation

Rexios80
Copy link

Fixes:

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/rexios/.pub-cache/hosted/pub.dartlang.org/wear-1.1.0/android/build.gradle'

* What went wrong:
Could not compile build file '/Users/rexios/.pub-cache/hosted/pub.dartlang.org/wear-1.1.0/android/build.gradle'.
> startup failed:
  General error during conversion: Unsupported class file major version 63

  java.lang.IllegalArgumentException: Unsupported class file major version 63

  	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:199)
  	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:180)
  	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:166)
  	at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:287)
  	at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:81)
  	at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:251)

...

Also updated the example app

@Rexios80 Rexios80 changed the title Feature/fix android building Fix android building Oct 31, 2022
Copy link

@Mstrodl Mstrodl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great for me, hope this can get merged soon

@Rexios80 Rexios80 mentioned this pull request Jan 11, 2023
@reidbaker
Copy link

I cannot add reviewers but this looks like a good update to

  • The version of kotlin
  • Targeting compileSdkVersion 33 which will be required for all new apps soon
  • Migration to applicationId in build.gradle and away from packageId in AndroidManifest
  • Updates to AGP and Gradle to the minimum supported versions by the next version of AndroidStudio Flamingo due to be released soon.

@Rexios80
Copy link
Author

I released the wear_plus plugin which contains the necessary fixes

@Rexios80 Rexios80 closed this Mar 20, 2024
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

Successfully merging this pull request may close these issues.

3 participants