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

card_scanner Not Support in Android #63

Open
dineshMadvise opened this issue Jul 11, 2022 · 3 comments
Open

card_scanner Not Support in Android #63

dineshMadvise opened this issue Jul 11, 2022 · 3 comments

Comments

@dineshMadvise
Copy link

e: /Users/user/Desktop/flutter2.10.4/.pub-cache/hosted/pub.dartlang.org/card_scanner-0.2.2/android/src/main/java/com/nateshmbhat/card_scanner/CardScannerCameraActivity.kt: (50, 26): Type mismatch: inferred type is CardScannerOptions? but CardScannerOptions was expected
e: /Users/user/Desktop/flutter2.10.4/.pub-cache/hosted/pub.dartlang.org/card_scanner-0.2.2/android/src/main/java/com/nateshmbhat/card_scanner/CardScannerCameraActivity.kt: (50, 33): Type mismatch: inferred type is CardScannerOptions? but CardScannerOptions was expected
e: /Users/user/Desktop/flutter2.10.4/.pub-cache/hosted/pub.dartlang.org/card_scanner-0.2.2/android/src/main/java/com/nateshmbhat/card_scanner/scanner_core/models/CardScannerOptions.kt: (27, 44): Type mismatch: inferred type is ArrayList<String!>? but List was expected
e: /Users/user/Desktop/flutter2.10.4/.pub-cache/hosted/pub.dartlang.org/card_scanner-0.2.2/android/src/main/java/com/nateshmbhat/card_scanner/scanner_core/models/CardScannerOptions.kt: (33, 45): Type mismatch: inferred type is ArrayList<String!>? but List was expected

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':card_scanner: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.

I will try to run with 4 diff. type of kotlin version. but its generate same issue.

  1. ext.kotlin_version = '1.3.50'
  2. ext.kotlin_version = '1.4.31'
  3. ext.kotlin_version = '1.6.21'
  4. ext.kotlin_version = '1.5.10'
@Frank220599
Copy link

same issue

@musaneda
Copy link

Still the same issue

@WaheedHussainHaans
Copy link

@nateshmbhat any update?

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

4 participants