Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I always fail to run with an error description in the flutter contact picker

This problem only exists when I run it on Android, for iOS there is no problem, I run it smoothly. This is an error display when I try to run it :

e: /Users/yohanescatur/Documents/Development/flutter/.pub-cache/hosted/pub.dartlang.org/fluttercontactpicker-4.2.1/android/src/main/kotlin/me/schlaubi/fluttercontactpicker/ContactPicker.kt: (52, 280): Unresolved reference: stackTraceToString

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':fluttercontactpicker:compileDebugKotlin'.

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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 28s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)

can you help me find this problem?

like image 295
Irvan Thole Avatar asked Oct 14 '22 22:10

Irvan Thole


1 Answers

set kotlin to 1.4.21

this is what i did to solve this problem.

like image 151
Irvan Thole Avatar answered Oct 19 '22 08:10

Irvan Thole