I tried to compile a release build on Android for testing and received this error:
Task :react-native-star-io10:bundleReleaseAar FAILED
w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-star-io10:bundleReleaseAar'.
> Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :react-native-star-io10 project caused this error: /[REDACTED]/node_modules/react-native-star-io10/android/src/lib/stario10.aar
Here's the command I used to build:
cd ./android && ./gradlew assembleRelease && cd ..
Not sure where to go from here, do I need to include the aar files in gradle somehow?
I tried to compile a release build on Android for testing and received this error:
Here's the command I used to build:
cd ./android && ./gradlew assembleRelease && cd ..
Not sure where to go from here, do I need to include the aar files in gradle somehow?