Skip to content
Advertisement

Android Studio 3.0.1 gradle build pkix pathbuilding failed

I have created a new project in android studio 3.0.1 setup the proxy settings of company and added the self sighned certificate unser server sertificates. When I try to build the following error is listed and the build fails.

Error:

JavaScript

Could somebody help me?

Advertisement

Answer

Solved this by adding the self signed certificate of my company to the cacerts file of Android Studio. The cacerts file is located here: C:Program FilesAndroidAndroid Studiojrejrelibsecuritycacerts

I have also added the proxy details for http/https to gradle.properties.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement