question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

android.jar for api30 from Google Drive does not work anymore

See original GitHub issue

I believe the jar is broken, was working previously, but new jar added recently produces the following error at assemble:

> 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: /opt/android-sdk-linux_private/platforms/android-30/android.jar.
         > java.lang.NullPointerException (no error message)

Replacing by previous jar fixes the issue, size is different: good jar is about 28M, wrong one is 47M

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:11

github_iconTop GitHub Comments

5reactions
Reginercommented, Sep 13, 2021
1reaction
Reginercommented, Nov 9, 2021

Ah that makes sense. Is there any way to include services.jar?

services.jar

compileOnly services.jar

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate from the Google Drive Android API
Since the Drive Android API is deprecated, and all API calls are non-operational, make sure your app is no longer calling the API....
Read more >
Known issues with Android Studio and Android Gradle Plugin
To fix the issue for the current project, click Run > Edit Configurations and change the default JUnit configuration to only include the...
Read more >
SDK Manager complains about "No space left on device ...
The workaround to set java.io.tmpdir does no longer work with the current version of android studio/sdk manager (using 2.2.2 atm). sdk manager will...
Read more >
How to delete a file on google drive using ... - Stack Overflow
But I encountered a problem that is I cannot delete a file using Google Drive Android API, there isn't an example of it....
Read more >
How to Install Android Studio IDE & SDK and Get Started with ...
Uninstall older version(s) of "Android Studio" and "Android SDK", if any. The installation and many operations take a LONG time to complete. Do...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found