[Kindle Fire Android Development] rmagruder:
I hope this doesn't get me killed (e.g. I hope I'm okay posting this here but if not I'll move it wherever you like).

On the latest build (19), the Amazon AppStore app itself crashes on startup. Has anyone made a flashable zip of Amazon services and apps to get some of the amazon functionality back from within ICS on a Kindle Fire?

Or does anyone know what might be going wrong? Everything else on the Fire seems to be working fine.

Logcat below. Looks like it might be a permissions issue?

I/ActivityManager( 1421): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.amazon.venezia/.Venezia bnds=[300,458][396,554]} fro

I/ActivityManager( 1421): Start proc com.amazon.venezia for activity com.amazon.venezia/.Venezia: pid=13201 uid=10110 gids={3003, 1015}

I/dalvikvm(13201): Turning on JNI app bug workarounds for target SDK version 9...

W/NetworkManagementSocketTagger( 1421): setKernelCountSet(10110, 1) failed with errno -2

W/ApplicationContext(13201): Unable to create cache directory

I/ActivityThread(13201): Pub com.amazon.appstore: com.amazon.mas.client.contentprovider.ContentProviderApps

V//ContextScope.java:112(13201): 15:30:34.306 main Contexts in the main scope map after inserting com.amazon.venezia.VeneziaApplication@410a0948: com.amazon.venezia.VeneziaApplic

D/dalvikvm(13201): GC_CONCURRENT freed 211K, 5% free 6725K/7047K, paused 2ms+2ms

D/dalvikvm(13201): GC_CONCURRENT freed 510K, 8% free 6788K/7367K, paused 2ms+2ms

D/dalvikvm(13201): GC_CONCURRENT freed 468K, 8% free 6821K/7367K, paused 2ms+2ms

D/dalvikvm(13201): GC_CONCURRENT freed 414K, 7% free 6869K/7367K, paused 2ms+2ms

D/dalvikvm(13201): GC_CONCURRENT freed 516K, 9% free 6896K/7495K, paused 2ms+2ms

D/dalvikvm(13201): GC_CONCURRENT freed 461K, 8% free 6946K/7495K, paused 1ms+2ms

D//Ln.java:220(13201): 15:30:34.761 main Configuring Logging, minimum log level is INFO

D/dalvikvm(13201): GC_CONCURRENT freed 517K, 8% free 6972K/7559K, paused 1ms+3ms

I/SqliteDatabaseCpp(13201): sqlite returned: error code = 14, msg = cannot open file at line 27699 of [8609a15dfa], db=/data/data/com.amazon.venezia/databases/locker

I/SqliteDatabaseCpp(13201): sqlite returned: error code = 14, msg = os_unix.c: open() at line 27699 - "" errno=2 path=/data/data/com.amazon.venezia/databases/locker, db=/data/dat

atabases/locker

E/SqliteDatabaseCpp(13201): sqlite3_open_v2("/data/data/com.amazon.venezia/databases/locker", &handle, 6, NULL) failed

E/SQLiteDatabase(13201): Failed to open the database. closing it.

E/SQLiteDatabase(13201): android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file

E/SQLiteDatabase(13201): at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)

E/SQLiteDatabase(13201): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1013)

E/SQLiteDatabase(13201): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:986)

E/SQLiteDatabase(13201): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1051)

E/SQLiteDatabase(13201): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:770)

E/SQLiteDatabase(13201): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:221)

E/SQLiteDatabase(13201): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:157)

E/SQLiteDatabase(13201): at com.amazon.mas.client.framework.db.ReferenceCountedDatabase$1.obtainRetainedObject(ReferenceCountedDatabase.java:38)

E/SQLiteDatabase(13201): at com.amazon.mas.client.framework.db.ReferenceCountedDatabase$1.obtainRetainedObject(ReferenceCountedDatabase.java:28)

E/SQLiteDatabase(13201): at com.amazon.mas.client.framework.resources.ReferenceCounter.getRef(ReferenceCounter.java:23)

E/SQLiteDatabase(13201): at com.amazon.mas.client.framework.db.ReferenceCountedDatabase.getDbRef(ReferenceCountedDatabase.java:76)

E/SQLiteDatabase(13201): at com.amazon.mas.client.framework.locker.IdTable.getDatabase(IdTable.java:120)

E/SQLiteDatabase(13201): at com.amazon.mas.client.framework.locker.IdTable.getNextId(IdTable.java:65)

E/SQLiteDatabase(13201): at com.amazon.mas.client.framework.locker.ApplicationLockerImpl.getNextWorkflowId(ApplicationLockerImpl.java:505)

E/SQLiteDatabase(13201): at com.amazon.workflow.android.WorkflowPersistenceServiceImpl.getNextWorkflowId(WorkflowPersistenceServiceImpl.java:36)

E/SQLiteDatabase(13201): at com.amazon.workflow.persistent.PersistWorkflowDelegate.afterEngineStarts(PersistWorkflowDelegate.java:46)

E/SQLiteDatabase(13201): at com.amazon.workflow.persistent.PersistWorkflowDelegate.afterEngineStarts(PersistWorkflowDelegate.java:24)

E/SQLiteDatabase(13201): at com.amazon.workflow.delegate.DelegateCaller.afterEngineStarts(Unknown Source)

E/SQLiteDatabase(13201): at com.amazon.workflow.WorkflowEngineImpl$StartEngineRunnable.run(Unknown Source)

E/SQLiteDatabase(13201): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)

E/SQLiteDatabase(13201): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)

E/SQLiteDatabase(13201): at java.util.concurrent.FutureTask.run(FutureTask.java:137)

E/SQLiteDatabase(13201): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:150)

E/SQLiteDatabase(13201): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:264)

E/SQLiteDatabase(13201): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)

E/SQLiteDatabase(13201): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)

E/SQLiteDatabase(13201): at java.lang.Thread.run(Thread.java:856)

D/dalvikvm(13201): GC_FOR_ALLOC freed 181K, 7% free 7058K/7559K, paused 20ms

E/AmazonAppstore.ReferenceCountedDatabase(13201): Error while opening database: /data/data/com.amazon.venezia/databases/locker. Attempting to recreate it.

E/AmazonAppstore.ReferenceCountedDatabase(13201): android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file

E/AmazonAppstore.ReferenceCountedDatabase(13201): at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1013)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:986)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1051)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:770)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:221)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:157)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at com.amazon.mas.client.framework.db.ReferenceCountedDatabase$1.obtainRetainedObject(ReferenceCountedDatabase.java:38)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at com.amazon.mas.client.framework.db.ReferenceCountedDatabase$1.obtainRetainedObject(ReferenceCountedDatabase.java:28)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at com.amazon.mas.client.framework.resources.ReferenceCounter.getRef(ReferenceCounter.java:23)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at com.amazon.mas.client.framework.db.ReferenceCountedDatabase.getDbRef(ReferenceCountedDatabase.java:76)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at com.amazon.mas.client.framework.locker.IdTable.getDatabase(IdTable.java:120)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at com.amazon.mas.client.framework.locker.IdTable.getNextId(IdTable.java:65)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at com.amazon.mas.client.framework.locker.ApplicationLockerImpl.getNextWorkflowId(ApplicationLockerImpl.java:505)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at com.amazon.workflow.android.WorkflowPersistenceServiceImpl.getNextWorkflowId(WorkflowPersistenceServiceImpl.java:36)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at com.amazon.workflow.persistent.PersistWorkflowDelegate.afterEngineStarts(PersistWorkflowDelegate.java:46)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at com.amazon.workflow.persistent.PersistWorkflowDelegate.afterEngineStarts(PersistWorkflowDelegate.java:24)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at com.amazon.workflow.delegate.DelegateCaller.afterEngineStarts(Unknown Source)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at com.amazon.workflow.WorkflowEngineImpl$StartEngineRunnable.run(Unknown Source)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at java.util.concurrent.FutureTask.run(FutureTask.java:137)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:150)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:264)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)

E/AmazonAppstore.ReferenceCountedDatabase(13201): at java.lang.Thread.run(Thread.java:856)

E/AmazonAppstore.ReferenceCountedDatabase(13201): The database could not be deleted.

E/AmazonAppstore.PersistWorkflowDelegate(13201): Error while loading workflows.

E/AmazonAppstore.PersistWorkflowDelegate(13201): android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file

E/AmazonAppstore.PersistWorkflowDelegate(13201): at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:1013)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:986)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:1051)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:770)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:221)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:157)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at com.amazon.mas.client.framework.db.ReferenceCountedDatabase$1.obtainRetainedObject(ReferenceCountedDatabase.java:38)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at com.amazon.mas.client.framework.db.ReferenceCountedDatabase$1.obtainRetainedObject(ReferenceCountedDatabase.java:28)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at com.amazon.mas.client.framework.resources.ReferenceCounter.getRef(ReferenceCounter.java:23)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at com.amazon.mas.client.framework.db.ReferenceCountedDatabase.getDbRef(ReferenceCountedDatabase.java:76)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at com.amazon.mas.client.framework.locker.IdTable.getDatabase(IdTable.java:120)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at com.amazon.mas.client.framework.locker.IdTable.getNextId(IdTable.java:65)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at com.amazon.mas.client.framework.locker.ApplicationLockerImpl.getNextWorkflowId(ApplicationLockerImpl.java:505)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at com.amazon.workflow.android.WorkflowPersistenceServiceImpl.getNextWorkflowId(WorkflowPersistenceServiceImpl.java:36)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at com.amazon.workflow.persistent.PersistWorkflowDelegate.afterEngineStarts(PersistWorkflowDelegate.java:46)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at com.amazon.workflow.persistent.PersistWorkflowDelegate.afterEngineStarts(PersistWorkflowDelegate.java:24)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at com.amazon.workflow.delegate.DelegateCaller.afterEngineStarts(Unknown Source)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at com.amazon.workflow.WorkflowEngineImpl$StartEngineRunnable.run(Unknown Source)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at java.util.concurrent.FutureTask.run(FutureTask.java:137)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:150)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:264)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)

E/AmazonAppstore.PersistWorkflowDelegate(13201): at java.lang.Thread.run(Thread.java:856)

W/AmazonAppstore.ServiceProvider(13201): No ServiceConfig pref, not loading ServiceConfig.

W/ApplicationContext(13201): Unable to create files directory /data/data/com.amazon.venezia/files

W/ApplicationContext(13201): Unable to create cache directory

D/AndroidRuntime(13201): Shutting down VM

W/dalvikvm(13201): threadid=1: thread exiting with uncaught exception (group=0x409f81f8)

E/AndroidRuntime(13201): FATAL EXCEPTION: main

E/AndroidRuntime(13201): java.lang.RuntimeException: Unable to create application com.amazon.venezia.VeneziaApplication: java.lang.NullPointerException

E/AndroidRuntime(13201): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3957)

E/AndroidRuntime(13201): at android.app.ActivityThread.access$1300(ActivityThread.java:123)

E/AndroidRuntime(13201): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1185)

E/AndroidRuntime(13201): at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime(13201): at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime(13201): at android.app.ActivityThread.main(ActivityThread.java:4424)

E/AndroidRuntime(13201): at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime(13201): at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime(13201): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

E/AndroidRuntime(13201): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)

E/AndroidRuntime(13201): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime(13201): Caused by: java.lang.NullPointerException

E/AndroidRuntime(13201): at com.amazon.mas.client.framework.cache.FileCacheProvider.loadCacheIntoMemory(FileCacheProvider.java:425)

E/AndroidRuntime(13201): at com.amazon.mas.client.framework.cache.FileCacheProvider.<init>(FileCacheProvider.java:59)

E/AndroidRuntime(13201): at com.amazon.mas.client.framework.cache.CacheManager.getProvider(CacheManager.java:228)

E/AndroidRuntime(13201): at com.amazon.mas.client.framework.cache.CacheManager.getDefaultCacheProvider(CacheManager.java:80)

E/AndroidRuntime(13201): at com.amazon.mas.client.framework.cache.CacheManager.<init>(CacheManager.java:61)

E/AndroidRuntime(13201): at com.amazon.mas.client.framework.ServiceProvider.init(ServiceProvider.java:294)

E/AndroidRuntime(13201): at com.amazon.mas.client.framework.ServiceProvider.create(ServiceProvider.java:245)

E/AndroidRuntime(13201): at com.amazon.mas.client.framework.ServiceProvider.initContext(ServiceProvider.java:159)

E/AndroidRuntime(13201): at com.amazon.venezia.VeneziaApplication.onCreate(VeneziaApplication.java:122)

E/AndroidRuntime(13201): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)

E/AndroidRuntime(13201): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3954)

E/AndroidRuntime(13201): ... 10 more

W/ActivityManager( 1421): Force finishing activity com.amazon.venezia/.Venezia

W/ActivityManager( 1421): Activity pause timeout for ActivityRecord{41541cf8 com.amazon.venezia/.Venezia}

W/NetworkManagementSocketTagger( 1421): setKernelCountSet(10110, 0) failed with errno -2