نص الخطأ
Manifest merger failed with multiple errors, see logs Attribute application@label value=(App) from AndroidManifest.xml is also present at [lib] value=(Lib). Suggestion: add 'tools:replace="android:label"' to <application> element
Manifest merger failed with multiple errors, see logs Attribute application@label value=(App) from AndroidManifest.xml is also present at [lib] value=(Lib). Suggestion: add 'tools:replace="android:label"' to <application> element
ملفات AndroidManifest للتطبيق وللمكتبات تضع السمة نفسها بقيم مختلفة. لا يستطيع Gradle دمجها.
xmlns:tools إلى وسم <manifest>.tools:replace="android:label".tools:node="remove".android:exported صراحة لكل <activity> فيها intent filter.<manifest xmlns:tools="http://schemas.android.com/tools" ...>
<application
android:label="@string/app_name"
tools:replace="android:label">
</application>
</manifest>
./gradlew :app:processDebugMainManifest --stacktraceبعد تعديل المانيفست افتح عرض Merged Manifest؛ النتيجة النهائية تظهر هناك.
المؤلف والترخيص: Nibras Code