1

I'm trying out Android Studio on OS X and am running into a mysterious error message. I went through the Google guide to building a simple UI, but when I finished writing the XML file and hit Run in the IDE, I get the following message ("Test2" is the name of the project):

Gradle: Execution failed for task ':Test2:validateDebugSigning'.
> Could not find matching constructor for: org.gradle.tooling.BuildException(java.lang.String)

I have never developed an android app before, so I don't know how common this is. I did a search for this error and found no one encountering the same problem.

I tried the solution from Abhan and I get a new error message:

Error: org.jetbrains.plugins.gradle.settings.GradleSettings cannot be cast to org.jetbrains.plugins.gradle.settings.GradleSettings
Community
  • 1
  • 1
user2323030
  • 1,193
  • 4
  • 16
  • 37

1 Answers1

0

It warns you that android plug-in task validateDebugSigning cannot access the debug key. Check your accessibility to the debug.keystore.

On linux or OS X, the default location is ~/.android. On windows, it's in C:\Documents and Settings\.android\ or C:\Users\.android.