-
Notifications
You must be signed in to change notification settings - Fork 939
Description
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.