Installation failed due to an invalid URI

前端 未结 3 818
情深已故
情深已故 2021-01-21 10:09
[2013-07-21 11:14:01 - AndroidTrial] Installation failed due to invalid URI!
[2013-07-21 11:14:01 - AndroidTrial] Please check logcat output for more details.
[2013-07-2         


        
相关标签:
3条回答
  • 2021-01-21 10:13

    In my case the problem was the Android project name as it contained German umlauts: äüö... I refactored the name and it worked.

    0 讨论(0)
  • 2021-01-21 10:35

    In my case it was because I had changed the name of my app the strings.xml file:

    <string name="app_name">My App</string>
    

    Removing the app and reinstalling it solved the problem.

    0 讨论(0)
  • 2021-01-21 10:38

    This error can point to so many different things, and there is many different fixes. To sum those I've gathered:

    1. Problems with Eclipse: Clean project, rebuild project, restart eclipse.
    2. Invalid characters: Remove any special characters in Eclipse project name. Use only [a-z] and [0-9] not even [ ] (whitespace)
    3. Error in included jar: Try without jar and see if it runs, if does fix somehow.
    4. Errors in manifest package setup: Right click in eclipse on project -> Android tools -> Rename application package (rename to something similar, you can always rename back).
    5. Problems with device: Remove app from device and try re install.
    6. Rom issue: If you use custom ROM try to reflash to a new ROM.
    7. Debugging not enabled: On phone go to Settings -> Applications -> Allow unknown sources/enable debugging (this path can vary for different devices)
    0 讨论(0)
提交回复
热议问题