我无法安装Android开发工具.我克服了涉及GEF的一个错误.我现在有一个新错误.
缺少要求:Android开发工具0.9.6.v201002051504-24846(com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846)需要'org.eclipse.wst.xml.ui 0.0.0'但它无法找到
我正在运行Kubuntu 9.10和Eclipse 3.5.我已设法安装Android DDMS.但是我一直在使用开发工具遇到障碍.我安装了Android SDK.
为了获得缺少的组件,我需要做什么?
在更新到最新的开发人员工具ADT 14之后,包含库项目的我的Android项目将不再运行产生错误:
Dx UNEXPECTED TOP-LEVEL EXCEPTION: ... already added: ...
...
Conversion to Dalvik format failed with error 1
Run Code Online (Sandbox Code Playgroud)
使用包含删除和重新添加项目的解决方案描述此问题的其他线程不起作用.
所有
我无法在Eclipse中更改默认输出文件夹.
当我打开"属性" - >"Java构建路径" - >"源"时,默认输出文件夹是
<project_name>/bin/classes
Run Code Online (Sandbox Code Playgroud)
我改成了
<project_name>/bin
Run Code Online (Sandbox Code Playgroud)
保存并清理 - 构建此项目.它变回了
<project_name>/bin/classes
Run Code Online (Sandbox Code Playgroud)
这是在我将ADT插件更新到15.0.1之后发生的
一些配置:
Eclipse:
Eclipse IDE for Java Developers<br/>
Version: Indigo Service Release 1<br/>
Build id: 20110916-0149
ADT Version: 15.0.1.v201111031820-219398
OS: Mac 10.7.2
SCM: Git 1.7.4.4
Run Code Online (Sandbox Code Playgroud)
任何建议表示赞赏.
谢谢,约翰尼
我知道这个问题已经在" Eclipse给出错误,最近更新后缺少R.java文件 "和" ADT更新后没有生成R.java "中讨论过但我仍然无法使其工作.
我的R.java文件没有生成,我在这里搜索了答案,但没有一个答案有效.在我更新ADT之前一切正常,所以代码应该没问题.这就是我尝试过的:
我该怎么办?请帮帮我吧!
正如标题所说,当我尝试禁用相机时,Android会忽略它,一旦我尝试使用某些相机功能,它们就能完美无缺地工作.

并检查设备中的应用:

任何提示在Android模拟器中执行完全禁用相机?
谢谢!!编辑:仍然没有线索.我试过Windows和Mac.两者都发生了同样的事情.
ADT打开时显示错误消息:
"Android SDK需要ADT版本22.6.1或更高版本"
以下更新ADT的方法失败:
安装新软件失败,但有异常:
An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.android.ide.eclipse.adt,22.6.0.v201403010043-1049357
No repository found containing: osgi.bundle,com.android.ide.eclipse.adt.package,22.6.0.v201403010043-1049357
No repository found containing: osgi.bundle,com.android.ide.eclipse.base,22.6.0.v201403010043-1049357
No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,22.6.0.v201403010043-1049357
No repository found containing: osgi.bundle,com.android.ide.eclipse.gldebugger,22.6.0.v201403010043-1049357
No repository found containing: osgi.bundle,com.android.ide.eclipse.hierarchyviewer,22.6.0.v201403010043-1049357
No repository found containing: osgi.bundle,com.android.ide.eclipse.ndk,22.6.0.v201403010043-1049357
No repository found containing: osgi.bundle,com.android.ide.eclipse.traceview,22.6.0.v201403010043-1049357
No repository found containing: osgi.bundle,overlay.com.android.ide.eclipse.adt.overlay,22.6.0.v201403010043-1049357
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt,22.6.0.v201403010043-1049357
No repository …Run Code Online (Sandbox Code Playgroud) 我刚刚下载了Android开发者工具(ADT),其中包括Eclipse等,我按照Android的指南创建了MyFirstApp.我只花了一个多小时寻找
android-support-v7-app.jar
Run Code Online (Sandbox Code Playgroud)
但无法.你对如何处理这一事实,对于一个空白模板,有什么建议android.support.v7.app.ActionBarActivity无法解决.
我刚刚启动android dev并且在从sdk管理器安装所有过去的API后首次启动adt(低至2.2 froyo)并且我收到错误告诉我更新,但是当它检查更新时它说不新的更新.
此外,当我尝试从https://dl-ssl.google.com/android/eclipse/手动安装新adt时,我遇到依赖冲突错误.
此外,当我从谷歌下载一个新的adt似乎只是正常的朱诺日食没有设置adroid的东西,没有adt启动画面或任何东西......
如果我不能使用IDE,我无法继续学习android,因为它需要更新到它不会安装的adt版本.
我试过手动下载adt v23并发生同样的错误,我甚至删除了eclipse目录插件中所有与adt 22相关的东西,但它仍以某种方式发生
**从Windows 8中提取adt-bundle-windows-x86_64-20140702时发生此错误
(! D:\Bela\Work\adt-bundle-windows-x86_64-20140702.zip: Cannot create folder adt-bundle-windows-x86_64-20140702\sdk\tools\lib\monitor-x86\features\com.android.ide.eclipse.hierarchyviewer.feature_23.0.2.1259578\META-INF\maven\adt.group\com.android.ide.eclipse.hierarchyviewer.feature
The filename or extension is too long.
! D:\Bela\Work\adt-bundle-windows-x86_64-20140702.zip: Cannot create adt-bundle-windows-x86_64-20140702\sdk\tools\lib\monitor-x86\features\com.android.ide.eclipse.hierarchyviewer.feature_23.0.2.1259578\META-INF\maven\adt.group\com.android.ide.eclipse.hierarchyviewer.feature\pom.xml
Total path and file name length must not exceed 260 characters
The system cannot find the path specified.
! D:\Bela\Work\adt-bundle-windows-x86_64-20140702.zip: Cannot create adt-bundle-windows-x86_64-20140702\sdk\tools\lib\monitor-x86\features\com.android.ide.eclipse.hierarchyviewer.feature_23.0.2.1259578\META-INF\maven\adt.group\com.android.ide.eclipse.hierarchyviewer.feature\pom.properties
Total path and file name length must not exceed 260 characters
The system cannot find the path specified.)
Run Code Online (Sandbox Code Playgroud)
我怎样才能解决这个问题?
我正在玩OCAMl中的GADT和幻像类型.我明白GADT是描述某些幻像类型的便利 - 如果我错了,请纠正我.所以我决定尝试将使用GADT类型的程序转换为具有ADT和幻像类型的程序.
我从这篇博客文章中选择了一个GADT程序作为起点.这是一个小的bool/int表达式求值器,这是它的要点:
module GADT = struct
type _ value =
| Bool : bool -> bool value
| Int : int -> int value
type _ expr =
| Value : 'a value -> 'a expr
| If : bool expr * 'a expr * 'a expr -> 'a expr
| Eq : 'a expr * 'a expr -> bool expr
| Lt : int expr * int expr -> bool expr
let rec eval : …Run Code Online (Sandbox Code Playgroud) adt ×10
android ×9
eclipse ×5
eclipse-adt ×2
dalvik ×1
exception ×1
gadt ×1
java ×1
ocaml ×1
r.java-file ×1