[英]No resource identifier found for attribute 'linearLayoutOrientation' in package 'android'
[英]No resource identifier found for attribute 'depurables' in package 'android'
我已經完成了我的應用程序的開發,但是當嘗試生成單個APK Android Studio時顯示:
錯誤:(11)在軟件包“ android”中找不到屬性“ depurables”的資源標識符
我刪除了android:depurables="true"
(我知道我應該讓標識符在那里,但我想嘗試),但是Android Studio再次將其放在了AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="mosaicogeek.skintigth.learning.vochostest"
android:versionCode="5"
android:versionName="Beta 2" >
<uses-sdk
android:minSdkVersion="21"
android:targetSdkVersion="21" />
<application
android:allowBackup="true"
android:depurables="false"
android:icon="@mipmap/ic_launcher"
android:label="Vochos"
android:supportsRtl="true"
android:theme="@style/AppTheme" >
<activity android:name="mosaicogeek.skintigth.learning.vochostest.MainActivity" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="android.support.v7.widget.TestActivity"
android:label="RecyclerViewTestActivity" />
</application>
</manifest>
沒有稱為depurables的屬性,這就是為什么會出現該錯誤的原因。 我懷疑Android Studio是否會自動將其添加回清單中。 查找項目中所有出現的“可凈化物”,以查看是否有發生的事情的提示。 編輯->查找->查找路徑
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.