2013-05-11 25 views
-1

我得到這個錯誤:試圖在應用程序使用藍牙,得到錯誤

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

回答

0

我認爲這個問題是下面的佈局。

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