debugging android problem

This commit is contained in:
benfry
2011-11-11 22:41:23 +00:00
parent 681c4afd93
commit 5691d35ac4
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -56,8 +56,8 @@ public class Base {
/** Set true if this a proper release rather than a numbered revision. */
static public boolean RELEASE = false;
/** True if heavy debugging error/log messages are enabled */
static public boolean DEBUG = false;
// static public boolean DEBUG = true;
// static public boolean DEBUG = false;
static public boolean DEBUG = true;
static HashMap<Integer, String> platformNames =
new HashMap<Integer, String>();
+3 -2
View File
@@ -115,7 +115,7 @@ class Devices {
return null;
}
} else {
System.out.println("Emulator is " + emuController.getState() +
System.out.println("Emulator is " + emuController.getState() +
", which is not expected.");
}
// System.out.println("and now we're out");
@@ -126,7 +126,8 @@ class Devices {
// System.err.println("AndroidEnvironment: emulatorcontroller state is "
// + emuController.getState());
if (emuController.getState() == State.NOT_RUNNING) {
System.err.println("Ouch. Emulator got killed, I think.");
System.err.println("Error while starting the emulator. (" +
emuController.getState() + ")");
return null;
}
emu = find(true);