jordanbyron / react-native-quick-actions

A react-native interface for Touch 3D home screen quick actions
MIT License
1.06k stars 93 forks source link

Fix conflict android #88

Closed dao-wkm closed 5 years ago

dao-wkm commented 5 years ago

My android/build.gradle file:

ext {
    buildToolsVersion = "27.0.3"
    minSdkVersion = 19
    compileSdkVersion = 27
    targetSdkVersion = 26
    supportLibVersion = "27.1.1"
    // googlePlayServicesVersion = "16.0.1" // default: "+"
    // firebaseVersion = "16.0.1" // default: "+"
}
tushgup commented 5 years ago

I'm having trouble building an APK as well. Here's the exact error:

What went wrong: Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [:react-native-quick-actions] .../node_modules/react-native-quick-actions/android/build/intermediates/library_manifest/debug/AndroidManifest.xml as the library might be using APIs not available in 16 Suggestion: use a compatible library with a minSdk of at most 16, or increase this project's minSdk version to at least 21, or use tools:overrideLibrary="com.reactNativeQuickActions" to force usage (may lead to runtime failures)