flutter_secure_storage icon indicating copy to clipboard operation
flutter_secure_storage copied to clipboard

> Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.

Open regetskcob opened this issue 8 months ago • 1 comments

I added the package to my iOS/Android flutter app and since that I'm unabled to build against android with the following error.

* What went wrong:
Execution failed for task ':flutter_secure_storage:parseDebugLocalResources'.
> Could not resolve all files for configuration ':flutter_secure_storage:androidApis'.
   > Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for PlatformAttrTransform: /Users/bs000y6vu/Library/Android/sdk/platforms/android-28/android.jar.
         > /Users/bs000y6vu/Library/Android/sdk/platforms/android-28/android.jar

My Environment:

------------------------------------------------------------
Gradle 7.6.3
------------------------------------------------------------

Build time:   2023-10-04 15:59:47 UTC
Revision:     1694251d59e0d4752d547e1fd5b5020b798a7e71

Kotlin:       1.7.10
Groovy:       3.0.13
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          22.0.1 (Homebrew 22.0.1)
OS:           Mac OS X 14.5 aarch64

regetskcob avatar Jun 11 '24 06:06 regetskcob