试图在应用程序使用蓝牙,得到错误

问题描述:

我得到这个错误:试图在应用程序使用蓝牙,得到错误

Exception raised during rendering: com.android.layoutlib.bridge.MockView cannot be cast to android.view.ViewGroup 
Exception details are logged in Window > Show View > Error Log 
The following classes could not be found: 

- application (Fix Build Path, Edit XML) 
- manifest (Fix Build Path, Edit XML) 

,这是我的代码:

< ?xml version="1.0" encoding="utf-8"?> 
    < manifest 

    xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_height="wrap_content" 
    android:layout_width="wrap_content"> 

    <application > 
     <uses-library android:name="com.google.android.maps" /> 
    </application> 
    <uses-permission android:name="android.permission.BLUETOOTH" /> 
    < /manifest> 
+0

问题不清楚。 – ridoy 2013-05-11 17:48:24

我认为这个问题是下面的布局。

android:layout_height="wrap_content" 
    android:layout_width="wrap_content"