diff --git a/app/build.gradle b/app/build.gradle index 9a65b8ee7878b013b0c1441c9104230ff2c3e126..84e5860d8baa7464d25cda30f2cbfa3a09fa800b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,21 +1,30 @@ apply plugin: 'com.android.application' - apply plugin: 'kotlin-android' - apply plugin: 'kotlin-android-extensions' android { - compileSdkVersion 28 + compileSdkVersion 27 defaultConfig { - applicationId "com.duolebo.dlbbot" + applicationId "com.duolebo.bylrobot" minSdkVersion 15 targetSdkVersion 22 versionCode 1 versionName "1.0" } + + signingConfigs { + release { + storeFile file('../duolebo') + keyAlias 'duolebo' + storePassword '1qaz2wsx#' + keyPassword '1qaz2wsx#' + } + } + buildTypes { release { minifyEnabled false + signingConfig signingConfigs.release proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } @@ -23,7 +32,9 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation 'androidx.appcompat:appcompat:1.0.0-alpha1' - implementation 'androidx.constraintlayout:constraintlayout:1.1.2' + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + implementation 'com.android.support:appcompat-v7:27.1.1' + implementation 'org.nanohttpd:nanohttpd:2.2.0' + implementation 'com.yanzhenjie:andserver:1.1.4' + implementation(name: 'vpnadaptercore-release', ext: 'aar') } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index dae794b91be943cd1aee9686fda8ffca9abdbecc..6cce2a5c4cb0d5cf6f605b8f191fd921efeeeb6c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -5,6 +5,10 @@ + + + + - + + + - + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 4fc244418b5fe524789352d1b1b52d1b22045f3a..1b20f116b94a20a33918c93755dfeb8f5f1c55cf 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,18 +1,24 @@ - + android:layout_width="match_parent"> - + android:text="选择App抓包" + android:layout_centerInParent="true"/> - \ No newline at end of file +