Browse Source

update sdk to 33

lyq.me@qq.com 1 year ago
parent
commit
f7c4afd14e
4 changed files with 18 additions and 13 deletions
  1. 12 10
      app/build.gradle
  2. 2 1
      app/src/main/AndroidManifest.xml
  3. 4 2
      build.gradle
  4. 0 0
      gradlew

+ 12 - 10
app/build.gradle

@@ -1,13 +1,13 @@
 apply plugin: 'com.android.application'
 
 android {
-    compileSdkVersion 32
+    compileSdkVersion 33
     defaultConfig {
         applicationId "me.yoqi.screenrecorder"
         minSdkVersion 16
-        targetSdkVersion 32
-        versionCode 1
-        versionName "1.0"
+        targetSdkVersion 33
+        versionCode 10001
+        versionName "1.0.1"
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
     }
     buildTypes {
@@ -19,10 +19,12 @@ android {
 }
 
 dependencies {
-    implementation fileTree(dir: 'libs', include: ['*.jar'])
-    implementation 'androidx.appcompat:appcompat:1.2.0'
-    implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
-    testImplementation 'junit:junit:4.12'
-    androidTestImplementation 'androidx.test:runner:1.2.0'
-    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
+    implementation fileTree(dir: "libs", include: ["*.jar"])
+    
+    implementation 'androidx.appcompat:appcompat:1.5.0'
+    implementation 'com.google.android.material:material:1.6.1'
+    implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
+    testImplementation 'junit:junit:4.13.2'
+    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
+    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
 }

+ 2 - 1
app/src/main/AndroidManifest.xml

@@ -39,7 +39,8 @@
             android:enabled="true"
             android:exported="true"></service>
 
-        <activity android:name=".RecorderActivity">
+        <activity android:name=".RecorderActivity"
+        android:exported="true">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
 

+ 4 - 2
build.gradle

@@ -3,7 +3,8 @@
 buildscript {
     repositories {
         google()
-        maven{url'http://maven.aliyun.com/nexus/content/groups/public/'}
+        mavenCentral()
+        // maven{url'https://maven.aliyun.com/nexus/content/groups/public/'}
         
     }
     dependencies {
@@ -17,7 +18,8 @@ buildscript {
 allprojects {
     repositories {
         google()
-        maven{url'http://maven.aliyun.com/nexus/content/groups/public/'}
+        mavenCentral()
+        // maven{url'https://maven.aliyun.com/nexus/content/groups/public/'}
         
     }
 }

+ 0 - 0
gradlew