brikell69 / nookdevs

Automatically exported from code.google.com/p/nookdevs
0 stars 0 forks source link

nookLibrary fails to launch on Simple Touch #175

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. root the device
2. load content via calibre to SD
3. attempt to launch nookLibrary via ADW launcher

What do you see instead?
Get dumped back to the ADW home screen when attempting to launch

What version of the product are you using? On what operating system?
The nook 2e/simple touch/touch/"nook, but not the first edition and no, not the 
color one either"/worst branded product ever which nobody knows precisely what 
to call

Please provide any additional information below.
Most useful information i could gather:
I/ActivityManager(  798): Starting activity: Intent { 
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] 
flg=0x10200000 cmp=com.nookdevs.library/.NookLibrary }
I/ActivityManager(  798): Start proc com.nookdevs.library for activity 
com.nookdevs.library/.NookLibrary: pid=7301 uid=10013 gids={3003, 1015}
D/dalvikvm(  735): GC freed 294 objects / 11232 bytes in 82ms
D/dalvikvm(  735): GC freed 52 objects / 2320 bytes in 88ms
I/dalvikvm( 7301): Could not find method 
android.net.ConnectivityManager.newWakeLock, referenced from method 
com.nookdevs.library.NookLibrary.onCreate
W/dalvikvm( 7301): VFY: unable to resolve virtual method 244: 
Landroid/net/ConnectivityManager;.newWakeLock 
(ILjava/lang/String;)Landroid/net/ConnectivityManager$WakeLock;
D/dalvikvm( 7301): VFY: replacing opcode 0x6e at 0x030c
D/dalvikvm( 7301): Making a copy of Lcom/nookdevs/library/NookLibrary;.onCreate 
code (1612 bytes)
D/dalvikvm(  735): GC freed 2 objects / 48 bytes in 61ms
E/nookLibrary( 7301): Error reading system settings... keeping hardcoded values
W/System.err( 7301): android.database.CursorIndexOutOfBoundsException: Index 1 
requested, with a size of 1
W/System.err( 7301):    at 
android.database.AbstractCursor.checkPosition(AbstractCursor.java:580)
W/System.err( 7301):    at 
android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.jav
a:214)
W/System.err( 7301):    at 
android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:41
)
W/System.err( 7301):    at 
android.database.CursorWrapper.getString(CursorWrapper.java:135)
W/System.err( 7301):    at 
com.nookdevs.common.nookBaseActivity.readSettings(nookBaseActivity.java:303)
W/System.err( 7301):    at 
com.nookdevs.library.NookLibrary.readSettings(NookLibrary.java:508)
W/System.err( 7301):    at 
com.nookdevs.common.nookBaseActivity.onCreate(nookBaseActivity.java:92)
W/System.err( 7301):    at 
com.nookdevs.library.NookLibrary.onCreate(NookLibrary.java:185)
W/System.err( 7301):    at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
W/System.err( 7301):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
W/System.err( 7301):    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
W/System.err( 7301):    at 
android.app.ActivityThread.access$2200(ActivityThread.java:119)
W/System.err( 7301):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
W/System.err( 7301):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 7301):    at android.os.Looper.loop(Looper.java:123)
W/System.err( 7301):    at 
android.app.ActivityThread.main(ActivityThread.java:4363)
W/System.err( 7301):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 7301):    at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err( 7301):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
W/System.err( 7301):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
W/System.err( 7301):    at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 7301): Could not find method 
android.net.ConnectivityManager.newWakeLock, referenced from method 
com.nookdevs.library.FictionwiseBooks.<init>
W/dalvikvm( 7301): VFY: unable to resolve virtual method 244: 
Landroid/net/ConnectivityManager;.newWakeLock 
(ILjava/lang/String;)Landroid/net/ConnectivityManager$WakeLock;
D/dalvikvm( 7301): VFY: replacing opcode 0x6e at 0x003f
D/dalvikvm( 7301): Making a copy of 
Lcom/nookdevs/library/FictionwiseBooks;.<init> code (224 bytes)
E/FictionwiseBooks( 7301): exception in init static block 
E/FictionwiseBooks( 7301): java.io.IOException: Parent directory of file does 
not exist: /system/media/sdcard/fictionwise/.skip
E/FictionwiseBooks( 7301):  at java.io.File.createNewFile(File.java:1263)
E/FictionwiseBooks( 7301):  at 
com.nookdevs.library.FictionwiseBooks.<clinit>(FictionwiseBooks.java:93)
E/FictionwiseBooks( 7301):  at 
com.nookdevs.library.NookLibrary.onCreate(NookLibrary.java:360)
E/FictionwiseBooks( 7301):  at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/FictionwiseBooks( 7301):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
E/FictionwiseBooks( 7301):  at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
E/FictionwiseBooks( 7301):  at 
android.app.ActivityThread.access$2200(ActivityThread.java:119)
E/FictionwiseBooks( 7301):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
E/FictionwiseBooks( 7301):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/FictionwiseBooks( 7301):  at android.os.Looper.loop(Looper.java:123)
E/FictionwiseBooks( 7301):  at 
android.app.ActivityThread.main(ActivityThread.java:4363)
E/FictionwiseBooks( 7301):  at java.lang.reflect.Method.invokeNative(Native 
Method)
E/FictionwiseBooks( 7301):  at java.lang.reflect.Method.invoke(Method.java:521)
E/FictionwiseBooks( 7301):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/FictionwiseBooks( 7301):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/FictionwiseBooks( 7301):  at dalvik.system.NativeStart.main(Native Method)
D/AndroidRuntime( 7301): Shutting down VM
W/dalvikvm( 7301): threadid=3: thread exiting with uncaught exception 
(group=0x4001b170)
E/AndroidRuntime( 7301): Uncaught handler: thread main exiting due to uncaught 
exception
E/AndroidRuntime( 7301): java.lang.NoSuchMethodError: 
android.net.ConnectivityManager.newWakeLock
E/AndroidRuntime( 7301):    at 
com.nookdevs.library.FictionwiseBooks.<init>(FictionwiseBooks.java:108)
E/AndroidRuntime( 7301):    at 
com.nookdevs.library.FictionwiseBooks.<init>(FictionwiseBooks.java:101)
E/AndroidRuntime( 7301):    at 
com.nookdevs.library.NookLibrary.onCreate(NookLibrary.java:360)
E/AndroidRuntime( 7301):    at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 7301):    at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
E/AndroidRuntime( 7301):    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
E/AndroidRuntime( 7301):    at 
android.app.ActivityThread.access$2200(ActivityThread.java:119)
E/AndroidRuntime( 7301):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
E/AndroidRuntime( 7301):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7301):    at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 7301):    at 
android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 7301):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime( 7301):    at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 7301):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 7301):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 7301):    at dalvik.system.NativeStart.main(Native Method)
I/Process (  798): Sending signal. PID: 7301 SIG: 3
D/EPD#EPD (  798): resetRegion 4
D/NATIVE-EPD(  798): epd_reset_region: 0x10
D/EPD#EPD (  798): resetRegion 5
D/NATIVE-EPD(  798): epd_reset_region: 0x20
D/EPD#EPD (  798): resetRegion 6
D/NATIVE-EPD(  798): epd_reset_region: 0x40
D/EPD#EPD (  798): resetRegion 7
D/NATIVE-EPD(  798): epd_reset_region: 0x80
D/DeviceManagerBroadcastReceiver( 1008): action 
(com.bn.devicemanager.ACTION_HANDLE_CRASH)
I/dalvikvm( 7301): threadid=7: reacting to signal 3
E/dalvikvm( 7301): Unable to open stack trace file '/data/anr/traces.txt': 
Permission denied
I/Process ( 7301): Sending signal. PID: 7301 SIG: 9
I/ActivityManager(  798): Process com.nookdevs.library (pid 7301) has died.

Original issue reported on code.google.com by nait...@gmail.com on 16 Jul 2011 at 9:00

GoogleCodeExporter commented 9 years ago
I'm also seeing this with the one difference that I don't get the permission 
denied when the stack trace is written out.

Original comment by Larry.Em...@gmail.com on 14 Mar 2012 at 4:11