zoukankan      html  css  js  c++  java
  • Eclipse升级ADT到22后从SVN checkout项目后编译出现Errors occurred during the build. errors running builder 'Android Pre Compiler' on project'我的项目名称' java.lang.Nul

    Errors occurred during the build.

    errors running builder 'Android Pre Compiler' on project'我的项目名称'

    java.lang.NullPointerException.

    出现这个错误是因为最新的ADT 对文件检查更加严谨了,1.6的svn checkout后会有.svn文件。导致编译不通过。需要升级一下eclipse 的 SVN 插件到最新版本1.8x。

    Links for 1.8.x Release:
    Eclipse update site URL: http://subclipse.tigris.org/update_1.8.x
    svn插件包下载: http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240

    Links for 1.6.x Release:
    Eclipse update site URL: http://subclipse.tigris.org/update_1.6.x
    svn插件包下载: http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240

    Links for 1.4.x Release:
    Eclipse update site URL: http://subclipse.tigris.org/update_1.4.x
    svn插件包下载: http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240

    升级svn到最新版本1.8x后重新checkout 你的项目然后refresh+clean+build 后就恢复正常了。

  • 相关阅读:
    PHP 函数大集合
    PHP 单词集合
    PHP 常用函数集合
    Linux 服务器中搭建环境
    windows下cmd中命令操作
    TP中的AJAX返回ajaxReturn()
    PHP面试题
    CI表单验证
    CI数据库操作_查询构造器类
    react 的核心思想 【声名式】Declarative 的理解
  • 原文地址:https://www.cnblogs.com/ansonz/p/2889143.html
Copyright © 2011-2022 走看看