Q&A
flutterのアプリを作成中に急に下記のエラーが出るようになりました。
flutter
1@patch 2 @pragma("vm:entry-point", "call") 3 dynamic noSuchMethod(Invocation invocation) { 4 // TODO(regis): Remove temp constructor identifier 'withInvocation'. 5 throw new NoSuchMethodError.withInvocation(this, invocation); 6 }
これがそもそも何を指すエラーなのか?なにがトリガーになっているかもわかりません。
試しに編集していたページを一度全部消してtextを一文表示するだけのstatefulウィジットにしたのですが同じでした。
Debug consoleにも何らエラー表示らしきものも出ておらず。
Flutter
1Restarted application in 991ms. 2W/DynamiteModule(11591): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found. 3I/DynamiteModule(11591): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0 4W/ProviderInstaller(11591): Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.
どうか何が起こっているかわかる方がいらっしゃいましたら教えてください。
Flutter doctorも回してみましたがエラーはありませんでした。
Flutter
1[√] Flutter (Channel stable, 3.7.6, on Microsoft Windows [Version 10.0.22000.1696], locale en-US) 2[X] Windows Version (Unable to confirm if installed Windows version is 10 or greater) 3[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) 4[√] Chrome - develop for the web 5[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.6) 6[√] Android Studio (version 2021.1) 7[√] VS Code (version 1.76.2) 8[√] Connected device (4 available) 9[√] HTTP Host Availability
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。