Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

different roots error: :flutter_webview_plugin:compileDebugUnitTestSources

オープン
#971 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
android, flutter, java

調査の方向性

Windows 上で Flutter 3.19.5 と Android を使用して、報告されたユニットテストタスクの失敗を再現し、その後、compileDebugUnitTestSources 中にプラグインのキャッシュされた Android ソースがどのように使用されるかを調査します。異なるルートに関するエラーが表示されなくなり、アプリが引き続きビルドおよび実行できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Java
スター
1.5k
フォーク
936
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fluttercommunity/flutter_webview_plugin のほかの issue

fluttercommunity/flutter_webview_plugin の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。