udacity / AdvancedAndroid_Emojify

139 stars 452 forks source link

Manifest merger failed #45

Open doilio opened 6 years ago

doilio commented 6 years ago

Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(25.4.0) from [com.android.support:appcompat-v7:25.4.0] AndroidManifest.xml:28: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:26:9-28:38 to override.

Is Anyone else having this error?

doilio commented 6 years ago

`apply plugin: 'com.android.application'

android { compileSdkVersion 28 buildToolsVersion '27.0.3' defaultConfig { applicationId "com.example.android.emojify" minSdkVersion 15 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } }

dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) implementation 'com.android.support:design:25.2.0' implementation 'com.android.support:appcompat-v7:25.4.0' implementation 'com.google.android.gms:play-services-vision:15.0.2' testImplementation 'junit:junit:4.12' }`

This is what my gradle looks like

doilio commented 6 years ago

Hi for now i'll stick with the older version:

implementation 'com.google.android.gms:play-services-vision:10.2.0'

It works fine.

chaudharynidhi commented 5 years ago

It's still not working!

Sagar0-0 commented 2 years ago

62 Here have a look at this i migrated this project to androidx with all issues resolved.