Меню

Apk ошибка при установке install apk timeout

Вполне возможно, что при попытке установить то или иное мобильное приложение, возникнет так называемая синтаксическая ошибка при установке APK. Ситуация, конечно, не из приятных. И у многих пользователей при этом опускаются руки. Тем не менее, кое-какие шаги для решения данной проблемы предпринять все-таки можно.

Синтаксическая ошибка

Синтаксическая ошибка

Для того, чтобы разобраться, в чем причина данной ошибки, нужно получить представление о том, что такое, собственно говоря, АРК файл. А АРК файл – это не что иное, как самый обычный архив, внутри которого запакованы все необходимые для нормальной работы программные ресурсы. К слову сказать, его можно даже открыть с помощью самого обычного компьютерного архиватора.

Так вот, при установке приложения из АРК файла операционная система Андроид сверяет, все ли на месте внутри данного файла. И, если тот или иной программный компонент отсутствует, либо он поврежден, то возникает сообщение о синтаксической ошибке. Также данная ошибка нередко возникает в том случае, если имеет место быть несовместимость самого мобильного приложения с версией операционной системы, установленной на устройстве.

Как решить проблему с синтаксической ошибкой на Андроиде

Что же касается того вопроса: синтаксическая ошибка при установке APK как исправить ее, то здесь можно предложить лишь следующее:

  • Перекачать АРК файл заново. Возможно, на этот раз все скачается без ошибок. Если же попался «битый» архив, то следует воспользоваться другим ресурсом. Увы, но порой даже официальные источники могут предлагать скачать ошибочные архивы;
  • Также рекомендуется осведомиться, имеется ли совместимость данной версии программы с версией операционной системы на устройстве. В противном случае рекомендуется либо подыскать другую версию приложения, либо обновить операционную систему, либо запустить АРК файл на другом устройстве.

Кроме того, было замечено, что синтаксическая ошибка возникает у тех пользователей, что для скачивания установочного архива применяют мобильный браузер Opera Mobile. Следовательно, имеет смысл попробовать скачать его при помощи какого-нибудь другого барузера.

Как видно, ничего особенного в синтаксической ошибке как таковой нет. Но следует с осторожностью подходить к выбору источника для скачивания файла. Ведь нередки ситуации, когда вместо заветного файла с программой пользователи скачивали какое-нибудь вредоносное ПО, а то и вовсе вирус в самом что ни на есть чистом виде.

I’m getting this error from time to time and don’t know what causing this:
When trying to run/debug an Android app on a real device (Galaxy Samsung S in my case) I’m getting the following error in the Console:

Failed to install *.apk on device *:

timeout Launch canceled!

This is all the Console is telling me. LogCat doesn’t provide any information. Eclipse Problems view is not showing any issues.

I tried the following steps with no success:
1. Cleaning the project (Project->Clean)
2. Restarting device, Eclipse, laptop, all of the above…
3. Moving the project to a location without spaces, according to Failed to install apk on device ’emulator-5554′: timeout

The app has been debugged in the past on that device many times (app is live on Market), but this problem happens every so often, and is VERY FRUSTRATING…

Any help would be greatly appreciated! Thanks.

6

Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem.

If you are in Eclipse, you can do this by going through

Window -> Preferences -> Android -> DDMS -> ADB Connection Timeout (ms)

8

What I usually do when I get this error is restarting the adb server by typing in the cmd:

adb kill-server

adb start-server

EDIT: With some never versions of the Platform Tools you can do this from the DDMS Perspective in the Devices Tab menu (near the Capture Button), click on Reset adb.

EDIT2: Also I found out that it is preferable to use the USB port in the back of your PC, since most of the front USB ports are low powered, and really seem to be slower when uploading apks on your devices.

6

I used to have this problem sometimes, the solution was to change the USB cable to a new one

10

don’t use USB 3.0 ports for connection beetwen PC and Android phone!

USB 3.0 — Port with blue tongue

USB 2.0 — Port with black tongue

2

Reboot the phone.

Seriously! Completely power down and power up. That fixed it for me.

0

I have encountered the same problem and tried to change the ADB connection timeout. That did not work.
I switched between my PC’s USB ports (front -> back) and it fixed the problem!!!

2

I get this a lot. I’m on a Galaxy S too. I unplug the cable from the phone, plug it back in and try launching the app again from Eclipse, and it usually does the trick. Eclipse seems to lose the connection to the phone occasionally but this seems to kick it back to life.

I know it sounds silly, but after trying everything recomended for this timeout issue on when running on a device, I decided to try changing the cable and it worked. It’s a Coby Kyros MID7015.

Trying another cable is a good and simple option to take a chance on.

1

I’m getting this error from time to time and don’t know what causing this:
When trying to run/debug an Android app on a real device (Galaxy Samsung S in my case) I’m getting the following error in the Console:

Failed to install *.apk on device *:

timeout Launch canceled!

This is all the Console is telling me. LogCat doesn’t provide any information. Eclipse Problems view is not showing any issues.

I tried the following steps with no success:
1. Cleaning the project (Project->Clean)
2. Restarting device, Eclipse, laptop, all of the above…
3. Moving the project to a location without spaces, according to Failed to install apk on device ’emulator-5554′: timeout

The app has been debugged in the past on that device many times (app is live on Market), but this problem happens every so often, and is VERY FRUSTRATING…

Any help would be greatly appreciated! Thanks.

6

Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem.

If you are in Eclipse, you can do this by going through

Window -> Preferences -> Android -> DDMS -> ADB Connection Timeout (ms)

8

What I usually do when I get this error is restarting the adb server by typing in the cmd:

adb kill-server

adb start-server

EDIT: With some never versions of the Platform Tools you can do this from the DDMS Perspective in the Devices Tab menu (near the Capture Button), click on Reset adb.

EDIT2: Also I found out that it is preferable to use the USB port in the back of your PC, since most of the front USB ports are low powered, and really seem to be slower when uploading apks on your devices.

6

I used to have this problem sometimes, the solution was to change the USB cable to a new one

10

don’t use USB 3.0 ports for connection beetwen PC and Android phone!

USB 3.0 — Port with blue tongue

USB 2.0 — Port with black tongue

2

Reboot the phone.

Seriously! Completely power down and power up. That fixed it for me.

0

I have encountered the same problem and tried to change the ADB connection timeout. That did not work.
I switched between my PC’s USB ports (front -> back) and it fixed the problem!!!

2

I get this a lot. I’m on a Galaxy S too. I unplug the cable from the phone, plug it back in and try launching the app again from Eclipse, and it usually does the trick. Eclipse seems to lose the connection to the phone occasionally but this seems to kick it back to life.

I know it sounds silly, but after trying everything recomended for this timeout issue on when running on a device, I decided to try changing the cable and it worked. It’s a Coby Kyros MID7015.

Trying another cable is a good and simple option to take a chance on.

1

Возможный дубликат:
Ошибка Android: не удалось установить * .apk на устройство *: тайм-аут

продолжайте получать сообщения об ошибках, когда я пытаюсь запустить любое мобильное приложение с Android. Эти ошибки не предсказуемы — иногда (типа раз из 10) происходит чудо и все работает. Но чаще всего я получаю эту ошибку:

[ERROR] C:Program FilesTitanium Developerandroid-sdk-windowstoolsadb.exe
error: protocol fault (no status)

а затем эта ошибка позже:

[DEBUG] Waiting for device to be ready ...
[TRACE] adb devices returned 0 devices/emulators
......
[ERROR] Timed out waiting for emulator to be ready,
you may need to close the emulator and try again

Эмулятор запускается, и я получаю заблокированный экран, но связь с ним почему-то теряется.

Я попытался запустить эмулятор отдельно из командного файла, как предложил кто-то другой, прежде чем открывать разработчика ti, но получаю те же ошибки.

Даже если он работает правильно один раз, если я вношу изменения и хочу перезапустить (не останавливая и не закрывая эмулятор), я всегда получаю ошибки, указанные выше. Я думал, что мы должны иметь возможность повторно использовать эмулятор после того, как он запущен и работает, но для меня это никогда не работает так.

Когда я пытаюсь запустить из eclipse, он выдает следующее сообщение Failed to install Demo.apk on device 'emulator-5554': timeout

Я хочу запустить одно и то же приложение, не убивая сервер adb или снова не закрывая эмулятор.

Пожалуйста, любая помощь будет оценена по достоинству!!!!!!!!!

I’m getting this error from time to time and don’t know what causing this:
When trying to run/debug an Android app on a real device (Galaxy Samsung S in my case) I’m getting the following error in the Console:

Failed to install *.apk on device *:

timeout Launch canceled!

This is all the Console is telling me. LogCat doesn’t provide any information. Eclipse Problems view is not showing any issues.

I tried the following steps with no success:
1. Cleaning the project (Project->Clean)
2. Restarting device, Eclipse, laptop, all of the above…
3. Moving the project to a location without spaces, according to Failed to install apk on device ’emulator-5554′: timeout

The app has been debugged in the past on that device many times (app is live on Market), but this problem happens every so often, and is VERY FRUSTRATING…

Any help would be greatly appreciated! Thanks.

6

Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem.

If you are in Eclipse, you can do this by going through

Window -> Preferences -> Android -> DDMS -> ADB Connection Timeout (ms)

8

What I usually do when I get this error is restarting the adb server by typing in the cmd:

adb kill-server

adb start-server

EDIT: With some never versions of the Platform Tools you can do this from the DDMS Perspective in the Devices Tab menu (near the Capture Button), click on Reset adb.

EDIT2: Also I found out that it is preferable to use the USB port in the back of your PC, since most of the front USB ports are low powered, and really seem to be slower when uploading apks on your devices.

6

I used to have this problem sometimes, the solution was to change the USB cable to a new one

10

don’t use USB 3.0 ports for connection beetwen PC and Android phone!

USB 3.0 — Port with blue tongue

USB 2.0 — Port with black tongue

2

Reboot the phone.

Seriously! Completely power down and power up. That fixed it for me.

0

I have encountered the same problem and tried to change the ADB connection timeout. That did not work.
I switched between my PC’s USB ports (front -> back) and it fixed the problem!!!

2

I get this a lot. I’m on a Galaxy S too. I unplug the cable from the phone, plug it back in and try launching the app again from Eclipse, and it usually does the trick. Eclipse seems to lose the connection to the phone occasionally but this seems to kick it back to life.

I know it sounds silly, but after trying everything recomended for this timeout issue on when running on a device, I decided to try changing the cable and it worked. It’s a Coby Kyros MID7015.

Trying another cable is a good and simple option to take a chance on.

1

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Apk add alpine desktop ошибка
  • Api яндекс директ ошибки