From 9f7a694203924607158216d72a427c5c4ad185ab Mon Sep 17 00:00:00 2001 From: Jordan Silva Date: Fri, 2 Nov 2018 14:51:29 +0100 Subject: [PATCH 1/4] Updating gradle and Android SDK version --- android/build.gradle | 6 +++--- example/android/app/build.gradle | 11 ++++++----- example/android/app/src/main/AndroidManifest.xml | 2 -- example/android/build.gradle | 2 +- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 16f9b652..4c636175 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -8,7 +8,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.1.2' + classpath 'com.android.tools.build:gradle:3.2.1' } } @@ -21,8 +21,8 @@ allprojects { apply plugin: 'com.android.library' android { - compileSdkVersion 25 - buildToolsVersion '27.0.3' + compileSdkVersion 28 + buildToolsVersion '28.0.3' defaultConfig { testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index ae528f8e..ffa0033a 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -15,8 +15,8 @@ apply plugin: 'com.android.application' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 27 - buildToolsVersion '27.0.3' + compileSdkVersion 28 + buildToolsVersion '28.0.3' lintOptions { disable 'InvalidPackage' @@ -27,6 +27,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.yourcompany.flutter_webview_plugin_example" + minSdkVersion 16 } buildTypes { @@ -43,7 +44,7 @@ flutter { } dependencies { - androidTestCompile 'com.android.support:support-annotations:25.0.0' - androidTestCompile 'com.android.support.test:runner:0.5' - androidTestCompile 'com.android.support.test:rules:0.5' + androidTestImplementation 'com.android.support:support-annotations:28.0.0' + androidTestImplementation 'com.android.support.test:runner:1.0.2' + androidTestImplementation 'com.android.support.test:rules:1.0.2' } diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index d7e68ac7..981cfe8c 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -3,8 +3,6 @@ android:versionCode="1" android:versionName="0.0.1"> - -