When ZjDroid is used, the error solution that does not exist in R. java appears. zjdroidr. java
What is ZjDroid?
Please refer to this article: Android dynamic reverse analysis tool ZjDroid-shell Removal
The following error occurs when I use this for the first time today:
Tip: import com. android. reverse. R; this class does not exist.
After cleaning, the new build still does not appear, and the R. java file still does not exist in the gen folder.
After selecting "fix project properties" for Android tools, it still has no effect.
After trying for a day, I still did not solve the problem. Then I updated the Android SDK tools. I used 19. The error disappears when I updated it to 20,
The R. java file also appears. After that, an error occurs during update 23.02, prompting that the file cannot be run, updating to, and the OK error disappears.
This is a bloody case from the SDK .....
Life should be like a sunflower filled with sunshine. Although lonely, I would like to keep wandering on this road.
Reprinted with the source: http://blog.csdn.net/chichoxian/article/details/38564375xie Xie cooperation :)
I have defined all errors in Rjava.
1. Your R class may import the R class under the android package rather than the R class under your package.
2. Click project-clean in the menu bar.
Rlayoutmain cannot be resolved error in android development. RJAVA is also generated. Why? You cannot solve the problem by using bulid again.
Analysis:
Possible causes: 1. The layout File ID is repeated;
2. R is exported to the android official website, that is, R. android .*;
3. An error occurred while deploying the layout file;
Solution:
1. Check whether R is R. android. *. If yes, It is changed. The official R class cannot be imported into the self-developed APP.
2. project-cleaning: refresh the project.
3. Check whether the layout and drawable files are missing or have duplicate IDs.