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 29 jar Gradle sync failed #76

Open
jonesjing opened this issue Sep 21, 2020 · 4 comments
Open

Android 29 jar Gradle sync failed #76

jonesjing opened this issue Sep 21, 2020 · 4 comments

Comments

@jonesjing
Copy link

jonesjing commented Sep 21, 2020

Gradle sync failed: Could not resolve all files for configuration ':app:androidApis'.
Failed to transform android.jar to match attributes {artifactType=android-mockable-jar, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime, returnDefaultValues=false}.
Execution failed for MockableJarTransform: /Users/jing/Library/Android/sdk/platforms/android-29/android.jar.
Cannot create mockable android.jar
error in opening zip file
Consult IDE log for more details (Help | Show Log) (1 m 26 s 566 ms)

@bobpf
Copy link

bobpf commented Jan 21, 2021

I get the same issue

@vindastar
Copy link

I get the same issue !

@vindastar
Copy link

I get the same issue

me too.

@LEORChn
Copy link

LEORChn commented Feb 7, 2025

I found the problem! you get this error because the actually jar file is inside the outer "jar" file. the outer one in fact is RAR5, you need to uncompress the inside one to use it.

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

4 participants