I am trying to run a project in Android Studio on Ubuntu but it fails with the following error in gradle.
Error: Execution failed for task ':app:packageDebug'.
> org/bouncycastle/util/Store
I have been using Android Studio in Windows but never came across this error.
I tried doing this but it didn't work.
Please guide me how to solve this problem.
Not sure if this totally applies, since you're running Ubuntu, but the same error on OSX was solved for me by changing the JRE that Android Studio was running under (following guidance from here: https://intellij-support.jetbrains.com/entries/23455956-Selecting-the-JDK-version-the-IDE-will-run-under)
I set the JRE version that Android Studio runs under to 1.7.* by changing this in the Info.plist file on OSX:
<key>JVMVersion</key>
<string>1.7*</string>
The version was confirmed in the "About" dialog. It changed from 1.6 to 1.7, and the BouncyCastle problem went away.
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