flutter-sdk icon indicating copy to clipboard operation
flutter-sdk copied to clipboard

Build failed.

Open SatyamKr07 opened this issue 1 year ago • 4 comments

This is the error I am getting after upgrading to truecaller_sdk 0.1.1

e: /Users/a1222/development/flutter/.pub-cache/hosted/pub.dartlang.org/truecaller_sdk-0.1.1/android/src/main/kotlin/com/truecallersdk/TruecallerSdkPlugin.kt: (146, 38): Type mismatch: inferred type is String? but String was expected

FAILURE: Build failed with an exception.

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

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-x64, locale en-GB) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 13.4.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.2) [✓] VS Code (version 1.68.0) [✓] Connected device (3 available) [✓] HTTP Host Availability

SatyamKr07 avatar Sep 02 '22 08:09 SatyamKr07