Utsav Agarwal
Utsav Agarwal

Reputation: 23

React native android debug.apk is not installing in One plus Nord

When I am running react-native run-android to run android app in debug mode in my Oneplus nord, I am encountered with following error.

Unable to install /android/app/build/outputs/apk/debug/app-debug.apk com.android.ddmlib.InstallException: EOF

Execution failed for task ':app:installDebug'.

com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: EOF

Hence, Cannot install app in One plus physical device.

Upvotes: 1

Views: 602

Answers (1)

Preeti Sharma
Preeti Sharma

Reputation: 132

Try using these commands:

adb kill-server
adb start-server
npx react-native run-android --no-jetifier

Upvotes: 2

Related Questions