[Kindle Fire Android Development] bhuffman:
Kindle app crash - logcat

Actually it may not be heap size (or else something else is breaking first). Here's an output from logcat when I try to run the Kindle app:

I/dalvikvm( 7954): Failed resolving Lcom/dp/utils/DeviceUpTimeSource; interface 7524 'Lcom/dp/utils/SystemTime$TimeSource;'

W/dalvikvm( 7954): Link of class 'Lcom/dp/utils/DeviceUpTimeSource;' failed

E/dalvikvm( 7954): Could not find class 'com.dp.utils.DeviceUpTimeSource', referenced from method com.amazon.client.metrics.AndroidMetricsFactoryImpl.<init>

W/dalvikvm( 7954): VFY: unable to resolve new-instance 7521 (Lcom/dp/utils/DeviceUpTimeSource;) in Lcom/amazon/client/metrics/AndroidMetricsFactoryImpl;

D/dalvikvm( 7954): VFY: replacing opcode 0x22 at 0x000c

I/dalvikvm( 7954): Failed resolving Lcom/dp/utils/DeviceUpTimeSource; interface 7524 'Lcom/dp/utils/SystemTime$TimeSource;'

W/dalvikvm( 7954): Link of class 'Lcom/dp/utils/DeviceUpTimeSource;' failed

D/dalvikvm( 7954): DexOpt: unable to opt direct call 0xcdde at 0x0e in Lcom/amazon/client/metrics/AndroidMetricsFactoryImpl;.<init>

D/AndroidRuntime( 7954): Shutting down VM

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

E/AndroidRuntime( 7954): FATAL EXCEPTION: main

E/AndroidRuntime( 7954): Process: com.amazon.kindle, PID: 7954

E/AndroidRuntime( 7954): java.lang.NoClassDefFoundError: com.dp.utils.DeviceUpTimeSource

E/AndroidRuntime( 7954):	at com.amazon.client.metrics.AndroidMetricsFactoryImpl.<init>(AndroidMetricsFactoryImpl.java:104)

E/AndroidRuntime( 7954):	at com.amazon.client.metrics.AndroidMetricsFactoryImpl.getInstance(AndroidMetricsFactoryImpl.java:65)

E/AndroidRuntime( 7954):	at com.amazon.identity.platform.metric.PlatformICEEMetricsCollector.<init>(PlatformICEEMetricsCollector.java:30)

E/AndroidRuntime( 7954):	at com.amazon.identity.platform.metric.MetricsCollectorHolder.getInstance(MetricsCollectorHolder.java:36)

E/AndroidRuntime( 7954):	at com.amazon.identity.auth.device.metrics.SSOMetrics.doInit(SSOMetrics.java:180)

E/AndroidRuntime( 7954):	at com.amazon.identity.auth.device.metrics.SSOMetrics.startPeriodicTimer(SSOMetrics.java:471)

E/AndroidRuntime( 7954):	at com.amazon.identity.auth.device.api.MAPAccountManager.getAccounts(MAPAccountManager.java:680)

E/AndroidRuntime( 7954):	at com.amazon.kcp.application.SessionUser.<init>(SessionUser.java:33)

E/AndroidRuntime( 7954):	at com.amazon.kcp.application.SessionUser.getInstance(SessionUser.java:44)

E/AndroidRuntime( 7954):	at com.amazon.kcp.application.AbstractSettingsController$MultiAccountSharedPreferenceNamer.getSharedPreferenceName(AbstractSettingsController.java:232)

E/AndroidRuntime( 7954):	at com.amazon.kcp.application.AbstractSettingsController.<init>(AbstractSettingsController.java:78)

E/AndroidRuntime( 7954):	at com.amazon.kcp.application.AppSettingsController.<init>(AppSettingsController.java:73)

E/AndroidRuntime( 7954):	at com.amazon.kcp.application.AppSettingsController.getInstance(AppSettingsController.java:80)

E/AndroidRuntime( 7954):	at com.amazon.kcp.application.ReddingApplication.onCreate(ReddingApplication.java:92)

E/AndroidRuntime( 7954):	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)

E/AndroidRuntime( 7954):	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4408)

E/AndroidRuntime( 7954):	at android.app.ActivityThread.access$1500(ActivityThread.java:145)

E/AndroidRuntime( 7954):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1266)

E/AndroidRuntime( 7954):	at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime( 7954):	at android.os.Looper.loop(Looper.java:136)

E/AndroidRuntime( 7954):	at android.app.ActivityThread.main(ActivityThread.java:5081)

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

E/AndroidRuntime( 7954):	at java.lang.reflect.Method.invoke(Method.java:515)

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

E/AndroidRuntime( 7954):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

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

W/ActivityManager( 452): Force finishing activity com.amazon.kindle/.UpgradePage