Closed dheerajbred closed 5 years ago
Error is showing up when building a release version for example app
Cannot find a version of 'com.android.support:support-annotations' that satisfies the version constraints: Dependency path 'android:app:unspecified' --> 'com.android.support.test:runner:1.0.2' --> 'com.android.support:support-annotations:27.1.1' Constraint path 'android:app:unspecified' --> 'com.android.support:support-annotations:{strictly 25.2.0}' because of the following reason: debugRuntimeClasspath uses version 25.2.0 Constraint path 'android:app:unspecified' --> 'com.android.support:support-annotations:{strictly 25.2.0}' because of the following reason: debugRuntimeClasspath uses version 25.2.0 Dependency path 'android:app:unspecified' --> 'com.android.support.test:runner:1.0.2' --> 'com.android.support.test:monitor:1.0.2' --> 'com.android.support:support-annotations:27.1.1' Constraint path 'android:app:unspecified' --> 'com.android.support:support-annotations:{strictly 25.2.0}' because of the following reason: debugRuntimeClasspath uses version 25.2.0 Constraint path 'android:app:unspecified' --> 'com.android.support:support-annotations:{strictly 25.2.0}' because of the following reason: debugRuntimeClasspath uses version 25.2.0 Constraint path 'android:app:unspecified' --> 'com.android.support:support-annotations:{strictly 25.2.0}' because of the following reason: debugRuntimeClasspath uses version 25.2.0 Dependency path 'android:app:unspecified' --> 'com.dsi.facebook_audience_network:facebook_audience_network:1.0-SNAPSHOT' --> 'com.facebook.android:audience-network-sdk:5.3.0' --> 'com.google.android.gms:play-services-basement:11.0.4' --> 'com.android.support:support-v4:25.2.0' --> 'com.android.support:support-compat:25.2.0' --> 'com.android.support:support-annotations:25.2.0' Dependency path 'android:app:unspecified' --> 'com.dsi.facebook_audience_network:facebook_audience_network:1.0-SNAPSHOT' --> 'com.facebook.android:audience-network-sdk:5.3.0' --> 'com.google.android.gms:play-services-basement:11.0.4' --> 'com.android.support:support-v4:25.2.0' --> 'com.android.support:support-media-compat:25.2.0' --> 'com.android.support:support-annotations:25.2.0' Dependency path 'android:app:unspecified' --> 'com.dsi.facebook_audience_network:facebook_audience_network:1.0-SNAPSHOT' --> 'com.facebook.android:audience-network-sdk:5.3.0' --> 'com.google.android.gms:play-services-basement:11.0.4' --> 'com.android.support:support-v4:25.2.0' --> 'com.android.support:support-core-utils:25.2.0' --> 'com.android.support:support-annotations:25.2.0' Dependency path 'android:app:unspecified' --> 'com.dsi.facebook_audience_network:facebook_audience_network:1.0-SNAPSHOT' --> 'com.facebook.android:audience-network-sdk:5.3.0' --> 'com.google.android.gms:play-services-basement:11.0.4' --> 'com.android.support:support-v4:25.2.0' --> 'com.android.support:support-core-ui:25.2.0' --> 'com.android.support:support-annotations:25.2.0'
Try changing the gradle version of the example app to 3.2.1. The build used to fail with the current 3.4.0 version, but after switching it back to 3.2.1, it works.
Yup, it is working now 👍
Error is showing up when building a release version for example app