简体   繁体   中英

First android project creation on eclipse

Right now I'm trying to learn android programming but there's something wrong with the first step every time I'm creating a new android project in eclipse it's gives me a red x sing on some folders and i can't run anything cause it also gives me error msg ( please fix the errors then run)

在此处输入图片说明

This means there is some error within the code which is in that specific folder or package. Once you clear those errors, it should go away. Is your "myfirstapp" program running when you hit run, or is there an error in the console below? That error corresponds to the red "x" that you are seeing. Once you troubleshoot your errors, the x's on the folders and packages will disappear. If you wan't, you can post the code you are having issues with, or look up the specific error that it is displaying for you and try to resolve it. Best of luck!

If you found this answer useful please like and mark as best answer. It would help a lot!

1) Because, In xml file first you have to solve the error. 2) After that clean the project error will automatically get resolved.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM