今天在手机上调试运行Andorid项目时,发现Console打印出"WARNING: Application does not specify an API level requirement!"这样的警告信息,如下图所示: 虽然不影响项目的正常运行,不过还是要找出原因,上网查了一下出现警告的原因,原来是创建项目时AndroidManifest.xml文件中没有指定Min SDK Version 解决办法:修改AndroidManifest.xml文件,在<manifest>…
在Android Studio中新建项目时出现了以下问题:Your android sdk is out of date or is missing templates. Please ensure you are using SDK version 22 or later.其实这是因为旧的SDK已经在你以前的Eclipse ADT Plugin中安装好了,我们只需要更新Android SDK Tool到版本22或更高即可,并将其引用在Android Studio中就行了,至于更新Android…
一.问题描述 今天在Eclipse中运行Android项目时遇到"The connection to adb is down, and a severe error has occured"这个问题,如下图所示: 第一次遇到这个问题,上网查了一下原因,原来"The connection to adb is down, and a severe error has occured"指的就是Android模拟器端口被占用了. 二.问题的排查过程 既然是端口被占用了,现在…