Skip to content

bugfix: Added google() repository to allprojects to satisfy androidx build rules #520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2019

Conversation

PoojaB26
Copy link
Contributor

Adding the flutter_webview_plugin to a flutter submodule and using the AAR approach to add the module to an existing Android project brought up an issue that is detailed here. The build process breaks at :flutter:buildPluginReleaseFlutterWebviewPlugin task.

Basically, the build.gradle lists out the transitive dependencies "implementation group: 'androidx.appcompat'" but does not mention google() under allprojects/repositories. And this dependency seems to be fulfilled from google() instead of jcenter()

After adding google(), the project builds perfectly.

@charafau charafau merged commit ad0bd76 into fluttercommunity:master Aug 19, 2019
@loseleo
Copy link

loseleo commented Sep 2, 2019

Please release it to new version

charafau added a commit that referenced this pull request Apr 7, 2020
bugfix: Added google() repository to allprojects to satisfy androidx build rules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants