From 7acce8fa334a98498b020bdb7ff0a8ba3dcb2e5f Mon Sep 17 00:00:00 2001 From: crly <375769157@qq.com> Date: Fri, 26 Nov 2021 12:44:28 +0800 Subject: [PATCH] androidx --- android/build.gradle | 8 ++++---- .../src/main/java/com/beefe/picker/PickerViewModule.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 01dd5ac1a..108022f79 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.library' android { - compileSdkVersion 23 - buildToolsVersion "23.0.1" + compileSdkVersion 29 + buildToolsVersion "29.0.3" defaultConfig { - minSdkVersion 16 - targetSdkVersion 23 + minSdkVersion 21 + targetSdkVersion 29 versionCode 1 versionName "1.0" diff --git a/android/src/main/java/com/beefe/picker/PickerViewModule.java b/android/src/main/java/com/beefe/picker/PickerViewModule.java index 3ae70ddb6..4b5e5ba82 100644 --- a/android/src/main/java/com/beefe/picker/PickerViewModule.java +++ b/android/src/main/java/com/beefe/picker/PickerViewModule.java @@ -4,7 +4,7 @@ import android.app.Dialog; import android.graphics.Color; import android.graphics.PixelFormat; -import android.support.annotation.Nullable; +import androidx.annotation.Nullable; import android.text.TextUtils; import android.view.Gravity; import android.view.View;