• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps When I run Google map, those errors come

Hi

I'm android development beginner

I trouble those errors

Please help me

1. HelloMaps.java source code

package com.androidhuman.example.HelloMaps;
import android.app.Activity;
import android.os.Bundle;
public class HelloMaps extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}

2. main.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
</LinearLayout>

After this program runs, the result follows

fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (classFileParser.cpp:3174), pid=688, tid=2384
# Error: ShouldNotReachHere()
#
# JRE version: 6.0_19-b04
# Java VM: Java HotSpot(TM) Client VM (16.2-b04 mixed mode windows-x86 )
# An error report file with more information is saved as:
# C:\Android\HelloMaps\hs_err_pid688.log
#
# If you would like to submit a bug report, please visit:
# HotSpot Virtual Machine Error Reporting Page
#

Please help me &#12636;&#12636;, I wish happy coding

Ps. AVD is Google APIs 6.0
 
Sounds like you're trying to run your application as a JUnit test out of Eclipse. Use the "Start" or "Debug" button to launch the app on your AVD.
 
Back
Top Bottom