當我們在eclipse中導入android studio項目時,它顯示以下錯誤。如何導入eclipse中使用庫的android studio項目?
Android工作室項目包含項目和庫,當我們導入所有編譯時錯誤已解決,但是當我們從eclipse運行項目時它顯示錯誤。
項目鏈接= 「https://github.com/glomadrian/material-code-input」 和波紋管是我的XML佈局文件。
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="10dp"
android:background="#FFF"
>
<com.github.glomadrian.codeinputlib.CodeInput
android:layout_marginTop="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:hint_text="Pairing code"
android:id="@+id/pairing"
/>
<com.github.glomadrian.codeinputlib.CodeInput
android:layout_marginTop="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:underline_color="#457ad1"
app:underline_selected_color="#9e1ace"
app:text_color="#b12eff"
app:hint_color="#77ce9d"
app:hint_text="Pin code"
app:codes="4"
/>
<com.github.glomadrian.codeinputlib.CodeInput
android:layout_marginTop="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:underline_color="#d19385"
app:underline_selected_color="#ce3a47"
app:text_color="#5c282c"
app:hint_color="#ce1087"
app:hint_text="Cheat code"
app:codes="8"
/>
<com.github.glomadrian.codeinputlib.CodeInput
android:layout_marginTop="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:underline_color="#03A9F4"
app:underline_selected_color="#3F51B5"
app:text_color="#212121"
app:hint_color="#03A9F4"
app:hint_text="Hash code"
app:codes="10"
/>
</LinearLayout>
下面是截圖。
你可以發佈此活動使用的xml佈局文件嗎? –
上面是我的xml文件 –
你只需升級eclipse版本和sdk即可獲得V7的支持。你去... – Gopal00005