Всем добрый вечер. Не получается собрать проект. Ошибка
* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.1) from [com.android.support:recyclerview-v7:26.0.1] AndroidManifest.xml:25:13-35
is also present at [com.android.support:support-v4:26.1.0] AndroidManifest.xml:28:13-35 value=(26.1.0).
Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:23:9-25:38 to override.
build.gradle
dependencies {
implementation project(':react-native-video')
implementation project(':react-native-spinkit')
implementation project(':react-native-push-notification')
implementation project(':react-native-orientation')
implementation project(':react-native-onesignal')
implementation project(':react-native-fbsdk')
implementation project(':react-native-appodeal')
implementation project(':react-native-adjust')
implementation "com.android.support:recyclerview-v7:26.0.1"
implementation 'com.android.support:appcompat-v7:26.0.1'
implementation 'com.google.android.gms:play-services:11.8.0'
implementation 'com.facebook.fresco:animated-base-support:1.3.0'
implementation 'com.facebook.fresco:animated-gif:1.3.0'
implementation 'com.android.installreferrer:installreferrer:+'
implementation 'com.android.support:multidex:1.0.1'
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.facebook.react:react-native:+'
// From node_modules
}
apply plugin: 'com.google.gms.google-services'
AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.app"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="27" />
<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:allowBackup="false"
android:theme="@style/AppTheme">
<receiver
android:name="com.adjust.sdk.AdjustReferrerReceiver"
android:exported="true" >
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id"
/>
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:launchMode="singleTop"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
</application>
</manifest>
Уже все перепробовал, ничего не выходит.
Но самое смешное то, что никогда не было у меня такой проблемы, буквально вчера сидел, спокойно работал,
а сегодня решил нервы потрепать.
Подскажите как бороться с этой опухолью? Не знаю уже что делать.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Решил вопрос.
https://medium.com/@suchydan/how-to-solve-google-p...