Open gusdoe opened 4 years ago
I have exactly the same problem.
Additional info: when building the app in debug, the app works correctly.
Additional info: when building the app in debug, the app works correctly.
add this to your proguard-rules.pro under your android/app directory.
-keep class com.pycampers. { *; } -keep class com.amazonaws.* { ; } -keep class com.amazon. { *; }
Hi
I am trying to build your example app but when I did, confronted with the following error. What have I done wrong?
xxxxx\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:17: error: package com.pycampers.flutter_cognito_plugin does not exist com.pycampers.flutter_cognito_plugin.FlutterCognitoPlugin.registerWith(shimPluginRegistry.registrarFor("com.pycampers.flutter_cognito_plugin.FlutterCognitoPlugin")); ^ 1 error
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:compileReleaseJavaWithJavac'.
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 36s Running Gradle task 'assembleRelease'... Running Gradle task 'assembleRelease'... Done 37.4s Gradle task assembleRelease failed with exit code 1