I just started getting the following error when I attempt to install an Android application to a device through Eclipse:
Installation failed due to invalid URI!
Please check logcat output for more details.
Launch canceled!
I've also tried installing both the APK in the bin
folder and a signed APK through adb. When I do this, I get an INSTALL_FAILED_INVALID_URI
error.
I haven't changed anything about my setup, and it used to work without a problem.
Any ideas? Thanks!
LogCat output:
D/AndroidRuntime(32345): CheckJNI is OFF
D/dalvikvm(32345): Unable to stat classpath element '/system/framework/com.orange.authentication.simcard.jar'
D/AndroidRuntime(32345): Calling main entry com.android.commands.pm.Pm
V/Performance(32111): >>com.android.defcontainer.DefaultContainerService@40d944a8 onCreate
V/Performance(32111): <<com.android.defcontainer.DefaultContainerService@40d944a8 onCreate, 3ms
V/Performance(32111): >>com.android.defcontainer.DefaultContainerService@40d944a8 onBind
V/Performance(32111): <<com.android.defcontainer.DefaultContainerService@40d944a8 onBind, 1ms
W/asset (32111): Asset path /data/local/tmp/CS2110Project.apk is neither a directory nor file (type=0).
W/DefContainer(32111): Failed to parse package
W/ActivityManager( 744): No content provider found for permission revoke: file:///data/local/tmp/CS2110Project.apk
D/dalvikvm( 744): GC_EXPLICIT freed 1196K, 36% free 20088K/31267K, paused 10ms+14ms
D/AndroidRuntime(32345): Shutting down VM
I/AndroidRuntime(32345): NOTE: attach of thread 'Binder Thread #3' failed
D/dalvikvm(32345): GC_CONCURRENT freed 135K, 72% free 578K/2048K, paused 1ms+1ms
D/dalvikvm(32345): Debugger has detached; object registry had 1 entries
For ME, it wanted the full path.
Just for the record:
For me it turned out to be an umlaut (ä,ü,ö) Problem in the Project name.
I did the following to solve it:
Refactor
-> Rename
(replaced the umlauts)Project
-> Clean
Hope this saves some time to others… took me quite a while.
Turned out to be a ROM issue. I reflashed to a newer ROM and everything works just fine now. Seems to be a fairly common problem actually.
For me, I rooted my device and every time i turn the phone on it re-updates android. With that in mind, I had to reset the chmod 777 to the local directory. So this is more of a reminder to check your permissions then an answer but it may help someone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With