File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
src/main/java/com/zxc/jtik Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55}
66
77ext {
8- minSdk = 26
8+ minSdk = 21
99 compileSdk = 34
1010 targetSdk = 31
1111 ndkVersion = " 25.2.9519653"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ android {
1010 compileSdk 33
1111
1212 defaultConfig {
13- minSdk 26
13+ minSdk rootProject . ext . minSdk
1414
1515 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1616 consumerProguardFiles " consumer-rules.pro"
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ public class Jtik {
2323
2424 private static boolean sInitialized = false ;
2525 public static synchronized boolean init (Context context ) {
26+ if (Build .VERSION .SDK_INT < Build .VERSION_CODES .O ){
27+ return false ;
28+ }
2629 if (sInitialized ) {
2730 return false ;
2831 }
You can’t perform that action at this time.
0 commit comments