2013年9月10日星期二

Permission denied error is how is it ?

Today I imported a game demo project and found a red cross on the project name , the console throws error reporting
[2011-01-13 13:47:42 - DrifBall] ERROR: Unable to open class file G:\Android2.0游戏开发实践宝典源代码\源代码\第14章\DrifBall\gen\wyf\wpf\R.java: Permission denied

Internet search, "Permission denied", said the read-only attribute you want to change the project , the results I did not find the problem in the end is how ah ?
------ Solution ---------------------------------------- ----
delete gen, recompile
------ Solution ---------------------------- ----------------
not the best Chinese directories.
------ Solution ---------------------------------------- ----

Why do you want to import it create project from existing source
------ Solution -------------- ------------------------------
Help with "Error: Unable to open class file R.java "when building an Android App for the first time in Eclipse
This is just a really, quick and dirty post to help resolve this issue.

Problem:

You've just installed Eclipse (5.2.x at the time of this writing), and attempted to create your first Android Application. When clicking create, you see an error similar to this:

Error: Unable to open class file R.java
Solution:

The "Build Path" for your Java environment is not setup correctly in Eclipse. To fix this, follow these steps :


1) Open the Preferences Window by clicking Window -> Preferences

2) Find the Java section and expand it

3) Select Build Path

4) Change the value of Source and output folder from Folders to Project

5) Click Apply and then OK


Your problem should be resolved!
------ Solution -------------------------- ------------------
a copy of the source code in the re-do import ~ ~ ~ do not change other people's inside ~
---- - Solution --------------------------------------------
whirring Haha , writing is my roommate , go back and help you ask Hahaha
------ Solution ---------------------- ----------------------
you right click on read-only file - > Properties - > remove the read-only option is no longer prompted the hook
------ For reference only -------------------------------------- -
my new project import source or such a situation , more depressed
There Photo

Every time I remove programs in the wrong code , then pop up the prompt
------ For reference only -------------------- -------------------
back , 5th Floor
crucial fourth step quick change ?
------ For reference only -------------------------------------- -
right- click on the project format, then you will be prompted to read-only files , whether to be modified , select OK enough
------ For reference only ------- --------------------------------
reference to the 10th floor of the successful resolution of the problem
- ---- For reference only ---------------------------------------
direct the R.java can be deleted . . . .
I did.
------ For reference only -------------------------------------- -
delete R.JAVA also useful to read my problem was solved
------ For reference only ------------------ ---------------------
deleted can get

没有评论:

发表评论