Skip to content

Commit

Permalink
Merge pull request hungrymonkey#5 from hungrymonkey/android_build
Browse files Browse the repository at this point in the history
Fixed gradles using android studio 3.3.2
hungrymonkey authored Apr 13, 2019
2 parents 29366b7 + fcc489b commit ecc6811
Showing 4 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -24,11 +24,11 @@ apply plugin: 'com.android.library'

android {
compileSdkVersion 25
buildToolsVersion '25.0.3'

defaultConfig {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
minSdkVersion = 16
targetSdkVersion 21
}
lintOptions {
disable 'InvalidPackage'
5 changes: 2 additions & 3 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yourcompany.micstream"
android:versionCode="1"
android:versionName="0.0.1">
android:versionCode="2"
android:versionName="0.0.2">

<uses-sdk android:targetSdkVersion="21" />
</manifest>
8 changes: 4 additions & 4 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -16,7 +16,6 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 25
buildToolsVersion '25.0.3'

lintOptions {
disable 'InvalidPackage'
@@ -28,6 +27,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.yourcompany.micstreamexample"
minSdkVersion 21
targetSdkVersion 21
}

buildTypes {
@@ -44,7 +44,7 @@ flutter {
}

dependencies {
androidTestCompile 'com.android.support:support-annotations:25.4.0'
androidTestCompile 'com.android.support.test:runner:0.5'
androidTestCompile 'com.android.support.test:rules:0.5'
androidTestImplementation 'com.android.support:support-annotations:25.4.0'
androidTestImplementation 'com.android.support.test:runner:0.5'
androidTestImplementation 'com.android.support.test:rules:0.5'
}
6 changes: 2 additions & 4 deletions example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yourcompany.micstreamexample"
android:versionCode="1"
android:versionName="0.0.1">

<uses-sdk android:targetSdkVersion="21" />
android:versionCode="2"
android:versionName="0.0.2">

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

0 comments on commit ecc6811

Please sign in to comment.