Skip to content

Conversation

@devoncarew
Copy link
Contributor

Fix #4429, support building and running a gradle based project from flutter tools.

  • augment the flutter config command to allow users to configure specific paths to installed tools, like gradle-dir and android-studio-dir
  • recognize when a project is gradle based
  • locate gradle
  • create an android/gradle file as necessary
  • create an android/local.properties file as necessary
  • inject compileSdkVersion and buildToolsVersion into android/app/build.gradle

This updates the behavior of flutter build apk ad flutter run. @abarth @jason-simmons


lintOptions {
disable 'InvalidPackage'
abortOnError false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is important?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My build didn't complete w/o this; I'll re-run and post the error here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And... I don't see the lint / javac error that was failing the build anymore. I'll remove this line.

@abarth
Copy link
Contributor

abarth commented Jul 19, 2016

LGTM

@devoncarew devoncarew merged commit 57b76a0 into flutter:master Jul 20, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hello_Services sample not working with Atom

2 participants