Mac OS después de 10.9.3 Android Studio no funciona
Frecuentes
Visto 856 equipos
0
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
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.
1 Respuestas
4
- Right Click on Android Studio from your install location
- Click Show Contents
- Open Contents/bin/studio.vmoptions with any text editor
- Add -Duser.language=en to the end of the file.
- Guardar
- Run Android Stuio.
It will work well...
respondido 02 mar '15, 13:03
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas java android macos or haz tu propia pregunta.
What is the output of "/usr/libexec/java_home -V" in Terminal? - Steve C
@SteveC Matching Java Virtual Machines (3): -bash: syntax error near unexpected token `(' Olkun-MacBook-Pro:~ olkunmustafa$ 1.7.0_55, x86_64:"Java SE 7"/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home -bash: 1.7.0_55,: command not found Olkun-MacBook-Pro:~ olkunmustafa$ 1.6.0_65-b14-462, x86_64:"Java SE 6"/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home -bash: 1.6.0_65-b14-462,: command not found Olkun-MacBook-Pro:~ olkunmustafa$ 1.6.0_65-b14-462, i386:"Java SE 6"/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home -bash: 1.6.0_65-b14-462, - Olkunmustafa
Does your user account have admin privileges? - Steve C
I uninstall JDK_7 and my problem is solved. Thank you - Olkunmustafa
you could solve the problem right this way tho: stackoverflow.com/a/28474254/1281930 - guness