diff --git a/Readme-ja.md b/Readme-ja.md
index 44cd45c..14b152b 100644
--- a/Readme-ja.md
+++ b/Readme-ja.md
@@ -125,4 +125,4 @@ SSLを復号化するには、ローカルプロキシツールのRoot証明書
## 開発環境
* JRE(JDK) 1.8以上(Open JDK)
-* AndroidStudio 3.6.1 (https://developer.android.com/studio/index.html)
+* AndroidStudio 2021.1.1 (https://developer.android.com/studio/index.html)
diff --git a/Readme.md b/Readme.md
index 5563c87..d50b399 100644
--- a/Readme.md
+++ b/Readme.md
@@ -121,4 +121,4 @@ Most of the code was created based on the following applications for creating ap
## Development environment
* JRE(JDK) 1.8 or later(Open JDK)
-* AndroidStudio 3.6.1 (https://developer.android.com/studio/index.html)
+* AndroidStudio 2021.1.1 (https://developer.android.com/studio/index.html)
diff --git a/android_app/app/build.gradle b/android_app/app/build.gradle
index df2a9b5..fc60e5f 100644
--- a/android_app/app/build.gradle
+++ b/android_app/app/build.gradle
@@ -1,8 +1,8 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 30
- buildToolsVersion "30.0.3"
+ compileSdkVersion 31
+ buildToolsVersion "31.0.0"
sourceCompatibility = '1.8' // -source
targetCompatibility = '1.8' // -target
@@ -10,8 +10,8 @@ android {
defaultConfig {
applicationId "tun.proxy"
minSdkVersion 21
- targetSdkVersion 30
- versionCode 100260
+ targetSdkVersion 31
+ versionCode 100270
versionName VERSION_NAME
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild {
diff --git a/android_app/app/src/main/AndroidManifest.xml b/android_app/app/src/main/AndroidManifest.xml
index a790a74..67dea71 100644
--- a/android_app/app/src/main/AndroidManifest.xml
+++ b/android_app/app/src/main/AndroidManifest.xml
@@ -18,10 +18,10 @@
+ android:theme="@style/AppTheme.NoActionBar"
+ android:exported="true">
-
@@ -36,7 +36,8 @@
+ android:permission="android.permission.BIND_VPN_SERVICE"
+ android:exported="true">
@@ -44,7 +45,8 @@
+ android:label="@string/app_name"
+ android:exported="true">
diff --git a/android_app/build.gradle b/android_app/build.gradle
index 11be1a2..7fec861 100644
--- a/android_app/build.gradle
+++ b/android_app/build.gradle
@@ -8,12 +8,8 @@ buildscript {
}
-
dependencies {
- classpath 'com.android.tools.build:gradle:4.2.2'
-
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
+ classpath 'com.android.tools.build:gradle:7.0.2'
}
}
diff --git a/android_app/gradle.properties b/android_app/gradle.properties
index 63fb15f..264a3da 100644
--- a/android_app/gradle.properties
+++ b/android_app/gradle.properties
@@ -19,7 +19,7 @@ android.useAndroidX=true
android.enableJetifier=true
APP_NAME=TunProxy
-VERSION_NAME=1.2.6
+VERSION_NAME=1.2.7
productKeyStore=../changeit.jks
productKeyAlias=key0