star-micronics / react-native-star-io10

react-native-star-io10 is a library for supporting application development for Star Micronics devices.
Other
83 stars 54 forks source link

Android: Execution failed for task ':react-native-star-io10:bundleReleaseAar' #29

Closed joarwilk closed 2 years ago

joarwilk commented 2 years ago

When trying to build the project on android with latest react native.

MonstroDev commented 2 years ago

Hi @joarwilk, which version of Java and Gradle are you use?

aaronrondina5 commented 2 years ago

any news here? Using gradle 6.3 and getting the same error

gare-bear commented 2 years ago

@joarwilk Trying to get some context... are you trying to build the examples at the cli? Or are you trying to build your own AAR that includes our AAR?

joarwilk commented 2 years ago

@gare-bear It works if I build my project via Android Studio but not when i build using ./gradlew assemble/bundleRelease. No idea why to be honest, but maybe relevant info.

Not trying to build an arr, just added the lib according to your docs and made a production build. Running a recent version of react native.

This also happens when trying to build the example project.

Running Java 8, Gradle 6.3

are you trying to build the examples at the cli?

Yes

gare-bear commented 2 years ago

@joarwilk Sounds like its the same as this issue. Try cd ./android && ./gradlew :app:assembleRelease && cd ..

aaronrondina5 commented 2 years ago

^ yes, this worked for me as well (app:assembleRelease instead of assembleRelease)

joarwilk commented 2 years ago

Ah, i missed that issue. Thanks @gare-bear

chandniKkpl commented 7 months ago

Showing same error If I am using this command to create the build. cd ./android && ./gradlew :app:assembleRelease && cd ..

"The following direct local .aar file dependencies of the :react-native-star-io10 project caused this error"