install Exception device not found ANDROID
Solution 1
This has to be sorted out by manually installing the apk through adb command prompt.
After navigating to tools folder from comand prompt,use
adb install DataAttach.apk
(where DataAttach refers to package name, as in my case package name is DataAttach.apk)
Solution 2
I was also getting the same error, but to my surprise the application was installed correctly and I could launch the application. I am sending this reply just to let you know guys if you want to check and see if your application was actually installed along with this error.
Solution 3
Using Project->clean option before run solved the problem for me.
Solution 4
I have gone through the all the trick mentioned here. But it was not successfull.
After that I restarted my device and everything started working. I dont know the exact error but this trick helped me to resolve the issue.
Solution 5
If you're using a real device (not emulator) then try uninstalling the existing .apk from the device then re-run. This solved the error message for me.
Comments
-
GAMA almost 2 years
After
- increasing the timeout period
- trying kill server and start server commands
- restarting avd
- recreating avd
- restarting the application
- restarting the system
I'm still getting :
Failed to install DataAttach.apk on device 'emulator-5554': device not found com.android.ddmlib.InstallException: device not found Launch canceled!
What can be done in this case?
I'm running this app on Emulator (Android version 4.0)Edit
Apps doesn't have any issues as far as code is concerned. Still they are showing error about device not found exception. -
GAMA about 12 yearshmmm. Sometimes, Android do behaves strangely !
-
Zala Janaksinh about 10 yearsRight dear I have same behave