My Android advanced tour ------ & gt; solves the Error: ShouldNotReachHere () problem, android advanced books

Source: Internet
Author: User

My Android advanced tutorial ------> Solving Error: ShouldNotReachHere (), android advanced books

If you create a class that contains the main () method in the Android project and right-click the class to run the class, the following error is reported:

# An unexpected error has been detected by Java Runtime Environment: # Internal Error (classFileParser. cpp: 2923), pid = 7780, tid = 7832 # Error: ShouldNotReachHere () # Java VM: Java HotSpot (TM) Client VM (11.0-b15 mixed mode windows-x86) # An error report file with more information is saved as: # D: \ programming code set \ Android \ HelloAndroid \ hs_err_pid7780.log # If you wowould like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp #

Slave:


The solution is As follows: 1. Right-click the project and choose Run As> Run commands...
2. find the project you just run in Java Aplication (or your corresponding category) 3. switch to the Classpath option bar, click Android Library in Bootstrap Entries, and then click Advanced on the right .. -> Add Library-> JRE System Library, all the way to next.









========================================================== ========================================================== ============================

Author: Ouyang Peng: Welcome to repost. sharing with others is the source of progress!

Reprinted Please retain the original address: http://blog.csdn.net/ouyang_peng

========================================================== ========================================================== ============================


Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.