Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I'm doing the "first app" lessons on Android Developers, but the app will not run

Tags:

java

android

http://developer.android.com/training/basics/firstapp/running-app.html

That's the page I'm on. So far it's been pretty simple, because besides naming the app "My First App", it hasn't had me change a thing.

However, when I click Run or even try to click Run As, Eclipse tells me that there's a error in the project,though the red X is only on the project name, and is nowhere else to be found.

Normally when I have done Java programming, the code where the error was could be found easily, but I can't in here. Furthermore, I don't see why there is an error, seeing as the code in here seems to be a template "Hello World!" app, that I have not altered once.

I've tried starting over again several times, but each time it always tells me that the app can't launch because my "project contains errors".

like image 321
user86715 Avatar asked Nov 13 '22 03:11

user86715


1 Answers

i had the same prob, it could be from xml files. try to clean the project and if it not work so try to look in string file maby you have ' (Apostrophe) char in some string , chack if there is eror in console, if you have error tell as what you see

also look this Q

unable to get debug signature key for my android application

like image 156
idan Avatar answered Nov 14 '22 21:11

idan