Android SDK on Mac: jspawnhelper quit unexpectedly - java

I just installed Android Studio (after wiping everything away from previous installations of either android studio and android SDK), I created a new app (from the templates, didn't edit anything), and I tried to run it in an emulator. I went through the process of creating a AVD (which crashes from Android Studio, but works if I start the tool directly from outside), but no matter what, it fails to run.
I always get a "jspawnhelper quit unexpectedly." error.
My system:
OSX 10.7.5 (and don't ask me to upgrade, please)
Java 1.7.0_79 (I also tried with 1.8, it's worse)
Android Studio 2.1.1
Android
SDK for API 23 and 22 installed today.
I have no clue what jspawnhelper is, and honestly, I couldn't care less. I just want to install Android Studio and start writing some code.

Seems like I found the answer and, as usual, is not the answer I want to hear ...
Android Studio requires OSX 10.8.5.
unable to create AVD with android sdk on Mac OS
I'm not upgrading this macbook even if somebody points a gun at me ... time to go shopping, or install linux.

Related

Unable to Open Android Studio

I have Windows 10 32 bit and I've installed Java, After installing Android Studio when I'm trying to open it, it's not opening, no prompt, no error message nothing. I've tried all methods available on the Internet include JAVA_HOME and all still in vain, Please help. It's windows 32bit so android studio is just a zip file, when I tried Android studio 1.5 which do comes with Installer, it worked fine!
I think that you have to uninstall Android Studio and try to reinstall it.
Go to terminal "Win + R and type cmd" inside type java -version.
If it is installed, try to install Android again, else, just download java jre and java jdk and after install Android Studio.
However, you can try to go task admin and check if you have Android Studio running. Kill it if you have it started and after try to open Android Studio

getting no mountable file systems error when trying to install android studio on mac

I've installed JDK 8 on my mac, but cannot install Android Studio, I get the error "no mountable file systems". However, Eclipse is working fine, any idea what the issue is? I also tried installing IDK 7 to see if Android Studio preferred that, but when I type java -version into the terminal it still says JDK 8 is running.
I had the same issue earlier today, the issue often indicates a corrupted dmg file. for me it turned out that downloading the dmg in chrome would always cause it to error, downloading it in safari worked fine.

Android Studio was unable to find a valid JVM Android Studio 1.2 OSX

I have a new OSX machine. I just installed Android Studio 1.2 but I am greeted with a popup that no JVM is installed.
I installed Java 8 u45 from Oracles site. So that should suffice as the JVM. I want to make clear that I looked here first:
Android Studio was unable to find a valid Jvm (Related to MAC OS)
As the answer in that question says, "This is fixed in Android Studio 1.1 https://code.google.com/p/android/issues/detail?id=82378"
The popup links me to an Apple page to download Java 6. I don't want Java 6 on my machine and it is not supposed to be needed as of AS 1.1/1.2.
I installed Java 8, it just seems like Android Studio 1.2 can't find it. What to do?
Hmm... I installed Java on the computer and thought that was enough. I installed JDK 8 and that did the trick. I'm aware that I need a JDK to develop, it's just that the error message specifically said JVM, so I thought installing Java should take care of that. Oh well.

Intellij 14 and Android AVD

I've recently upgraded my Intellij to version 14. I wanted to create some Android application so I created a new project. Then I wanted to start an emulator so I used the AVD manager from within Intellij and created a new AVD. But then trying to run the application failed as the AVD couldn't be run.
Waiting for device.
/usr/local/Cellar/android-sdk/23.0.2/tools/emulator -avd AVD_for_Nexus_5_by_Google -netspeed full -netdelay none
PANIC: Could not open: AVD_for_Nexus_5_by_Google
Now the thing is AVDs created by Intellij are stored in ~/.android/avd whereas those created by AVD manager from Android SDK are in /usr/local/Cellar/android-sdk/23.0.2/.android and these run fine.
I'm not sure what am I doing wrong, I don't recall having issues with Intellij 13 although I haven't played with Android for a long while now.
Any help would be appreciated :)
I was facing the same issue on Ubuntu, Windows 7 and Windows 8 machines. For some reason if you have selected your emulator ABI as x86 or x86_64 then it doesn't start, however, if you select armeabi-v7a, it should start.

Unable to create Android Virtual Device in eclipse, (Ok button is clicked but no action performed)

I am new to android app developing, I am trying to run my android application in AVD available in eclipse but the thing is I'm unable to create a new AVD.
(Previously a AVD was there in eclipse but it was not worked as fast, so i deleted that)
Its possible to fill all the necessary fields given for creating a new AVD, finally when OK button is clicked there is no action performed in eclipse IDE.
Can anyone know whats exactly blocking me from creating a new AVD. Here is my screenshot.
I was also facing trouble to create AVD on my eclipse. Although my real device Galaxy S3 is working nicely as online AVD. I needed to download & install the correct driver for that and it started to do the job. But I am still searching for the real reason of the problem creating the virtual one. But here is the cofig, what is working for me now, after a long time trying.
After facing problem, first of all I installed all the package file including the Intel X86 Atom System Image for my required Android Version(For me it's Android 4.3 API 18). So that I can select the Intel Atom x86 as the CPU/ABI while creating the AVD.
And don't forget to install the Intel x86 Emulator Accelerator(HAXM) installer under the Extras on Android SDK Manager.
Here, what was my config for the AVD
Device=Nexus 7 (7.02)
Target=Android 4.3
CPU/ABI=Intel Atom (x86)
SKIN=HVGA
RAM=2048
HEAP=64
Internal Storage=2000
External=2000
Emulation Options=Tick on "Use Host GPU"
And please keep patience, as it will take a while to start the AVD.

Categories