10-24 22:37:47.926: E/Trace(31760): error opening trace file: No such file or directory (2)
10-24 21:50:17.726: E/AndroidRuntime(25669): FATAL EXCEPTION: main
10-24 21:50:17.726: E/AndroidRuntime(25669): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.castsample/com.example.castsample.CastSampleActivity}: java.lang.ClassNotFoundException: com.example.castsample.CastSampleActivity
10-24 21:50:17.726: E/AndroidRuntime(25669): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1983)
10-24 21:50:17.726: E/AndroidRuntime(25669): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
10-24 21:50:17.726: E/AndroidRuntime(25669): at android.app.ActivityThread.access$600(ActivityThread.java:130)
10-24 21:50:17.726: E/AndroidRuntime(25669): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
10-24 21:50:17.726: E/AndroidRuntime(25669): at android.os.Handler.dispatchMessage(Handler.java:99)
10-24 21:50:17.726: E/AndroidRuntime(25669): at android.os.Looper.loop(Looper.java:137)
10-24 21:50:17.726: E/AndroidRuntime(25669): at android.app.ActivityThread.main(ActivityThread.java:4745)
10-24 21:50:17.726: E/AndroidRuntime(25669): at java.lang.reflect.Method.invokeNative(Native Method)
10-24 21:50:17.726: E/AndroidRuntime(25669): at java.lang.reflect.Method.invoke(Method.java:511)
10-24 21:50:17.726: E/AndroidRuntime(25669): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
10-24 21:50:17.726: E/AndroidRuntime(25669): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
10-24 21:50:17.726: E/AndroidRuntime(25669): at dalvik.system.NativeStart.main(Native Method)
10-24 21:50:17.726: E/AndroidRuntime(25669): Caused by: java.lang.ClassNotFoundException: com.example.castsample.CastSampleActivity
10-24 21:50:17.726: E/AndroidRuntime(25669): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
10-24 21:50:17.726: E/AndroidRuntime(25669): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
10-24 21:50:17.726: E/AndroidRuntime(25669): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
10-24 21:50:17.726: E/AndroidRuntime(25669): at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
10-24 21:50:17.726: E/AndroidRuntime(25669): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974)
10-24 21:50:17.726: E/AndroidRuntime(25669): ... 11 more </code>
这是我在运行 google-cast sample 时遇到的错误。而且我不会修改 Manifest 中的任何内容。
任何帮助将不胜感激。