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
910 stars 199 forks source link

Can't build the project with AGP8 #414

Closed vlazdra closed 7 months ago

vlazdra commented 7 months ago

Steps to Reproduce

Add CamerAwesome as a dependency inside a project that uses AGP8 and try to build.

Expected results

Project builds.

Actual results

Incorrect package="com.apparence.camerawesome" found in source AndroidManifest.xml: /Users/vlazdra/.pub-cache/hosted/pub.dev/camerawesome-2.0.0-dev.1/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="com.apparence.camerawesome" from the source AndroidManifest.xml: /Users/vlazdra/.pub-cache/hosted/pub.dev/camerawesome-2.0.0-dev.1/android/src/main/AndroidManifest.xml.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':camerawesome:processDebugManifest'.
> A failure occurred while executing com.android.build.gradle.tasks.ProcessLibraryManifest$ProcessLibWorkAction
   > Incorrect package="com.apparence.camerawesome" found in source AndroidManifest.xml: /Users/vlazdra/.pub-cache/hosted/pub.dev/camerawesome-2.0.0-dev.1/android/src/main/AndroidManifest.xml.
     Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
     Recommendation: remove package="com.apparence.camerawesome" from the source AndroidManifest.xml: /Users/vlazdra/.pub-cache/hosted/pub.dev/camerawesome-2.0.0-dev.1/android/src/main/AndroidManifest.xml.

* 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 23s
Exception: Gradle task assembleDevelopmentDebug failed with exit code 1

About your device

Android in general.

Your flutter version

Doesn't affect the problem.

g-apparence commented 7 months ago

Thank you for making this change. I merge it.