Skip to content
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

Could not install the app on the device, read the error above for details. #14144

Closed
Abdul-majid-ashrafi opened this issue May 24, 2017 · 11 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@Abdul-majid-ashrafi
Copy link

Greetings guys,
I am using a react-native project.
I am facing issue when I run cmd react-native run-android

Error

Build failed
read the error above for details
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

adb devices
List of devices attached
T062808LX3 device

Additional Information

  • I am using windows 8.1
  • I am not new in react-native I have build some project in react-native
@kholiavko-roman
Copy link

kholiavko-roman commented May 31, 2017

I have the same issue, on windows 10 pro, adb devices show me my device, but when I run project I have error

Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

@kholiavko-roman
Copy link

@Abdul-majid-ashrafi are you slove this problem ?

@Abdul-majid-ashrafi
Copy link
Author

Yeah Thanks @kholiavko-roman 👍

@kholiavko-roman
Copy link

@Abdul-majid-ashrafi can you help me slove this issue please ? What are you do fo fix that ?

@Abdul-majid-ashrafi
Copy link
Author

When we install dependency then this crash just remove dependency what you install last time or create new project

@kholiavko-roman
Copy link

thanks!

@Abdul-majid-ashrafi
Copy link
Author

@kholiavko-roman are you slove this problem ?

@kholiavko-roman
Copy link

Yes. I reinstall global react-native cli and node_modules in my folder project.

@mrfzd
Copy link

mrfzd commented Jun 14, 2017

Same problem, my problem was the fact that I needed internet connection in order to be able to download the packages for my React Native mobile app to be built properly hence it was failing

Hope this saves a bit of your time if you come across similar problem :)

@andresteves
Copy link

Similar to
#8868 (comment)

@adityapatnaik
Copy link

adityapatnaik commented May 22, 2018

In the project root directory....
cd <Project Name>
chmod 755 android/gradlew
Hope this helps....

@facebook facebook locked as resolved and limited conversation to collaborators Jun 1, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants