-
Notifications
You must be signed in to change notification settings - Fork 223
Description
Hi, please, I've create a react native module that includes 2 external libraries (.aar).
It builds fine, but when I ran npx react-native run-android example --deviceId=the_device it returns the following error:
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).
I'm including the .aar in the build.gradle:
implementation files('lovely/cutelib.aar')
And then in the settings.gradle i do:
include ':cutelib'
Note: it will run fine into Android device if I don't pass the --deviceId flag :P
Any thoughts?
ty