Closed GoogleCodeExporter closed 9 years ago
Figured out what the problem was. The
folder "/data/data/com.nookdevs.library/databases" did not exist for some
reason,
and nookLibrary failed to create it. Once I manually created the folder from
adb
shell with mkdir, nookLibrary 0.0.7 ran just fine and created the "myBooks.db"
file
within the "databases" folder.
Original comment by jmc...@gmail.com
on 16 Mar 2010 at 12:21
Hi,
can you check the permissions for this folder?
/data/data/com.nookdevs.library/
Original comment by hari.swa...@gmail.com
on 16 Mar 2010 at 12:39
Permissions of 3rd-party app folders under /data/data
drwxr-xr-x app_11 app_11 2010-03-15 19:15 com.nookdevs.library
drwxr-xr-x app_0 app_0 2010-02-07 18:04 com.nookdevs.wifi
drwxr-xr-x app_8 app_8 2010-02-06 20:10 com.nookdevs.browser
drwxr-xr-x app_11 app_11 2010-02-19 21:19 com.nookdevs.filemanager
drwxr-xr-x app_9 app_9 2010-02-07 10:46 com.nookdevs.launcher
drwxr-xr-x app_14 app_14 2010-02-09 16:48 com.kbs.trook
drwxr-xr-x app_13 app_13 2010-02-06 11:05 com.pandora.android
I wonder if the problem could have been that both com.nookdevs.library and
com.nookdevs.filemanager are owned by app_11?
Original comment by jmc...@gmail.com
on 16 Mar 2010 at 1:06
yes. Each app should have it's own app id except for the system apps.
check the app id for nookLibrary using the ps command.
Original comment by hari.swa...@gmail.com
on 16 Mar 2010 at 1:58
btw, I found few issues in the B&N books refresh logic. Just updated it and
uploaded
the package. Same version nbr though.
Original comment by hari.swa...@gmail.com
on 16 Mar 2010 at 2:27
Thanks. nookLibrary was app_15. I assume it was app_11 at some point. Not
sure
what happened. In any case, fixed.
Original comment by jmc...@gmail.com
on 16 Mar 2010 at 4:35
Original issue reported on code.google.com by
jmc...@gmail.com
on 16 Mar 2010 at 12:13