[英]No resource identifier found for attribute 'paddingEnd' in Package 'android'
[英]no resource identifier found for attribute 'launchmode' in package android
這是我的AndroidManifiedt.xml文件他們的錯誤是2錯誤在android軟件包中找不到屬性'launchmode'的資源標識符在android軟件包中找不到屬性'stateNotNeeded'的資源標識符
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="a52.puri.fbkunal.com.launcher">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen"
android:launchMode="singleTask"
android:stateNotNeeded="true"
android:
>
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.HOME" />
</intent-filter>
</activity>
</application>
</manifest>
將launchMode
分配給不在應用程序標記中的“活動”。 基本上,我們可以直接將launchMode
分配為AndroidManifest.xml文件列表中的<activity>
標簽的屬性:
<activity
android:name=".SingleTaskActivity"
android:label="singleTask launchMode"
android:launchMode="singleTask">
您正在為application
標簽分配未知屬性,android中的launchMode
用於活動。 活動啟動,並且對用戶可見,但是啟動應用程序時,應用程序僅啟動一次。 您可以說應用程序是Android App的起點。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.