bamlab/react-native-image-resizer

Build Error > Task :bam.tech_react-native-image-resizer:buildCodegenCLI FAILED in android build.

Closed this issue · 3 comments

Bud Issue
I install [@bam.tech/react-native-image-resizer] from NPM, built and ran well for iOS, but could not build and run for android.

To Reproduce
Steps to reproduce the behavior:

  1. Install npm i @bam.tech/react-native-image-resizer from npm
  2. Try to use based on the instruction from the npm page
  3. Try to build and run on android device (Simulator) npx react-native run-android

Observed behavior
Build encountered error: > Task :bam.tech_react-native-image-resizer:buildCodegenCLI FAILED

Expected behavior
To run successfully as on the iOS device.

Screenshots
Screenshot 2024-03-28 at 11 58 04 PM

Platform concerned:

  • Simulator Device: [Emulator Pixel_5_API_33]
  • React-Native Version: [0.72.0]

Hi !
Regarding the error you have it's should be fixed with this PR #391.
Going to deploy a new version today.

Available in 3.0.8

Thank you @taboulot for getting back to me. Testing right away.