zoukankan      html  css  js  c++  java
  • 自己遇到的Android虚拟机出现的错误及解决方法【不断更新】

    2012.11.9
    第一个:
    [2012-11-09 13:15:14 - Tesa] Android Launch!
    [2012-11-09 13:15:14 - Tesa] The connection to adb is down, and a severe error has occured.
    [2012-11-09 13:15:14 - Tesa] You must restart adb and Eclipse.
    [2012-11-09 13:15:14 - Tesa] Please ensure that adb is correctly located at 'D:学习android-sdk-windowsplatform-toolsadb.exe' and can be executed.
    这个解决方法有多种:
    1.进程中强制结束adb.exe,再重启Eclipse。
    2.如果上面方法不行,看一下有没有类似91手机助手等工具正在开启,占用了该进程,有的话就关掉。
    3.我遇到的问题的解决方法:把tools文件夹中的adb.exe复制到platform-tools文件夹中,是从网上看到的方法,我用的2.3AVD。
     
    第二个:
    [2012-11-09 13:35:03 - Emulator] WARNING: Data partition already in use. Changes will not persist!
    [2012-11-09 13:35:03 - Emulator] WARNING: SD Card image already in use: C:UsersLK.androidavd2.3.avd/sdcard.img
    [2012-11-09 13:35:03 - Emulator] ko:Snapshot storage already in use: C:UsersLK.androidavd2.3.avd/snapshots.img
    查了好多方法,都没有太多效果。实际只需要把这两个文件(sdcard.img snapshots.img)删掉即可,删除之后会红色提示,随后打开虚拟机:
    [2012-11-09 13:35:59 - Emulator] WARNING: Data partition already in use. Changes will not persist!
    [2012-11-09 13:35:59 - Emulator] WARNING: Cache partition already in use. Changes will not persist!

    2012.11.14
    Field Requires API level 5(current min is 1)
    der > Android tools > Clear Link Markers
    2013.3.6
     Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
    Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace
     这种情况一般是直接Import工程时发生的。在工程中找到Android Dependencies,右键选择buid path,再remove it即可顺利编译通过 
  • 相关阅读:
    258 第七篇:Django-组件-ContentType组件
    257 第七篇:Django-组件-Auth模块
    256 第七篇:Django-组件-中间件组件
    255 第七篇:Django-组件-cookie与session组件
    254 第七篇:Django-组件-forms组件
    253 第七篇:Django-组件-分页器组件
    第二节:2_委托入门笔记
    EF-调用sql进行操作
    1.1常见的错误---登录(菜鸟常遇错误)
    EF-Lamdba
  • 原文地址:https://www.cnblogs.com/hjtdlx/p/3957417.html
Copyright © 2011-2022 走看看