Tool: replace = android: value for the <meta-data> element in AndroidManisfest.xml: 25: 5-17: 34 to override

Error: execution completed for the task ':app:processDebugManifest'.

Manifest merge failed: the meta-data attribute # android.support.VERSION@value value = (25.3.0) from [com.android.support:design:25.3.0] AndroidManifest.xml: 27: 9-31 is also present in [com.android.support:support-v4:25.3.1] AndroidManifest.xml: 27: 9-31 value = (25.3.1). Suggestion: add "tools: replace =" android: value "" to the AndroidManifest.xml: 25: 5-27: 34 element to override.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.helploger.www.swipeview">
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
    <application
        android:fullBackupContent="false"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">

        <activity
            android:name=".MainActivity"
            android:label="@string/app_name"
            android:theme="@style/AppTheme.NoActionBar">
            <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.VIEW" />
                <category android:name="android.intent.category.DEFAULT"
                   />
            </intent-filter>
        </activity>
    </application>

</manifest>
+6
source share
2 answers

Android:

25.3.1 25.3.0 25.3.1 .

+7

Ionic/Ionic 3/Cordova, project.properties. .

cordova.system.library.7=com.android.support:support-v4:+  
0

Source: https://habr.com/ru/post/1017126/


All Articles