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.