Update target sdk to 29

This commit is contained in:
yuhan6665
2020-04-20 22:09:35 -04:00
parent d7d7e029e0
commit 6bee795c0d
13 changed files with 16 additions and 12 deletions

View File

@@ -3,8 +3,8 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
compileSdkVersion Integer.parseInt("$compileSdkVer")
buildToolsVersion buildToolsVer
compileOptions {
targetCompatibility = "8"

Binary file not shown.

View File

@@ -27,7 +27,8 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
android:theme="@style/AppTheme"
android:extractNativeLibs="true">
<activity
android:name=".ui.MainActivity"
android:theme="@style/AppTheme.NoActionBar"

View File

@@ -103,6 +103,7 @@ class V2RayVpnService : VpnService() {
val policy = StrictMode.ThreadPolicy.Builder().permitAll().build()
StrictMode.setThreadPolicy(policy)
v2rayPoint.packageName = Utils.packagePath(applicationContext)
v2rayPoint.packageCodePath = applicationContext.applicationInfo.nativeLibraryDir + "/"
Seq.setContext(applicationContext)
}

View File

@@ -441,7 +441,6 @@ object Utils {
return path
}
/**
* readTextFromAssets
*/

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,8 +1,8 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
compileSdkVersion Integer.parseInt("$compileSdkVer")
buildToolsVersion buildToolsVer
defaultConfig {
minSdkVersion 17

View File

@@ -16,7 +16,7 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryErro
ankoVersion=0.10.8
kotlinVersion=1.3.40
supportLibVersion=28.0.0
buildToolsVer=28.0.3
compileSdkVer=28
buildToolsVer=29.0.3
compileSdkVer=29
kotlin.incremental=true
targetSdkVer=28
targetSdkVer=29