1. Download our Official Android App: Forums for Android!

Apps When I run Google map, those errors come

Discussion in 'Android Development' started by Kim Young Youn, Apr 15, 2010.

  1. Kim Young Youn

    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Apr 14, 2010

    Apr 14, 2010
    1
    0
    5
    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 Member
    Rank:
    None
    Points:
    18
    Posts:
    44
    Joined:
    Apr 17, 2010

    Apr 17, 2010
    44
    10
    18
    Software Developer
    Salt Lake City, UT
    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...