-
Notifications
You must be signed in to change notification settings - Fork 107
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
not compiling in android , flutter #52
Comments
getting above error while compiling compileSdkVersion 30 |
I have faced the same issue |
Use below version of card_scanner plugin in which i have solved the above issue. card_scanner: |
I am also getting the same issue. Update the package didn't solve the issue as well. pub-cache/hosted/pub.dartlang.org/card_scanner-1.0.1-prerelease/android/src/main/java/com/nateshmbhat/card_scanner/CardScannerCameraActivity.kt: (50, 26): Type mismatch: inferred type is CardScannerOptions? but CardScannerOptions was expected FAILURE: Build failed with an exception.
|
Didn't work for me |
below is the issue
e: /Users/geitpl/.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/geitpl/.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/geitpl/.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.
Execution failed for task ':card_scanner:compileReleaseKotlin'.
The text was updated successfully, but these errors were encountered: