Closed vovaklh closed 10 months ago
@vovaklh I am also getting same error
ok. i will check it soon
@howljs Just tested on android, Below is the console logs : Launching lib/main_dev.dart on sdk gphone64 arm64 in debug mode... main_dev.dart:1
FAILURE: Build completed with 2 failures.
What went wrong: A problem occurred configuring project ':hl_image_picker_android'.
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.
If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.
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.
What went wrong: Failed to query the value of property 'buildFlowServiceProperty'.
Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@13ee23b8 of type BuildFlowService.Parameters A problem occurred configuring project ':hl_image_picker_android'. Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.
If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.
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 17s Exception: Gradle task assembleDevDebug failed with exit code 1 Exited
You can temporarily check this issue on StackOverflow. It's midnight where I live now, I will check it after I wake up
I deleted "flutter_image_compress" dependency and project was built on IOS
Thanks for your solution. I will check the reason why it's malfunctioning when used with flutter_image_compress
@vovaklh I have tried using "hl_image_picker" with the"flutter_image_compress" library and the project still runs normally. Your issue seems different, I think there was some problem when running pod install.
@0001arunsharma Have you been able to run the application on Android yet?
@howljs Sorry for late response. I just tried to build after adding name space , But still no luck. Its throwing same error
Please send me your "com.android.tools.build:gradle" version
@howljs I added "futter_image_compress" dependency again and there are no conflict. It seems strange :) But I had this error when added your package first time
@howljs
'com.android.tools.build:gradle:8.1.2'
and kotlin version is ext.kotlin_version = '1.9.20'
@howljs did you get chance to look into the issue I am getting. Thanks
fixed in v1.2.10. please update to new version
I have the next exception when try to build project on my Iphone 11 with IOS 16.6
"Lexical or Preprocessor Issue (Xcode): 'UIImage+CropRotate.h' file not found"