File tree 4 files changed +8
-8
lines changed
src/main/java/com/example/jingbin/webviewstudy
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.application'
2
2
3
3
android {
4
- compileSdkVersion 27
5
- buildToolsVersion " 26 .0.2 "
4
+ compileSdkVersion 28
5
+ buildToolsVersion " 28 .0.3 "
6
6
defaultConfig {
7
7
applicationId " com.example.jingbin.webviewstudy"
8
8
minSdkVersion 14
9
- targetSdkVersion 27
9
+ targetSdkVersion 28
10
10
versionCode 6
11
11
versionName " 2.6.0"
12
12
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
@@ -43,7 +43,7 @@ dependencies {
43
43
androidTestImplementation(' com.android.support.test.espresso:espresso-core:2.2.2' , {
44
44
exclude group : ' com.android.support' , module : ' support-annotations'
45
45
})
46
- implementation ' com.android.support:appcompat-v7:27.1.1 '
46
+ implementation ' com.android.support:appcompat-v7:28.0.0 '
47
47
testImplementation ' junit:junit:4.12'
48
48
debugImplementation ' com.squareup.leakcanary:leakcanary-android:1.6.1'
49
49
releaseImplementation ' com.squareup.leakcanary:leakcanary-android-no-op:1.6.1'
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ private void initWebView() {
174
174
// 排版适应屏幕
175
175
ws .setLayoutAlgorithm (WebSettings .LayoutAlgorithm .NARROW_COLUMNS );
176
176
// WebView是否新窗口打开(加了后可能打不开网页)
177
- ws .setSupportMultipleWindows (true );
177
+ // ws.setSupportMultipleWindows(true);
178
178
179
179
// webview从5.0开始默认不允许混合模式,https中不能加载http资源,需要设置开启。
180
180
if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .LOLLIPOP ) {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
6
6
jcenter()
7
7
}
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:3.0 .1'
9
+ classpath ' com.android.tools.build:gradle:3.3 .1'
10
10
// NOTE: Do not place your application dependencies here; they belong
11
11
// in the individual module build.gradle files
12
12
}
Original file line number Diff line number Diff line change 1
- # Tue May 22 10:43:23 CST 2018
1
+ # Fri Mar 01 11:29:01 CST 2019
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.1-all.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.10. 1-all.zip
You can’t perform that action at this time.
0 commit comments