zoukankan      html  css  js  c++  java
  • android issues

    1. issue:
        [2012-02-25 20:33:52 - test_1] Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please use Android Tools > Fix Project Properties.

        solution"
        有两种解决办法:
        1. 项目 右键 ->android tools ->Fix Project
        2. 如果不可以,检查Project -> Properties->Java Compiler
        确认JDK compliance被设置为1.6,并且enable specific seetings.
       
    2. issue:
        BUILD FAILED
        D:\workspace\ganji\build.xml:144: The following error occurred while executing this line:
        D:\workspace\ganji\build.xml:271: Unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jar
        solution:
        已经开了一个模拟器了,无法重新编译,必须关闭一个。用于ant

    3. issue:
        The connection to adb is down, and a severe error has occured.
        [2010-03-11 09:36:56 - HelloOPone] You must restart adb and Eclipse.
        [2010-03-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located at 'D:\OPhoneSDK_1.5
        \platform-tools\adb.exe' and can be executed.
        solution:
        方法1.cmd中adb kill-server,然后adb -startserver
        方法2.方法1不管用,那么在任务管理器中杀死adb.exe,然后重启Eclipse。
        方法3.方法1和2都不管用,那么查看最后一句报错中:platform-tools中是否有adb.exe(我的错误就是在相关路径下面没有platform-tools文件夹
        ,所以我选择新建一个文件夹,并且把tools中的文件全部复制到platform-tools中)
        4.前面的方法试了还是不行的话,建议重新装一个系统,最好换个系统。有些大牛也说过:MS存在一些小问题

  • 相关阅读:
    ubuntu命令
    mac获取root权限
    centos7安装解压缩工具 ncompress
    ubuntu17.04 配置go环境变量
    vue.js 拦截器
    ubuntu 安装jdk
    ubuntu安装deb文件
    初识 阿里云 SSL 证书申请
    java之XML
    LanProxy 内网映射穿透
  • 原文地址:https://www.cnblogs.com/alexyuyu/p/2368097.html
Copyright © 2011-2022 走看看