bamlab / react-native-image-resizer

🗻 Resize local images with React Native
MIT License
1.59k stars 338 forks source link

android namespace issue (RN 0.73) #390

Closed OHHAKO closed 7 months ago

OHHAKO commented 9 months ago

Describe the bug Build in AOS it's broke up. terminal message:

* What went wrong:
A problem occurred configuring project ':bam.tech_react-native-image-resizer'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Please specify a namespace in the module's build.gradle file like so:

     android {
         namespace 'com.example.namespace'
     }

     If the package attribute is specified in the source AndroidManifest.xml, it can be migrated automatically to the namespace value in the build.gradle file using the AGP Upgrade Assistant; please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

i guess it's requirements.

To Reproduce

  1. update RN to 0.72.0
  2. build android with debug build tpe to run the device.

Observed behavior

Library Developers will have to specify a namespace in their build.gradle file.

https://github.com/react-native-community/discussions-and-proposals/issues/671?source=post_page-----9bf59da7d003--------------------------------#issue-1761364743

Platform concerned:

stale[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 7 months ago

This issue has been automatically closed. Thank you for your contributions.