Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error:Execution failed for task ':flutter_smart_auth:compileDebugKotlin'. > Compilation error. See log for more details #5

Closed
GauravCalidig opened this issue Oct 7, 2022 · 6 comments

Comments

@GauravCalidig
Copy link

No description provided.

@Tkko
Copy link
Owner

Tkko commented Dec 23, 2022

@GauravCalidig Could you add the logs?

@rorystephenson
Copy link

Running Gradle task 'assembleDevelopmentDebug'...
e: .../.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.6/android/src/main/kotlin/fman/ge/smart_auth/SmartAuthPlugin.kt: (37, 7): Redeclaration: SmartAuthPlugin
e: .../.pub-cache/hosted/pub.dartlang.org/smart_auth-1.0.7/android/src/main/kotlin/fman/ge/smart_auth/SmartAuthPlugin.kt: (31, 7): Redeclaration: SmartAuthPlugin

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':smart_auth:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)

* 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 1m 13s
Exception: Gradle task assembleDevelopmentDebug failed with exit code 1

@rorystephenson
Copy link

Fixed by a flutter clean and flutter pub get.

@Milimeter
Copy link

not working. Same issue

@shtreb
Copy link

shtreb commented Nov 14, 2024

The same problem with latest version

Note: Recompile with -Xlint:unchecked for details.
pub.dev/smart_auth-2.0.0/android/src/main/kotlin/fman/ge/smart_auth/AppSignatueHelper.kt:38:30 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type SigningInfo?
pub.dev/smart_auth-2.0.0/android/src/main/kotlin/fman/ge/smart_auth/AppSignatueHelper.kt:39:20 Type mismatch: inferred type is Array<(out) Signature!>? but Array was expected

FAILURE: Build failed with an exception.

@shtreb
Copy link

shtreb commented Nov 14, 2024

Look at my PR #27

@Tkko Tkko closed this as completed Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants