-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[BUG]: Execution failed for task ':app:mergeExtDexTvDebug' after updating repo to 6.4+ #4035
Comments
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 ? |
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: #4138 |
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! |
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? |
I think I actually just found out how to fix it. |
I'm confirming what's @sonodima said, if I set minSdkVersion from 21 to 24, it's working. |
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.
The text was updated successfully, but these errors were encountered: