Apparence-io / CamerAwesome

📸 Embedding a camera experience within your own app shouldn't be that hard. A flutter plugin to integrate awesome Android / iOS camera experience.
https://ApparenceKit.dev
MIT License
906 stars 199 forks source link

Android FAILURE: Build failed with an exception. #439

Open alwerr opened 5 months ago

alwerr commented 5 months ago

New flutter project with api above 21, cant be built. Got an error, Is there way to fix? Sorry for English, here is error:

FAILURE: Build failed with an exception.

BUILD FAILED in 14s Error: Gradle task assembleDebug failed with exit code 1

Exited (1).

maltenzo commented 5 months ago

Have you tried changing the kotlin version as mentioned in this issue? That worked for me

alwerr commented 4 months ago

Where do i add "ext.kotlin_version = '1.8.10'" in build.gradle?

Sudeep10 commented 3 months ago

Where do i add "ext.kotlin_version = '1.8.10'" in build.gradle?

For projects created prior Flutter 3.19, it's in android/build.gradle; for newer ones, it's in android/settings.gradle.

scognito commented 1 month ago

Fixed for me changing 1.8.10 in androd/settings.gradle (project created with Flutter 3.19.6)