android-hidden-api
android-hidden-api copied to clipboard
android.jar for api30 from Google Drive does not work anymore
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
same issue here, any ideas?
I use the command './gradlew assembleDebug --info' to build my project and it turned out to be successful。。。
Please, please, how to fix this? In my application is Wi-Fi Hotspot on/off function and without compile sdk=30 is not possible to use TetheringManager.
@Reginer thank you very much. Build working ;-)
Working good. Tested in Galaxy S21, S10 with Android 11, Xiaomi Redmi Note 9 with Android 11, Pixel 3a with Android 12 beta 5, .... Also working in my app users.
This does work. It is significantly smaller in size though. Is it missing any hidden classes?
This does work. It is significantly smaller in size though. Is it missing any hidden classes?
Of cause not,It only include frameworks.jar,no services.jar
This does work. It is significantly smaller in size though. Is it missing any hidden classes?
Of cause not,It only include frameworks.jar,no services.jar
Ah that makes sense. Is there any way to include services.jar?
Ah that makes sense. Is there any way to include services.jar?
compileOnly services.jar