问题描述:

在Eclipse中运行ant批量打包工具出错,日志信息如下:
D:\Android\android-sdk-windows\tools\ant\build.xml:601: The following error occurred while executing this line:
D:\Android\android-sdk-windows\tools\ant\build.xml:720: The following error occurred while executing this line:
D:\Android\android-sdk-windows\tools\ant\build.xml:734: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to “D:\Program Files\Java\jre7″

解决方案:

Eclipse菜单 � Window � Preferences � Java � Installed JREs � 选中栏目表格中的jre项 � Edit � Add External JARs � 选择jdk目录/lib/tools.jar - 确认其加入JRE system libraries� Finish � OK

如有任何疑问,请发送邮箱至237722726@qq.com,感谢您的阅读


更多相关文章

  1. android listview实现表格样式
  2. android表格数据移动功能
  3. 【Android开发】布局管理器-表格布局
  4. [置顶] android 批量插入数据
  5. android中表格绘图
  6. android 用ListView实现表格样式
  7. Android批量打包提速 - 1分钟900个市场不是梦
  8. Android恶意样本批量获取方法
  9. Android学习笔记十五之TableLayout表格布局

随机推荐

  1. eclipse导入android的jar包
  2. 如何更新Android Studio版本
  3. Android Lights
  4. Android 圆角图片
  5. Android--DatePickerDialog日期控件
  6. Android之简单的拍照功能
  7. android dialog样式
  8. 一个挺好用的花样开源神器
  9. Android 自音乐播放器源代码
  10. Android RadioGroup RadioButton 自定义