//activity_main.xml里的代碼
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="5dp"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.mingrisoft.MainActivity">
</RelativeLayout>
運行之后出現android resource linking failed
這是為什么,怎么改
uj5u.com熱心網友回復:
你的xml也是報紅,先解決報紅再說,你上面的紅說明dimen里沒有這幾個值uj5u.com熱心網友回復:
這些紅色變數,沒有在資源檔案中定義,你可以改成具體的值轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/51772.html
標籤:Android
