I'm having difficulty uploading my upgraded project to Google Play.
I need to produce a signed version of the app, but if I try App bundle it complains I have an obsolete Gradle plugin, that I can't upgrade. I have a bleeding edge gradle version in my gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
So I try to create a signed apk and give it a keystore, but when it tries to output the app it throws this complaint:
Cannot determine path to 'tools.jar' library for Android API 30 Platform (C:/Users/Sam/AppData/Local/Android/Sdk)
advanced system variables
, that didn't work.tools.jar
from my java directory to C:/Users/Sam/AppData/Local/Android/Sdk, that didn't work.I'm knashing my teeth.
After mucking around I think I have found the solution. I did not have JDK 1.8 on my machine but jdk 1.16. But that is no good because we need JDK1.16 does not include tools.jar. So:
That's is what fixed it for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With