Skip to content

Commit

Permalink
upgrade sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
x-falcon committed Sep 12, 2017
1 parent be9444a commit 99ea49f
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "com.github.xfalcon.vhosts"
minSdkVersion 19
Expand Down Expand Up @@ -31,7 +31,10 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.2.0'
compile files('libs/Baidu_Mtj_3.8.0.51.jar')
compile 'com.android.support:appcompat-v7:26.0.0-alpha1'
compile 'com.android.support:cardview-v7:26.0.0-alpha1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.github.zcweng:switch-button:0.0.3@aar'
testCompile 'junit:junit:4.12'
}
Binary file removed app/libs/Baidu_Mtj_3.8.0.2.jar
Binary file not shown.
Binary file added app/libs/Baidu_Mtj_3.8.0.51.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private void setupVPN() {
if (vpnInterface == null) {
Builder builder = new Builder();
builder.addAddress(VPN_ADDRESS, 32);
// builder.addRoute(VPN_ROUTE, 0);
builder.addRoute(VPN_ROUTE, 0);
VPN_DNS=getString(R.string.dns_server);
Log.d(TAG,"use dns:"+VPN_DNS);
builder.addRoute(VPN_DNS, 32);
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0.2-all.zip

0 comments on commit 99ea49f

Please sign in to comment.