I'm trying to update and install the latest Android SDK (API 8) and keep getting the following error:
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I'm running on OS X 10.6.3 If I visit the url in a browser I'm not getting any errors about an untrusted cert.
edit: I'm running Revision 5 of the Android SDK and AVD manager (if that makes a difference) edit: Tried downloading the latest android sdk (revision 6) and running everything from the command line and still no dice. I can only assume there's something either in my java installation or in os x on my machine.
Try go to settings inside /tools/android and uncheck the "force https..."
Resolved this issue in windows xp, open your android SDK manager you will find Android sdk tools checkbox underneath Tools checkbox.Select and update your Android sdk tool then you will not get this error again and now you can download api 8 for android 2.2
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