Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGregory Schmidt
342 Pointseclipse and android emulator
android emulator loads but when I run: dropdown>run as>1 android application, nothing happens.
Something happened now: "installation failed due to invalid URI"
2 Answers
Matheus G Oliveira
9,682 PointsHey Gregory, did you created a new device?
This error can point to so many different things, and there is many different fixes. See if yours match with one of the following
Problems with Eclipse: Clean project, rebuild project, restart eclipse. Invalid characters: Remove any special characters in Eclipse project name. Use only [a-z] and [0-9] not even [ ] (whitespace) Error in included jar: Try without jar and see if it runs, if does fix somehow. 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). Problems with device: Remove app from device and try re install. Rom issue: If you use custom ROM try to reflash to a new ROM. Debugging not enabled: On phone go to Settings -> Applications -> Allow unknown sources/enable debugging (this path can vary for different devices)
Matheus G Oliveira
9,682 PointsHey Gregory,
Did you try selection the package with the left mouse button, then run as > android application?
This is the first time you try to load an app on the emulator or you already did it?
By the way, this should be described as an Android question, not JavaScript
:)
Gregory Schmidt
342 PointsYes I did left click and it's the first time but thank you
Gregory Schmidt
342 PointsGregory Schmidt
342 PointsThanks Matheus, this is all new to me, I'll see what I can do.