Olkunmustafa
Olkunmustafa

Reputation: 3203

Mac os after 10.9.3 Android Studio is not working

I have a new Macbook pro. My computer update OSX 10.9.3 in yesterday. When I try run a new Android Project, I get this gradle error.

Error:Could not initialize class java.lang.UNIXProcess

enter image description here

When I sync project gradle some time get this error.

Error:Cause: posix_spawn is not a supported process launch mechanism on this platform.

Please help. Thanx.

Upvotes: 0

Views: 883

Answers (1)

Eray Hanoglu
Eray Hanoglu

Reputation: 51

  1. Right Click on Android Studio from your install location
  2. Click Show Contents
  3. Open Contents/bin/studio.vmoptions with any text editor
  4. Add -Duser.language=en to the end of the file.
  5. Save
  6. Run Android Stuio.

It will work well...

Upvotes: 4

Related Questions