Open ashleyww93 opened 2 months ago
Did you config this yet?
allprojects { repositories { flatDir { dirs "$rootDir/../node_modules/react-native-star-io10/android/src/lib" } } }
I have this working now. I have a pretty hectic week with in person events, but I’ll be sure to circle back and update this ticket with how it was resolved.
Hello everyone,
We would like to express our gratitude for your cooperation and support with the issues. We take your feedback very seriously as it plays an important role in improving our products and services.
Could you share the latest status on any issues? Your active feedback and support are indispensable in building a better community. We sincerely appreciate your time and consideration. Best regards.
what was the solution for this issue? im experiencing the same thing and i believe its because the way my expo project is setup, i noticed it only works when i use a "bare workflow" environment any input will be appreciated
I too have this issue using expo. The eas build fails with the same gradle error.
@web-stacked @paulnolan7
Maybe it will give you a clue to the solution, please check the following issue. https://github.com/star-micronics/react-native-star-io10/issues/117
Ahh, yes thank you @can-miki #117 is the solution to the problem. NOTE: for other EAS users it is now complaining about the minSdk being 23 whereas it needs 28, but that is a EAS configuration issue and not a problem with react-native-star-io10. So we can probably close this issue.
@paulnolan7 Thank you for your confirmation. This library is built with minSdkVersion = 28. I hope this is helpful. https://github.com/star-micronics/react-native-star-io10/blob/master/example/android/build.gradle
Description
I am unable to build an android application, I get the following error:
FAILURE: Build failed with an exception.
Your device where the bug occurs
N/A
Your printer
N/A
Your development environment
ProductName: macOS ProductVersion: 14.4.1 BuildVersion: 23E224
Also, the result of executing the command
npx react-native info
.System: OS: macOS 14.4.1 CPU: (10) arm64 Apple M1 Max Memory: 17.43 GB / 64.00 GB Shell: version: 3.2.57 path: /bin/bash Binaries: Node: version: 21.7.3 path: /opt/homebrew/bin/node Yarn: version: 1.22.10 path: /usr/local/bin/yarn npm: version: 10.5.0 path: /opt/homebrew/bin/npm Watchman: Not Found Managers: CocoaPods: version: 1.15.2 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms:
To Reproduce
Steps to reproduce the behavior: Add the library to an android application, and try and build. See Gradle error
Expected behavior
The application should build.