刚装好android sdk
按照http://developer.android.com/resources/tutorials/hello-world.html
实验helloword程序。
但是出错。日志如下:
05-01 20:06:23.278: E/AndroidRuntime(538): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.helloandroid/com.example.helloandroid.HelloAndroidActivity}: java.lang.ClassNotFoundException: com.example.helloandroid.HelloAndroidActivity

解决方案 »

  1.   

    在Manifest.xml中没有配置HelloAndroidActivity
      

  2.   

    在Manifest.xml中的<application android:icon="@drawable/icon" android:label="@string/app_name"></application>中间增加一句:<activity android:name=".HelloAndroidActivity"></activity>
      

  3.   

    貌似是因为我改变了类的名字,然后eclipse把文件名也改了,但是manifest里面没变。。