-
Notifications
You must be signed in to change notification settings - Fork 24k
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
Android build fail - Unable to make progress running work. There are items queued for execution but none of them can be started #44501
Comments
|
|
I replicated this issue by creating the react-native project. |
Do we have solution for this ? |
Same issue, it's happened on my side.
|
Related to gradle/gradle#21325 Are you building from Android Studio or from the CLI? |
Also experience this. sometimes it show, sometimes its not. I am not sure why this occurs. I clean and rebuild and invalidate cache still the same. |
I am facing this issue When I trying to rebuild the project from Android Studio. |
Hello! 👋 I would also like to report that this issue happened to me today too. Here are the steps to reproduce the problem (on a windows machine):
And this issue appeared to me. Thanks a lot! 🙏 |
All these commands will create the same error when following the same 3 steps in my previous comment. ♻️ After testing versions of React Native, the error also appeared in the old React Native I am working on v0.72.1. 😅 |
Added this to my root build.gradle file and it fixed my issue
|
It worked perfectly. Thanks a lot @markneh! Just to clarify. Where Should this code be. It should be in root build gradle file like this: gradle.startParameter.excludedTaskNames.addAll(
gradle.startParameter.taskNames.findAll { it.contains("testClasses") }
)
buildscript {
// code
} |
I added the below code in build.gradle and rebuilt the project in Android Studio. The issue is fixed. Trying to run the command: react-native run-android on Android device.Getting the below error. info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor error Failed to install the app. Command failed with Unknown system error -8: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 |
@OmarThinks - Thanks for your reply. |
Maybe you are not running |
@OmarThinks - App is running on my device.
|
Congrats, bro! 🎉🎂 Happy, coding! 💻😁 |
@OmarThinks - Thanks for your help. |
You're welcome. 😁 I need to clarify. The The green arrow does the following:
So, you need the app to be open in the emulator, while And do not close the issue yet. The issue is still hasn't been solved. |
Hello, @cortinico ! 👋 I would like to say that we would really appreciate it if someone from the React Native teams solved this issue, we would be so grateful. Issue description: On a windows machine, using Android Studio, when we run: This issue appears:
The issue will not be solved, unless we add this code to the root build gradle file: gradle.startParameter.excludedTaskNames.addAll(
gradle.startParameter.taskNames.findAll { it.contains("testClasses") }
)
buildscript {
// code
} Thanks a lot for you, and for the React Native team for your hard work and consistent effort! 🙏 |
Thanks for flagging it. Unfortunately, I don't have capacity at the moment to work on this. Needless to say that |
Description
We recently upgraded my project from react-native:068.7 to 0.73.2.
We get the below errors when we run the Android build in react-native:0.73.2.
we are using the gradle version 8.3 in my project.
2)Unable to make progress running work. There are items queued for execution but none of them can be started
Steps to reproduce
build the app in android studio
React Native Version
0.73.2
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
No Git url - My company project
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: