A few days ago I had problems trying to install .apk on my Galaxy S2. I select my phone as the target, click "OK" and get the following error in the console:
Failed to install AvatarRun.apk on device number 'device: timeout Launch canceled!
Without changing anything in the code and working again, I can also get the error:
Failed to install AvatarRun.apk on device number 'device: device not found com.android.ddmlib.InstallException: device not found Launch canceled!
I tried to open a command window and go to android-sdk \ platform-tools and run:
adb kill-server adb start-server
This did not solve the problem.
This seems to be just a coincidence, but after unsuccessful attempts, I changed the minimum SDK in the manifest from 10 to 7, and .apk booted the next time, but it worked with an interval and generated the same errors.
Can anyone suggest a method to find what causes this error?
source share