Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manifest merger failed #45

Open
doilio opened this issue Jun 17, 2018 · 4 comments
Open

Manifest merger failed #45

doilio opened this issue Jun 17, 2018 · 4 comments

Comments

@doilio
Copy link

doilio commented Jun 17, 2018

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
Copy link
Author

doilio commented Jun 17, 2018

`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 doilio closed this as completed Jun 17, 2018
@doilio doilio reopened this Jun 17, 2018
@doilio
Copy link
Author

doilio commented Jun 17, 2018

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
Copy link

It's still not working!

@Sagar0-0
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants