First run, Emulator fails to boot. :(
in
Android Processing
•
3 years ago
I was going off of Jer Thorp's
Tutorial, but I keep getting this error: (i have the requisite SDK and APIs installed).
thanks, in advance, for taking the time.
Importing rules file: tools/ant/ant_rules_r3.xmlEmulatorController: Emulator never booted. NOT_RUNNINGOuch. Emulator got killed, I think.Creating full resource package...Creating sketch_sep28a-debug-unaligned.apk and signing it with a debug key...keytool error: java.io.FileNotFoundException: /Users/aandnota/.android/debug.keystore (Permission denied)
BUILD FAILED/Users/aandnota/Documents/android-sdk-mac_x86/tools/ant/ant_rules_r3.xml:395: The following error occurred while executing this line:/Users/aandnota/Documents/android-sdk-mac_x86/tools/ant/ant_rules_r3.xml:209: com.android.sdklib.build.ApkCreationException: Unable to get debug signature key
Total time: 11 seconds/Users/aandnota/Documents/android-sdk-mac_x86/tools/ant/ant_rules_r3.xml:395: The following error occurred while executing this line:/Users/aandnota/Documents/android-sdk-mac_x86/tools/ant/ant_rules_r3.xml:209: com.android.sdklib.build.ApkCreationException: Unable to get debug signature keyat org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)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.Target.performTasks(Target.java:385)at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)at org.apache.tools.ant.Project.executeTarget(Project.java:1298)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)Caused by: /Users/aandnota/Documents/android-sdk-mac_x86/tools/ant/ant_rules_r3.xml:209: com.android.sdklib.build.ApkCreationException: Unable to get debug signature keyat com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:337)at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)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.taskdefs.Sequential.execute(Sequential.java:62)at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)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.taskdefs.MacroInstance.execute(MacroInstance.java:391)... 15 moreCaused by: com.android.sdklib.build.ApkCreationException: Unable to get debug signature keyat com.android.sdklib.build.ApkBuilder.<init>(ApkBuilder.java:282)at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:257)... 29 more--- Nested Exception ---/Users/aandnota/Documents/android-sdk-mac_x86/tools/ant/ant_rules_r3.xml:209: com.android.sdklib.build.ApkCreationException: Unable to get debug signature keyat com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:337)at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)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.taskdefs.Sequential.execute(Sequential.java:62)at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)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.taskdefs.MacroInstance.execute(MacroInstance.java:391)at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)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.Target.performTasks(Target.java:385)at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)at org.apache.tools.ant.Project.executeTarget(Project.java:1298)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)Caused by: com.android.sdklib.build.ApkCreationException: Unable to get debug signature keyat com.android.sdklib.build.ApkBuilder.<init>(ApkBuilder.java:282)at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:257)... 29 more--- Nested Exception ---com.android.sdklib.build.ApkCreationException: Unable to get debug signature keyat com.android.sdklib.build.ApkBuilder.<init>(ApkBuilder.java:282)at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:257)at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)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.taskdefs.Sequential.execute(Sequential.java:62)at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)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.taskdefs.MacroInstance.execute(MacroInstance.java:391)at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)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.Target.performTasks(Target.java:385)at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)at org.apache.tools.ant.Project.executeTarget(Project.java:1298)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)
1