Skip to content
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

Not able to startup with flutter #182

Closed
sameerbakre opened this issue Sep 6, 2018 · 1 comment
Closed

Not able to startup with flutter #182

sameerbakre opened this issue Sep 6, 2018 · 1 comment

Comments

@sameerbakre
Copy link

I have newly downloaded everything and created a new flutter project. After that I added flutter_webview_plugin in the pubspec.yaml.

In my main.dart, I only created a sample webview like following.
Widget build(BuildContext context) {
return new MaterialApp(
routes: {
"/": (_) => new WebviewScaffold(
url: "https://www.google.com",
appBar: new AppBar(
title: new Text("Widget webview"),
),
)
},
);
}

When I run the flutter, I get following error.

  • Error running Gradle:
    Exit code 1 from: C:\Drive\soa6\flutter_soa\soa\android\gradlew.bat app:properties:

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':flutter_webview_plugin'.

Failed to find target with hash string 'android-25' in: C:\Users\sameer.bakre\AppData\Local\Android\sdk

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 3s
Please review your Gradle project setup in the android/ folder.

@sameerbakre
Copy link
Author

I am able to get it running after completely uninstalling and installing Android SDK again

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

No branches or pull requests

1 participant