When I run Google map, those errors come


Last Updated:

  1. Kim Young Youn

    Kim Young Youn New Member This Topic's Starter

    Joined:
    Apr 14, 2010
    Messages:
    1
    Likes Received:
    0
    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:eek:rientation="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
     

    Advertisement
  2. dmitriyk

    dmitriyk Active Member

    Joined:
    Apr 17, 2010
    Messages:
    44
    Likes Received:
    10
    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.
     

Share This Page

Loading...