我想使用Eclipse安装和调试项目。它找到了设备,并尝试安装,但我得到了下面的错误。这款手机是"HTC One S“,它是自定义ROM,代号为Lungo One S (4.3)。应用程序是Kontalk项目和17 ( 4.2.2 )示例中的ApiDemos,它们都是为4.2.2构建的。在模拟器中安装可以工作。10-10 00:36:30.783: E/AndroidRuntime(2943): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
10-10 00:3
: at com.example.myapp.SearchResultsActivity.onCreateOptionsMenu(SearchResultsActivity.java:114)10(19406): at android.support.v4.app.FragmentActivity.onCreatePanelMenu
下面是堆栈跟踪:10-10 15:52:56.487: ERRORandroid.view.InflateException: Binary XML file line #17: Error inflating class android.widget.Spinner
10AndroidRuntime(4187): at android.app.ActivityThread.perf
10-10 20:37:19.576: ERROR/AndroidRuntime(7619): Uncaught handler: thread main exiting due to uncaughtexception
10-10 20:37:19.586: ERROR/AndroidRuntime(7619): java.lang.IllegalStateException: The content2131296396, class android.widget.ListView) with Adapter(class android