Android studio giving error "com.android.ddmlib.AdbCommandRejectedException: device offline Error while Installing APK" even though android device is connected.
I tried by adb kill-server and adb start-server but after this kill and start process first time code runs properly but second time again gives the same error.
Please If anyone knows the solution share , Thank you.