Google发布的ADT Bundle的最终版本是什么?
由于" Android Studio "被宣布为开发Android应用程序的官方IDE,因此无法再从developer.android.com下载ADT Bundle(带有ADT插件和Android SDK的Eclipse).我也找不到ADT Bundle的版本历史记录.
我需要" YYYYMMDD " 形式的最终版本号,因此我可以根据以下模式确定下载的URL(另请参阅此答案):
http://dl.google.com/android/adt/adt-bundle-windows-x86_64-<YYYYMMDD>.zip
Run Code Online (Sandbox Code Playgroud)
例如,以下版本20140702(2014年7月2日)的下载URL 仍在运行:http: //dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
我现在在Eclipse上工作了好几个小时,即使在互联网上进行了很多搜索之后,我还没有找到解决我问题的解决方案:我的项目中没有更多的R.java文件.
在刚刚创建或在我的旧项目上,我没有R文件了,我尝试了很多解决方案(卸载,重新安装Eclipse,清理我的项目,检查我的所有XML,修复android工具的问题等等.. .)
请有人告诉我在这种情况下该怎么办?
我是Android编程的初学者.我的问题是,我无法更新ADT.问题开始了,经过很长一段时间我在Android SDK Manager中更新了Android SDK工具.然后我试图将项目导入工作区.但是我无法导入它,因为每次单击"完成"按钮时,都没有发生任何事情.然后我关闭了Eclipse并再次打开它,并向我显示以下错误:

我点击了检查更新,但没有找到任何内容.在互联网上我找到了一个URL,所以我点击了帮助 - >安装新软件...-->添加 - >并粘贴了这个URL.当我单击Next时,它显示了我想要安装的项目列表以及错误:
Cannot complete the install because of a conflicting dependency.
Software being installed: Tracer for OpenGL ES 23.0.0.1245622 (com.android.ide.eclipse.gldebugger.feature.feature.group 23.0.0.1245622)
Software currently installed: Tracer for OpenGL ES 21.0.0.v201210310015-519525 (com.android.ide.eclipse.gldebugger.feature.group 21.0.0.v201210310015-519525)
Only one of the following can be installed at once:
Tracer for OpenGL ES 23.0.0.1245622 (com.android.ide.eclipse.gldebugger 23.0.0.1245622)
Tracer for OpenGL ES 21.0.0.v201210310015-519525 (com.android.ide.eclipse.gldebugger 21.0.0.v201210310015-519525)
Cannot satisfy dependency:
From: Tracer for OpenGL ES 23.0.0.1245622 (com.android.ide.eclipse.gldebugger.feature.feature.group 23.0.0.1245622)
To: com.android.ide.eclipse.gldebugger [23.0.0.1245622]
Cannot satisfy …Run Code Online (Sandbox Code Playgroud) 我在RecyclerView中使用CardView作为元素.这样做时,android会自动在cardView和屏幕之间以及不同的cardView之间生成边距.
<android.support.v7.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/galleryCardBGColor"
app:cardCornerRadius="2dp" >
<android.support.v7.widget.RecyclerView
android:id="@+id/my_recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="vertical" />
Run Code Online (Sandbox Code Playgroud)
我按照链接中的说明将它们集成到我的项目中: using-recyclerview-and-cardview-in-eclipse-adt
我之前使用过linearlayout作为list元素:
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
Run Code Online (Sandbox Code Playgroud)
这工作得非常好,列表元素之间没有任何边距.我现在刚刚在cardView中放置了线性布局,这导致了额外的边距.
原因是我想为这些元素提供精确的边距,而我现在提供的任何边距都会被添加到这个预先存在的边距.我已经尝试向cardView元素提供零/负填充/边距,但这些都不起作用.
任何想法,我可以删除这些边距或以其他方式确切地知道添加了多少保证金.
我一直在尝试创建一个android库项目,虽然构建过程工作正常,但是在使用该库的项目中替换资源时遇到了一些麻烦.
在我的图书馆,我有:
一个library_layout.xml含有
<TextView
android:id ="@ + id/str_my_string"
android:layout_width ="wrap_content"
android:layout_text ="wrap_content"
>
一个调用的java文件
((的TextView)this.findViewById(R.id.str_my_string))的setText(R.string.my_string).
strings.xml包含的资源
<string name ="my_string">占位符</ string>
在使用我的库的项目中
strings.xml包含的资源
<string name ="my_string">实际字符串内容</ string>
我期望的行为是,当我使用库运行项目时,文本视图显示实际字符串内容,但它实际上包含false.
查看使用该库的应用程序,我确实看到两个R文件,它们都有,并且这两个文件R.string.my_string都等于相同的数值.
当我尝试在Eclipse ADT上运行我的Android项目时,我在控制台中看到了这一点:
[2017-03-24 15:34:41 - Dex Loader] Failed to load C:\Users\jaimemontoya\android-sdks\build-tools\26.0.0-preview\lib\dx.jar
Run Code Online (Sandbox Code Playgroud)
[2017-03-24 15:34:41 - CouponClub]未知错误:无法构建:文件dx.jar未从SDK文件夹加载!
我正在使用Eclipse Neon.2 Release(4.6.2):
这是我从Android SDK Manager看到的包配置:
我从该错误中理解的是,它无法加载dx.jar,因为它试图"从SDK文件夹"加载它.该消息甚至使用感叹号来表示!它指的是什么SDK文件夹?我认为在这种情况下"C:\ Users\jaimemontoya\android-sdks"将被视为SDK文件夹.你知道它在哪里找到"dx.jar"文件吗?
在将我的ADT插件更新到版本17后,我正在接受警告按摩说
避免硬编码调试模式; 将其删除允许调试和发布版本自动分配一个
在更新之前没有这样的消息.
如何避免此警告消息?
我正在使用这里的Android tools - Export...指导为我的Android应用程序构建.apk文件
我的问题是签名和未签名的.apk文件是什么?
我们怎样才能使用usnedined .apk文件?(我试图导出一个未签名的,但我无法为我的Galaxy Nexus安装它)

我按照ADT Plugin for Eclipse上的说明进行操作,但是在Eclipse中安装时我收到了这条消息:
Cannot complete the install because one or more required items could not be found
Software being installed: Android Development Tools 0.9.9.v201009221407-60953
(com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953)
Missing requirement: Android Development Tools 0.9.9.v201009221407-60953
(com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953)
requires 'org.eclipse.gef 0.0.0' but it could not be found
Run Code Online (Sandbox Code Playgroud)
我尝试过使用64位和32位Eclipse Galileo全新安装.我使用的是Windows 7.
更新:我按照在Eclipse 3.5.1上安装Android开发工具所需的org.eclipse.gef 0.0.0上的步骤并安装了GEF SDK 3.5.2但现在我在安装ADT时收到了一条新的类似错误消息:
Cannot complete the install because one or more required items could not be found
Software being installed: Android Development Tools 0.9.9.v201009221407-60953
(com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953) …Run Code Online (Sandbox Code Playgroud) 我计划创建一个与Android项目的API集成相关的插件.我可以检查/标记我要添加的API,它应该添加所有相关文件,并将示例集成在Main_Activity /或用户创建的默认活动中.
作为首发,我需要知道:
1)我是否只需要开始研究eclipse代码或ADT插件?
2)是否有任何此类插件可用?
3)我需要开始学习ADT的哪个类别,以便我可以在Create android project菜单中开始学习它?
到目前为止,我已经开始检查ADT代码了.网上什么都没有,所以我不能告诉你我做了什么.