Java. Lang. verifyerror Solution

Source: Internet
Author: User

ASource codeAfter importing your project, the Java. Lang. verifyerror error always occurs when you click some menus,

According to the Internet, this error occurs when the "checker" detects that a class file is in the correct format but contains some internal inconsistency or security issues. This is a problem with the JDK version;

I found some information on the Internet for reference, and some are said to have no permissions (http://www.eoeandroid.com/thread-95289-1-1.html), but I think it is not, the permission of the reminder is very good looking out.


In short, solved, reference: http://www.eoeandroid.com/thread-195073-1-1.html

Change the method of adding the jar package to add library-> User library, and then hook the corresponding custom library in order and export.

(Adjust the order of your library in order and export and jump to the front of the android library. Otherwise, there may be problems)

So as not to be forgotten in the future, the steps are listed for reference:

 

1. First add Library

 


 

 

2. Create a library

3. Find the JAR file to be used and add it

4. Check the created database in order and export.

 

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.