1) I am developing my app in Eclipse 3.4.1 with Android (ver 1.1_r1)
plugin.  My app compiles and executes without errors when using the
Eclipse IDE.

However, when I export my app (unsigned) using Eclipse (via {select
project} >right-click>Android tools>export unsigned application
package), sign it, and try to run it on the Emulator, it throws a
runtime error when I try to update my sqlite database, at which time
the specific error created is: SQLite error#14, unable to open
database.  It is able to read from the database without problems. (I
have also verified that the database is: open, is not readonly, is not
locked by another thread, is not in the middle of a transaction.)

I have limited experience, but this seems more like a "system" problem
given that the app works OK in Eclipse IDE but then fails as an
exported/signed apk. Some googling of SQLite resources revealed a
similar error on a non-Android platform which was fixed by:
"Set your permissions correctly on /var/tmp, or whatever directory you
are using to hold temporary files".

Does Android have temporary files, and if so how does it handle
permissions on temporary files? Is there a way to check or set these
permissions to see if this fixes my problem here?

2) Not sure if it is related, but after I have run the exported/signed
app which causes the runtime error, if I reboot the Emulator, and try
to run the program using the Eclipse IDE , the program fails with the
same exact error.
PLUS I also noticed the following error message while the program is
installing/running:
03-01 22:22:29.282: ERROR/PackageManager(53): Package
com.northwestradiology has mismatched uid: 0 on disk, 10019 in
settings; read messages:

I can restore the Eclipse version of my program to be able to execute
without runtime errors by utilizing the -wipe-data option for the
emulator. But note that if I run my signed APK using an emulator
created with the -wipe-data
option, it still throws the runtime error listed above...

Does anybody have any ideas about what is going on and how to fix it?

Thanks,
Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to