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

gradle fails with custom android.jar #90

Open
AlexandrKozlovskiy opened this issue Oct 25, 2022 · 2 comments
Open

gradle fails with custom android.jar #90

AlexandrKozlovskiy opened this issue Oct 25, 2022 · 2 comments

Comments

@AlexandrKozlovskiy
Copy link

Hello. I tryed to build android.jar using your guide. I pull framework.jar and build android.jar,but in gradle i get an error:

FAILURE: Build failed with an exception.

* What went wrong:
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: C:\Users\ksash\AppData\Local\Android\Sdk\platforms\android-26\android.jar.

Please help me fix this issue and update build guide,if it needed.

@baotao14
Copy link

baotao14 commented Mar 8, 2023

android-30 is alse failed

@ishaan-bst
Copy link

Getting same issue on android-33.

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