I am having a problem with the emulator. I can compile an app and it will install to the emulator, but will only partially run. The app hangs as soon as it starts to run, and I will get a Forced Shutdown message. This is not isolated to a project in the works. This even happens with a completed project that I have in service and know to be sound. Using Debug doesn't help, as nothing registers in Debug.
When the emulator is running it seems to slow down my system quite a bit. Such things as starting Internet Explorer are affected. I initially thought it might be Zone Alarm FW or Avast AV that was causing the problem, but shutting them down does not correct the problem.
The emulator seems to be the culprit. I am running Windows7. Has anyone else experienced this problem, and found the solution?
Any help would be greatly appreciated. :sign0085:
I have finally been able to record the filtered log, an have added it below. Both the current project in the works and the completed project used for testing use the AHPreferenceManager, but I should point out that projects NOT using this library are affected as well. However, in their case I could get no recorded logging.
When the emulator is running it seems to slow down my system quite a bit. Such things as starting Internet Explorer are affected. I initially thought it might be Zone Alarm FW or Avast AV that was causing the problem, but shutting them down does not correct the problem.
The emulator seems to be the culprit. I am running Windows7. Has anyone else experienced this problem, and found the solution?
Any help would be greatly appreciated. :sign0085:
I have finally been able to record the filtered log, an have added it below. Both the current project in the works and the completed project used for testing use the AHPreferenceManager, but I should point out that projects NOT using this library are affected as well. However, in their case I could get no recorded logging.
B4X:
LogCat connected to: emulator-5554
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
java.lang.RuntimeException: Unable to start activity ComponentInfo{mail.purge/anywheresoftware.b4a.objects.preferenceactivity}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
at android.app.ActivityThread.access$2300(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at anywheresoftware.b4a.objects.preferenceactivity$PreferenceCategoryWrapper.createPreference(preferenceactivity.java:452)
at anywheresoftware.b4a.objects.preferenceactivity$PreferenceScreenWrapper.createPreference(preferenceactivity.java:224)
at anywheresoftware.b4a.objects.preferenceactivity.onCreate(preferenceactivity.java:65)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
... 11 more
Last edited: