Error with SDK and failure to create emulator
in
Android Processing
•
3 years ago
Hey All --
I recently installed the Android SDK and prover version of Processing on a MacBook Pro. Everything was working great. Then I had a major HDD crash and logic board melt down. I repeated what I had doen before on my new MacBook, however, now I'm getting errors.
I can switch into Android Mode without a problem.
But when I try to Run the sketch I get the following error in a pop-up box:
"An error occurred while running "android create avd" to set up the default Android emulator. Make sure that the Android SDK is installed properly, and that the Android and Google APIs are installed for Level 7."
When I click OK the top of the message windwo says: Unable to resolve taget 'Google Inc.:Google APIS:7'
And in the message window it says:
/Users/alan/Documents/Processing/android-sdk-mac_x86/tools/android create avd -n Processing-Android-7 -t Google Inc.:Google APIs:7 -c 64M -s WVGA800status: 11093msstdout:
stderr:Error: Target id is not valid. Use 'android list targets' to get the target ids.Android SDK Tools Revision 7
BUILD FAILED/var/folders/+J/+JfHtdmFGhG1G8wnOA64A++++TI/-Tmp-/android1423963776624329800.pde/build.xml:16: Unable to resolve target 'Google Inc.:Google APIs:7'
Total time: 0 seconds/var/folders/+J/+JfHtdmFGhG1G8wnOA64A++++TI/-Tmp-/android1423963776624329800.pde/build.xml:16: Unable to resolve target 'Google Inc.:Google APIs:7'at com.android.ant.SetupTask.execute(SetupTask.java:177)at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:597)at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)at org.apache.tools.ant.Task.perform(Task.java:348)at org.apache.tools.ant.Target.execute(Target.java:357)at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:140)at processing.app.tools.android.Build.antBuild(Unknown Source)at processing.app.tools.android.AndroidMode.runSketchOnDevice(Unknown Source)at processing.app.tools.android.AndroidMode.access$600(Unknown Source)at processing.app.tools.android.AndroidMode$RunHandler.run(Unknown Source)at java.lang.Thread.run(Thread.java:637)EmulatorController: Emulator never booted. NOT_RUNNINGOuch. Emulator got killed, I think.
My system is fully up to date as far as I can tell.
I've tried deleting the SDK and PDE in various combinations but I keep getting the error.
Thanks in advance for your help.
-a
1