Open maciejsiiminski opened 4 months ago
Hi @maciejsiiminski, thanks for reporting the issue! Did you tried to run your project via Android Studio? What happens then?
Hi @maciejsiiminski and @moskalakamil,
I've encountered the same issue, especially when running this command: react-native run-android.
When I run ./gradlew bundleRelease && react-native run-android --variant=release, it works, but I can't rely on this because I need to develop in debug mode.
The issue does not appear in version 6.3.0, but it starts appearing from version 6.4.0 on my side as well.
Note that I have tried setting multiDexEnabled to true and preDexLibraries to false in the defaultConfig of the module's build.gradle, but the issue persists.
Is it possible to get a sample project to understand / reproduce the issue ?
Is it possible to get a sample project to understand / reproduce the issue ?
I can't share an example cause my repository is private. On the other hand, i can share to you my build.gradle from my project and my module, maybe it can help.
seems very similar to: https://github.com/TheWidlarzGroup/react-native-video/issues/4138 Do you use an old react native version ?
My react-native version is 0.72.12 @freeboub
Sorry, I forgot that I opened this issue and realized it when I tried updating to the newest version again. My react-native version is 0.72.6. Unfortunately, I have nothing more to add and my repository is also private as I am just an employee.
@douzal34 @maciejsiiminski If you can create a very small sample to reproduce the issue it would be useful! I don't know how to investigate the issue ...
any solution guys??
This issue is stale because it has been open for 30 days with no activity. If there won't be any activity in the next 14 days, this issue will be closed automatically.
I'm having this issue too on React Native 0.72.11
@sonodima could you please create a small sample repo with reproduction?
@sonodima could you please create a small sample repo with reproduction?
I think I actually just found out how to fix it. What fixed it for me was to bump minSdkVersion from 21 to 24. For the react-native-video update (I was on 6.2.0) I also needed to update kotlinVersion from 1.7.22 to 1.8.0.
I'm confirming what's @sonodima said, if I set minSdkVersion from 21 to 24, it's working.
This issue is stale because it has been open for 30 days with no activity. If there won't be any activity in the next 14 days, this issue will be closed automatically.
Version
6.4.0+
What platforms are you having the problem on?
Android TV
System Version
10
On what device are you experiencing the issue?
Real device
Architecture
Old architecture
What happened?
The project build fails after updating the repo to the latest version (6.4.3). I also tried 6.4.0 with the same outcome so I assumed that it is an issue with versions 6.4+. I tried changing the Kotlin version to 1.9.0 because some logs before the error pointed out incompatible versions but it also didn't fix this issue.
Reproduction
repository link
Reproduction
In my project just updating the repository and running the project causes the issue.