Closed Swapnil571 closed 1 year ago
I think it's because we updated kotlin and gradle version. It might be improved in a future PR, but in the meantime you can resolve your issue by updating them as well. See #231
Upgrade in build.gradle kotlin version to ext.kotlin_version = '1.7.10' And classpath 'com.android.tools.build:gradle:7.2.0'
We've released a new version (1.3) which should be less problematic with kotlin version conflicts.
Feel free to open a new issue it there is still a problem.
I found this package last week, and I used it in my project. It was working fine. But, in this week it stopped working. I got following errors for it. Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... e: C:\Users\Chmain\AppData\Roaming\Pub\Cache\hosted\pub.dev\camerawesome-1.2.0\android\src\main\kotlin\com\apparence\camerawesome\cameraX\CameraPermissions.kt: (175, 22): Not enough information to infer type variable T e: C:\Users\Chmain\AppData\Roaming\Pub\Cache\hosted\pub.dev\camerawesome-1.2.0\android\src\main\kotlin\com\apparence\camerawesome\cameraX\CameraPermissions.kt: (175, 41): Cannot infer a type for this parameter. Please specify it explicitly.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':camerawesome:compileDebugKotlin'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 40s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)