简体   繁体   English

使用ADT运行android项目经常重启手机设备

[英]Running android project with ADT frequently restarts phone device

I'm not sure if it's the ide/sdk or phone issue but really offen I face the problem with device restart when running android project(after build , during installation process). 我不确定这是ide/sdk还是电话问题,但实际上可能会导致我在运行android项目时遇到设备重启问题(在build之后,在installation过程中)。

The project has about 10 external libs with 40mb size overall. 该项目有大约10外部libs ,总大小为40mb I've checked that device has enough space for app besides this doesn't happen every time. 我检查过该设备是否有足够的空间来容纳应用程序,除了每次都不会发生这种情况。 It's about 1 per 5 runs . 1 per 5 runs大约1 per 5 runs

Environment: 环境:

ubuntu 12.04 x64,adt-bundle-linux-x86_64-20140321, lenovo a820

EDIT: Might it be the issue of logs amount? 编辑:可能是日志量的问题? There's about 5k lines in 15 sec. 15秒内大约有5k条线。

EDIT: Recently the same problem occured with much smaller project (like 1.5Mb) using Google Maps v2(glEsVersion) and android annotations (preprocesor compiler). 编辑:最近,使用Google Maps v2(glEsVersion)和android批注(preprocesor编译器)的较小项目(如1.5Mb)发生了相同的问题。 Might those libs cause this issue? 这些库可能会导致此问题吗?

when I have problems with a device I install pdaNet to connect with. 当设备出现问题时,我会安装pdaNet进行连接。 I hope it helps you. 希望对您有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM