Skip to content

Remove jetifier usage from android templates #173430

@reidbaker

Description

@reidbaker

In flutter/packages#9736 we found that jetifier required usage needs to be removed for apps to build. Flutter has not used the support libraries for a while and it should be safe to remove.

https://issuetracker.google.com/issues/184622491

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':alternate_language_test_plugin:compileDebugUnitTestJavaWithJavac'.
> Could not resolve all files for configuration ':alternate_language_test_plugin:debugUnitTestCompileClasspath'.
   > Failed to transform byte-buddy-1.17.5.jar (net.bytebuddy:byte-buddy:1.17.5) to match attributes {artifactType=android-classes-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
      > Execution failed for JetifyTransform: /b/s/w/ir/cache/gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy/1.17.5/88450f120903b7e72470462cdbd2b75a3842223c/byte-buddy-1.17.5.jar.
         > Jetifier failed to transform: /b/s/w/ir/cache/gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy/1.17.5/88450f120903b7e72470462cdbd2b75a3842223c/byte-buddy-1.17.5.jar
           The error was: java.lang.IllegalArgumentException - Unsupported class file major version 68
           To fix this issue, see https://issuetracker.google.com/issues/184622491

Metadata

Metadata

Assignees

Labels

platform-androidAndroid applications specificallyteam-androidOwned by Android platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions