Hi!

I'm new to Android OS and all this stuff. So, I tried to develop a HelloAndroid api as it is described here.

However, when I try to Run the HelloAndroid, the error message occurs. It is also strange that by selecting Run->Run, the "Android Application" option does not appear in the list. I can only see "HelloAndroid.java".

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (classFileParser.cpp:3375), pid=3108, tid=3616
#  Error: ShouldNotReachHere()
#
# JRE version: 7.0
# Java VM: Java HotSpot(TM) Client VM (19.0-b06 mixed mode windows-x86 )
# An error report file with more information is saved as:
# C:\eclipse\Eclipse_working_space\HelloAndroid\hs_err_pid3108.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

Could someone please explain me what happened? Thanks!

There is your answer.

# An error report file with more information is saved as:
# C:\eclipse\Eclipse_working_space\HelloAndroid\hs_err_pid3108.log

We do not know what is in the file since you did not provided...

Lianna, I think I figure out what the problem is when this happens. I was struggling through this issue. I'm using Eclipse Ganymede and when I checked the run configuration in eclipse and it was trying to run the app as a Java Bean. I created a new Android run configuration and then boom, it worked!! I hope this hepled!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.