-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Direct local .aar file dependencies are not supported when building an AAR. #41
Comments
https://github.com/mikafi/react-native-serialport has solved the problem. |
I just ran into same issue as you can see here, when I run ./gradlew assembleRelease, after adding react-native-serialport to my project: How did you resolve it, @dougbradbury ? "react-native-serialport": "^1.3.1" com.android.tools.build:gradle:4.2.1 |
resolved this with app:assembleRelease instead of assembleRelease |
@jankoJelic , I am using app:assembleRelease for building the app but am still facing the same issue. do you mind sharing how exactly you solved this issue? I've tried to find a solution online and most of them are suggesting adding some settings on build.gradle file and none of them is working. error details: |
Did you guys manage to get a solution for this issue? still facing this issue. I am using "react-native-serialport": "^1.3.1" |
After a couple of days of trying to find a solution online, none of them worked.
Under dependencies, change this line:
Now, you should be able to build your project. |
I upgraded to react-native 0.64.2 (which included upgrading to gradle 6.7 and the android gradle plugin) and encountered this error
I've been trying to make the change according to this article but I am out of my depth on gradle.
The text was updated successfully, but these errors were encountered: