I am trying to run my application but it is displaying error in the project explorer
I had try to clean my application many time even restart the eclipse but no effect
It is displaying error and also it is not giving me any error in the console.
How to fix this issue?
EDIT
And also I remove all the reference lib and add again but still getting error.
Please follow the steps on this link. That user has the same problem. I have given answer there.
EDIT
solve this issue by following below steps
Go to Window => Show View => Problems
Now I can see the error like debug certificate expired
Now Delete the file ~/home/.android/debug.keystore
Clean Project
For more information refer this link
Check the problems and fix that. To view the problems == Window -> Show View -> Problems
i think the problem in the added library function, check the library files what you had added to this app. it shows error there remove it once and add again..
or
rightclick-->Android Tools --> Fix Project Properties..
Related
When i run my project , I get " Your project contains error(s) , please them before running your application" this error . I searched this error on Google , There i got a lot of solutions all these did not work for me . I cleaned and Build my project , Restart my eclipse , in .android deleted debug.keystore and clean and build my project , But did not work for me . Please help me .
Thanks in Advance
Follow My steps :
There are many possiblity of this type of error try by one of the following .
Step 1 Right Click on your app then check library and order and export tab there may
be any error remove that according to your project .
Step 2 Right Click on your app then go to java compiler and made change of
compiler level
Step 3 If you have added any library project check that also
It works for me hope it will work for you also .
In my case, all the solutions you generally come across in the Net turned out inappropriate.
What I have recently found is that if you wanted to import a given Android project,
and you used General/Existing Projects into Workspace or Archive File,
you may probably face the issue above when there is no problem in the source itself.
What I did was using [Existing Android Code Into Workspace] instead of the above.
With this authentic way of importing Android project, such an error did not come about.
//
Of course, this applies when you properly added some necessary libraries and you have
no issue with your source codes.
when i'm trying to run an android project which shows the warning message :
Your project contains error(s), please fix them before running your application.
but there's no error showing in the code or other section on the project except the project name. like :
I've cleaned, refreshed the project but it remains same.
how can i identify and remove the error ?
thanks in advance
All errors and warnings with detailed description could be found on "Problems" view - usually a tab in the bottom right part of the eclipse window. If it isn't there, use Window -> Show View -> Problems to show it.
Let your tooling generate a new certificate by deleting your current certificate, see:
"Debug certificate expired" error in Eclipse Android plugins
Has the project worked before, but suddenly stopped?
Have you changed anything in the res folder? I've found that if you mess up one of your resource files (drawable, layout etc) it can have this effect. Double check to make sure none of your resources have spaces or capital letters in the name. If you have recently added a new drawable, try removing it temporarily to see if that fixes your problem.
Right click your project, click Properties and choose Java Build Path. Check the tabs there and see if you see any errors.
Sometimes resources there go missing due to folders being removed / moved causing the problems you're experiencing.
I am trying to get a downloaded sample code to work - everything seems ok, however, everytime I run the project I get the error
[2011-11-03 10:21:43 - viewflow] Could not find viewflow.apk!
The app works fine but I just like to get rid of this error message in the console everytime the app starts.
Many thanks
Try the following steps:
Go to Project->Properties
Select Android from left-hand side list
Uncheck the "Is Library" checkbox
--
Or try to delete the project from the workspace and re-import it.
--
Original post here.
All of my Android projects have error sign now, but there is no error in the project. I didn't edit anything but there is an error sign by each project now. The sign appeared first by 3-4 projects only, I didn't edit absolutely any of my projects and the sign appears now by all my projects. What can this be and how could I resolve this - I don't want to rebuild my projects from the beginning, of course :)
I already tried project->clean but I have again the error sign.
If you go to Window -> Show View -> Problems you can see exactly why the errors are there and take action accordingly. Usually, if there is no obvious error, cleaning your project can resolve the issue. However, there is clearly something else going on for you!
Try this
1) Right click on the project (in Project Explorer)
2) You should see Android tools towards the end. Click on it to get a list of options
3) Choose "Fix project properties"
Shash
Have you tried signing your application? Go through these steps and see what happens
http://developer.android.com/guide/publishing/app-signing.html
go to Project>>Clean ..try this..
When i try to compile and build the application, a red mark is appearing on my application,but there is no error description ..
what will be the reason?
There is always a reason, just need to find it :) Try refreshing and/or cleaning your project. To find error description (in Eclipse) open Problems perspective.
Is probably a weird eclipse/android sdk error. Run Project Cleanup and it should go away.