fluttercommunity / fluttercommunity/flutter_webview_plugin

different roots error: :flutter_webview_plugin:compileDebugUnitTestSources

Offen
#971 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
1.5k
Forks
938
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## System info
Issue occurs on: Android
Plugin version: 0.4.0

**Errors**
> [!CAUTION]
> The supplied phased action failed with an exception.
> Could not create task ':flutter_webview_plugin:compileDebugUnitTestSources'.
> this and base files have different roots: F:/path/build/flutter_webview_plugin and C:/Users/user/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_webview_plugin-0.4.0/android.

**Flutter Doctor**
```
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.5, on Microsoft Windows [Version 10.0.19045.4239], locale de-DE)
• Flutter version 3.19.5 on channel stable at F:\flutter\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 300451adae (11 days ago), 2024-03-27 21:54:07 -0500
• Engine revision e76c956498
• Dart version 3.3.3
• DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\Users\Bizzi\AppData\Local\Android\Sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = C:\Users\Bizzi\AppData\Local\Android\Sdk
• ANDROID_SDK_ROOT = C:\Users\Bizzi\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)
X Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Android Studio (version 2023.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[√] VS Code (version 1.88.0)
• VS Code at C:\Users\Bizzi\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.86.0

[√] Connected device (1 available)
• XQ CC54 (mobile) • HQ625W350F • android-arm64 • Android 14 (API 34)

[√] Network resources
• All expected network resources are available.

! Doctor found issues in 1 category.
```

The error message appears in `Visual Studio Code`. I think that there are only problems with the unit tests. This does not affect the executability or the build process of the app.

Executing `flutter pub outdated`, `dart pub cache clean`, `dart pub cache repair`, `flutter clean` was not successful to fix the errors.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.