Hi all, I've had a very strange thing happen here, one minute I'm debugging my app (on a Nexus One), no problems, the next it refuses to launch after installation every time. My logcat contains the following (hopefully the relevant parts, trimmed out GC logs etc):
D/PackageParser(21026): Scanning package: /data/app/vmdl26933.tmp I/PackageManager(21026): Removing non-system package:com.domain.proj I/ActivityManager(21026): Force stopping package com.domain.proj uid=10046 D/PackageManager(21026): Scanning package com.domain.proj I/PackageManager(21026): /data/app/com.domain.proj-2.apk changed; unpacking I/PackageManager(21026): Package com.domain.proj codePath changed from /data/app/com.domain.proj-1.apk to /data/app/ com.domain.proj-2.apk; Retaining data and using new D/installd( 61): DexInv: --- BEGIN '/data/app/com.domain.proj-2.apk' --- D/dalvikvm(30993): creating instr width table D/dalvikvm(30993): DexOpt: load 24ms, verify 62ms, opt 2ms D/installd( 61): DexInv: --- END '/data/app/ com.domain.proj-2.apk' (success) --- D/PackageManager(21026): Activities: com.domain.proj.[...snip for brevity...] I/ActivityManager(21026): Force stopping package com.domain.proj uid=10046 W/PackageManager(21026): Code path for pkg : com.domain.proj changing from /data/app/com.domain.proj-1.apk to /data/app/ com.domain.proj-2.apk W/PackageManager(21026): Resource path for pkg : com.domain.proj changing from /data/app/com.domain.proj-1.apk to /data/app/ com.domain.proj-2.apk I/installd( 61): move /data/dalvik-cache/ d...@app@com.domain.proj-2....@classes.dex -> /data/dalvik-cache/ d...@app@com.domain.proj-2....@classes.dex D/PackageManager(21026): New package installed in /data/app/ com.domain.proj-2.apk I/ActivityManager(21026): Force stopping package com.domain.proj uid=10046 D/VoiceDialerReceiver(21629): onReceive Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.domain.proj flg=0x10000000 cmp=com.android.voicedialer/.VoiceDialerReceiver (has extras) } V/RecognizerEngine(21629): deleteCachedGrammarFiles /data/data/ com.android.voicedialer/files/openentries.txt D/VoiceDialerReceiver(21629): onReceive Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.domain.proj flg=0x10000000 cmp=com.android.voicedialer/.VoiceDialerReceiver (has extras) } V/RecognizerEngine(21629): deleteCachedGrammarFiles /data/data/ com.android.voicedialer/files/openentries.txt D/vending (21454): [79] LocalAssetCache.updateOnePackage(): No local info for com.domain.proj I/installd( 61): unlink /data/dalvik-cache/ d...@app@com.domain.proj-1....@classes.dex D/vending (21454): [81] LocalAssetCache.updateOnePackage(): No local info for com.domain.proj D/AndroidRuntime(30985): Shutting down VM I/AndroidRuntime(30985): NOTE: attach of thread 'Binder Thread #3' failed That's it, the app icon refreshes in the launcher but it doesn't then run. This applies to any projects I try to run on the phone, not just this app. I should say it launches fine on the emulator, and I have tried installing eclipse and ADT afresh, creating a new workspace, uninstalling the app on the phone, rebooting phone and Mac several times. Does anyone have an ideas on the cause of this? I can't seem to find anything online, some bits regarding dalvik-cache but nothing that I can try out. Many thanks, Richard -- 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