Description:
I tried to setup the flutter_appauth package in flutter project, but getting below error while building the project.
Error:
<PROJECT_DIRECTORY_PATH>\flutter_keycloak_app\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:16: error: package io.crossingthestreams.flutterappauth does not exist
flutterEngine.getPlugins().add(new io.crossingthestreams.flutterappauth.FlutterAppauthPlugin());
^
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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4m 24s
Exception: Gradle task assembleDebug failed with exit code 1
As per note mentioned in the documentation app already using the AndroidX.
Android gradle.properties contents:
If your app cannot see the package then you need to check your environment. It's likely it didn't pull the plugin down properly e.g. a corrupt pub cache. This isn't something I can help with
Hello,
Description: I tried to setup the flutter_appauth package in flutter project, but getting below error while building the project.
Error:
As per note mentioned in the documentation app already using the AndroidX. Android gradle.properties contents:
Flutter Version:
flutter_appauth package version:
flutter_appauth: ^0.9.2+6