You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrade flutter, now pathprovider is a plugin. I try to use it but get the below error. I think something is wrong with registration of plugins. The GeneratedPluginRegistrant file is generated automatically.
This is the output on a new project. Although in my old project fails too. Furthermore in my old app show an additional issue in the settings.gradle file that is not updated.
Logs
PS C:\PROGRAMACION\FLUTTER\mysterion> flutter run
Running 'flutter packages get' in mysterion... 1.2s
Launching lib/main.dart on SM A510F in debug mode...
Running 'gradle assembleDebug'...
C:\PROGRAMACION\FLUTTER\mysterion\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:11: error: cannot find symbol
PathProviderPlugin.registerWith(registry.registrarFor("io.flutter.plugins.path_provider.PathProviderPlugin"));
^
symbol: method registerWith(Registrar)
location: class PathProviderPlugin
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Gradle build failed: 1
Flutter Doctor
PS C:\PROGRAMACION\FLUTTER\mysterion> flutter doctor
[√] Flutter (on Microsoft Windows [Versión 10.0.15063], channel master)
• Flutter at C:\flutter
• Framework revision 9b56c1c58c (3 hours ago), 2017-05-10 09:41:55 +0200
• Engine revision cbbf956fcb
• Tools Dart version 1.23.0-dev.11.11
[√] Android toolchain - develop for Android devices (Android SDK 25.0.3)
• Android SDK at C:\Users\Drasius\AppData\Local\Android\sdk
• Platform android-25, build-tools 25.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[√] Android Studio (version 2.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Gradle version 3.2
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[-] IntelliJ IDEA Community Edition (version 14)
• Dart plugin version 141.1586
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/managing-plugins.html
[-] WebStorm (version 2016.1)
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/managing-plugins.html
[√] Connected devices
• SM A510F • 3300886347c56327 • android-arm • Android 6.0.1 (API 23)
> For more information about diagnosing and reporting Flutter bugs, please see [https://flutter.io/bug-reports/](https://flutter.io/bug-reports/).
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Steps to Reproduce
After upgrade flutter, now pathprovider is a plugin. I try to use it but get the below error. I think something is wrong with registration of plugins. The GeneratedPluginRegistrant file is generated automatically.
This is the output on a new project. Although in my old project fails too. Furthermore in my old app show an additional issue in the settings.gradle file that is not updated.
Logs
Flutter Doctor
The text was updated successfully, but these errors were encountered: