react-native-picker icon indicating copy to clipboard operation
react-native-picker copied to clipboard

Compiling failed because targetSdkVersion is too low

Open hailiangcock opened this issue 2 years ago • 1 comments

The following is recommended :

apply plugin: 'com.android.library'

android {
    compileSdkVersion 31
    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 31
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.facebook.react:react-native:+'
}

hailiangcock avatar May 28 '22 13:05 hailiangcock

compileSdkVersion 32 buildToolsVersion "32.0.0"

defaultConfig {
    minSdkVersion 16
    targetSdkVersion 32
    versionCode 1
    versionName "1.0"

    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}

caferyukseloglu avatar Oct 03 '22 07:10 caferyukseloglu