amorenew/Flutter-Mobile-Number-Plugin

/flutter/.pub-cache/hosted/pub.dartlang.org/mobile_number-1.0.4/android/src/main/java/com/amorenew/mobile_number/MobileNumberPlugin.java uses or overrides a deprecated API.

Closed this issue · 0 comments

Note: /home/pc2/flutter/.pub-cache/hosted/pub.dartlang.org/mobile_number-1.0.4/android/src/main/java/com/amorenew/mobile_number/MobileNumberPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
e: /home/pc2/Documents/lamar pekerjaan/project test/ayyuby_test_jti/android/app/src/main/kotlin/com/example/ayyuby_test_jti/MainActivity.kt: (6, 48): Unresolved reference: Bundle
e: /home/pc2/Documents/lamar pekerjaan/project test/ayyuby_test_jti/android/app/src/main/kotlin/com/example/ayyuby_test_jti/MainActivity.kt: (8, 9): Unresolved reference: MobileNumberPlugin
e: /home/pc2/Documents/lamar pekerjaan/project test/ayyuby_test_jti/android/app/src/main/kotlin/com/example/ayyuby_test_jti/MainActivity.kt: (8, 41): Unresolved reference: registrarFor

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app: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 18s
Exception: Gradle task assembleDebug failed with exit code 1

how to fix the error