android开发遇到的问题

1、虚拟机运行出下面的错Failed to allocate memory: 8

Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application‘s support team for more information.

解决:将虚拟器的内存设小一点

 

2、真机调试时运行adb devices命令不到设备

    adb.exe文件不在sdk的tooles目录下了,在sdk\platform-tools目录下,要将这个目录设在path环境变量里。

    如果运行adb devices找不到设备,是手机驱动没有安装好,下载豌豆荚软件会帮安装手机驱动

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。