When ZjDroid is used, the error solution that does not exist in R. java appears. zjdroidr. java

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.