Skip to content

Commit

Permalink
Updated Android gradle files and manifest. #28
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldemarco committed Apr 2, 2018
1 parent 6f382cb commit 6e20da3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
5 changes: 2 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ apply plugin: 'com.android.library'
apply plugin: 'com.google.protobuf'

android {
compileSdkVersion 26
buildToolsVersion '26.0.3'
compileSdkVersion 27

defaultConfig {
minSdkVersion 21
minSdkVersion 19
targetSdkVersion 26
versionCode 1
versionName "1.0"
Expand Down
10 changes: 6 additions & 4 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,20 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 26
buildToolsVersion '26.0.3'
compileSdkVersion 27

lintOptions {
disable 'InvalidPackage'
}

defaultConfig {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.pauldemarco.flutterblueexample"
minSdkVersion 19
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

buildTypes {
Expand Down
6 changes: 1 addition & 5 deletions example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.pauldemarco.flutterblueexample"
android:versionCode="1"
android:versionName="0.0.1">

<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21" />
package="com.pauldemarco.flutterblueexample">

<!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application
Expand Down

0 comments on commit 6e20da3

Please sign in to comment.