I am trying to install my project on my device but I am getting the following error:
enter image description here
This is the error:
java.io.IOException: An existing connection was forcibly closed by the remote host
Error while Installing APK
Please help me with this and also could anyone tell me about R in java file
run->cmd->your_android_sdk_path->platform-tools>
Then write the below commands.
adb kill-server - To kill the server forcefully
adb start-server - To start the server
UPDATED:
F:\android-sdk-windows latest\platform-tools>adb kill-server
F:\android-sdk-windows latest\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With