这种情况下,一般都是在Aty1的create里报了异常。你没有把那个代码贴出来

解决方案 »

  1.   

    这是Aty1类:
    package com.example.hello;import android.app.Activity;
    import android.os.Bundle;public class Aty1 extends Activity {@Override
    protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    setContentView(R.layout.aty1);
    }
    }这是Aty1.xml
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical" >    <TextView
            android:id="@+id/textView1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="aty1"
            android:textAppearance="?android:attr/textAppearanceLarge" />  
    </LinearLayout>
      

  2.   

    这是Aty1类:
    package com.example.hello;import android.app.Activity;
    import android.os.Bundle;public class Aty1 extends Activity {@Override
    protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    setContentView(R.layout.aty1);
    }
    }这是Aty1.xml
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical" >    <TextView
            android:id="@+id/textView1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="aty1"
            android:textAppearance="?android:attr/textAppearanceLarge" />  
    </LinearLayout>
      

  3.   

    这些代码里没什么问题,log提示错误加载音频,看看那里面
      

  4.   

    你有在AndroidManifestx.xml中申请新的Activity吗?这是这类跳转问题常见的错误
      

  5.   

    AndroidManifestx.xml里面确保有申明那两个Activity?
      

  6.   

    贴出来的日志是系统进程的错误,不是你这个的问题。你自己这边检查一下配置,如果配置没问题,在Aty1加断点看看是不是进onCreate了
      

  7.   

    都是系统的错误,跟你的程序无关,从Application列可以查看错误是哪个程序的。