kidstypike wrote: 
> I had a good number of crashes on the last version, so I stopped using
> it. Just installed the latest 0.0.4, and it's crashed and closed again.

Which android version are you on? Without more info this is just useless
noise.

To be really helpful:

  
-  Enable developer options on your phone. (Find 'Build number' in
  your Android settings, and tap 8 times)
-  Go to developer options and enable USB debugging
-  Install 'adb' on your desktop machine
-  Connect phone to desktop via USB cable - you will be asked if you
  want phone to connect, etc.
-  When connected, use a terminal and type: "adb logcat" 
-  This will produce *lots* of debug
-  Start Material app and wait for crash
-  Stop "adb locat"
-  *Somewhere* in the logcat messages will be details of the crash.
  

logcat is *very* noisy, but crash details will look something like:


Code:
--------------------
    05-10 10:08:01.184  6762  6762 D AndroidRuntime: Shutting down VM
  05-10 10:08:01.186  6762  6762 E AndroidRuntime: FATAL EXCEPTION: main
  05-10 10:08:01.186  6762  6762 E AndroidRuntime: Process: 
com.craigd.lmsmaterial.app, PID: 6762
  05-10 10:08:01.186  6762  6762 E AndroidRuntime: 
java.lang.NullPointerException: Attempt to invoke virtual method 'void 
android.webkit.WebView.loadUrl(java.lang.String)' on a null object reference
  05-10 10:08:01.186  6762  6762 E AndroidRuntime:      at 
com.craigd.lmsmaterial.app.MainActivity.loadUrl(MainActivity.java:230)
  05-10 10:08:01.186  6762  6762 E AndroidRuntime:      at 
com.craigd.lmsmaterial.app.MainActivity.access$500(MainActivity.java:42)
  05-10 10:08:01.186  6762  6762 E AndroidRuntime:      at 
com.craigd.lmsmaterial.app.MainActivity$Discovery.discoveryFinished(MainActivity.java:86)
  05-10 10:08:01.186  6762  6762 E AndroidRuntime:      at 
com.craigd.lmsmaterial.app.ServerDiscovery$1.handleMessage(ServerDiscovery.java:206)
  05-10 10:08:01.186  6762  6762 E AndroidRuntime:      at 
android.os.Handler.dispatchMessage(Handler.java:107)
  05-10 10:08:01.186  6762  6762 E AndroidRuntime:      at 
android.os.Looper.loop(Looper.java:214)
  05-10 10:08:01.186  6762  6762 E AndroidRuntime:      at 
android.app.ActivityThread.main(ActivityThread.java:7397)
  05-10 10:08:01.186  6762  6762 E AndroidRuntime:      at 
java.lang.reflect.Method.invoke(Native Method)
  05-10 10:08:01.186  6762  6762 E AndroidRuntime:      at 
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
  05-10 10:08:01.186  6762  6762 E AndroidRuntime:      at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
  
--------------------


...so search for "com.craigd.lmsmaterial.app" or "FATAL EXCEPTION"



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
2. Open browser's developer tools 3. Open console tab in developer tools
4. REQ/RESP messages sent to/from LMS will be logged here.
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to