victorkvarghese / react-native-messenger

Facebook Messenger Implementation using react-native
MIT License
409 stars 142 forks source link

Build failed #2

Open cdiaz opened 5 years ago

cdiaz commented 5 years ago

Android dependency 'com.android.support:support-v4' has different version for the compile (27.0.2) and runtime (27.1.1) classpath. You should manually set the same version via DependencyResolution

Filipp22 commented 5 years ago

Android dependency 'com.android.support:support-v4' has different version for the compile (27.0.2) and runtime (27.1.1) classpath. You should manually set the same version via DependencyResolution

Same thing, same problem.

ocinbat commented 5 years ago

Same here.

C:\Workspace\react-native-messenger (master -> origin) λ react-native run-android JS server already running. Building and installing the app on the device (cd android && gradlew.bat installDebug)...

Configure project :app WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

Configure project :lottie-react-native publishNonDefault is deprecated and has no effect anymore. All variants are now published.

Configure project :react-native-fbsdk WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html WARNING: The specified Android SDK Build Tools version (26.0.2) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.4. Android SDK Build Tools 27.0.3 will be used. To suppress this warning, remove "buildToolsVersion '26.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

FAILURE: Build failed with an exception.

BUILD FAILED in 2s 11 actionable tasks: 1 executed, 10 up-to-date Could not install the app on the device, read the error above for details. Make sure you have an Android emulator running or a device connected and have set up your Android development environment: https://facebook.github.io/react-native/docs/getting-started.html

Any suggestions?