adt

Custom Android Views in Eclipse Visual Editor

纵饮孤独 提交于 2019-12-28 13:37:14
问题 In my applications, I often rely on custom build views, such as in the following example. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:background="@color/light_grey" android:layout_height="match_parent" android:layout_width="fill_parent" > <TextView style="@style/CardTitle" android:id="@+id/card_title" android:layout_height="wrap_content" android:layout_width="fill_parent" /> <com

Why would Eclipse tell me there is no attribute “margin” for a LinearLayout?

青春壹個敷衍的年華 提交于 2019-12-28 07:05:08
问题 I'm getting an error when I try and build my android project: No resource identifier found for attribute 'margin' in package 'android' And it references this layout as the culprit. But I can't find anything wrong with it. Any idea why Eclipse would think there is not margin on these views that do have margins ? <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content"

Eclipse / Android : “Errors running builder 'Android Pre Compiler' on project…”

天涯浪子 提交于 2019-12-27 11:57:08
问题 Attempting to do some work on an Android project I haven't worked on for a couple of months, yet every time I attempt to build the project Eclipse throws up a dialog saying: 'Building workspace' has encountered a problem Errors occurred during the build. Errors running builder 'Android Pre Compiler' on project 'XXX' java.lang.NullPointerException I'm running Eclipse on a Mac with an Android project build target 4.0.3 (API Level 15) and I've the following versions of things installed Eclipse -

Eclipse / Android : “Errors running builder 'Android Pre Compiler' on project…”

早过忘川 提交于 2019-12-27 11:56:33
问题 Attempting to do some work on an Android project I haven't worked on for a couple of months, yet every time I attempt to build the project Eclipse throws up a dialog saying: 'Building workspace' has encountered a problem Errors occurred during the build. Errors running builder 'Android Pre Compiler' on project 'XXX' java.lang.NullPointerException I'm running Eclipse on a Mac with an Android project build target 4.0.3 (API Level 15) and I've the following versions of things installed Eclipse -

最新Android SDK r23

浪子不回头ぞ 提交于 2019-12-26 19:38:44
很奇怪 http://developer.android.com/ 不能访问,而ADT下载却能下载,而且速度嗖嗖的。绕了好大一圈终于找到,利用bing的网页翻译也是办法一种吧。呵呵 http://dl.google.com/android/adt/adt-bundle-windows-x86-20140624.zip http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140624.zip http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140624.zip http://dl.google.com/android/adt/adt-bundle-linux-x86-20140624.zip http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140624.zip http://dl.google.com/android/android-sdk_r23-windows.zip http://dl.google.com/android/installer_r23-windows.exe http://dl.google.com/android/android-sdk_r23-macosx

关于如何在ADT(Android Developer Tools)中配置SVN

元气小坏坏 提交于 2019-12-26 19:38:09
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 1、 打开adt-bundle-windows-x86\eclipse文件夹,新创建文件夹subclipse (注:adt-bundle-windows-x86 为我的eclipse目录名) 2、 打开Eclipse的SVN插件压缩文件(site-1.8.4.zip) (SVN插件下载地址: http://download.csdn.net/detail/lianqiangjava/6869665 ) 3、 将打开的site-1.8.4.zip压缩包中的features和plugins文件夹解压到 adt-bundle-windows-x86\eclipse\subclipse文件夹中 4、 打开adt-bundle-windows-x86\eclipse\dropins文件夹,新建一个文本文件 svn.lnk此文件的内容为:path=subclipse 5、 打开adt-bundle-windows-x86\eclipse\configuration文件夹,将org.eclipse.update文件夹删除掉 来源: oschina 链接: https://my.oschina.net/u/1866821/blog/385230

Eclipse3.7中搭建Android开发环境

假装没事ソ 提交于 2019-12-26 19:15:26
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 1、下载Eclipse3.7,登录 http://www.eclipse.org/downloads/ ,下载Eclipse Classic 3.7: 2、安装ADT插件:下载好Eclipse后解压,运行Eclipse,第一次运行会提示设置workspace;在菜单栏选择Help—Install New Software,在Work with栏输入 http://dl-ssl.google.com/android/eclipse/ 并回车,稍后显示如下图: 选择Select All按钮,单击Next——Next,选中“I Accept (此处略去若干字)”,再单击Finish,开始安装插件: 安装期间会提示“Warning(此处略去若干字)”,选择OK。安装完成后选择Restart,重启Eclispe。 此时选择Window,会出现如下选项: 并且Preference窗口中会出现Android选项,说明ADT插件安装成功。 3、安装Android SDK:登录 http://developer.android.com/sdk/index.html ,下载android-sdk_r12-windows.zip: 得到的是一个压缩包,解压到D盘根目录下。这里请注意,解压之后的SDK Manager

eclipse安装ADT

南笙酒味 提交于 2019-12-26 15:52:02
ADT安卓开发工具安装 ADT(Android Development Tools)安卓开发工具,是安卓在Eclipse IDE环境中的开发工具,为Android开发提供开发工具的升级或者变更,简单理解为在Eclipse下开放工具的升级下载工具。通过Android开发者官网( developer.android.com ), 我们可以知道,Eclipse可以通过两种方式安装ADT插件,在线安装、离线安装(需要先下载ADT插件包,可以到开发者官网上找到)。 大家都知道,由于国内网络限制,无法访问google提供的下载,所以正常情况下只能选择离线安装ADT插件 本例安装环境 eclipse4.3 window10 ADT23 (网上下载离线版) 首先简单描述下正常在线下载安装步骤 1.启动Eclipse,然后在菜单栏上选择 Help > Install New Software 2.单击 Add 按钮,在右上角 3.在Name(名称)处输入"ADT Plugin",Location(网址)处输入"https://dl-ssl.google.com/android/eclipse/" 4.点击"OK" 5.在软件对话框中,选中"Developer Tools"复选框,然后点击"Next" 6.在下一个窗口中,您会看到一个要下载的工具列表。单击“Next” 7.阅读并接受许可协议,然后单击

Eclipse with ADT的安装和配置

此生再无相见时 提交于 2019-12-26 15:51:25
我们从安卓官方网站( https://developer.android.com/sdk/index.html#download )下载下来的eclipse是捆绑好了ADT的,所以不用自己安装插件,十分方便。 我们先在解压缩后的目录下建立一个空的文件夹——virtual,用来来存放虚拟机。 然后,在我的电脑上右键->属性,进入环境变量,设置键为: ANDROID_SDK_HOME ,值为virtual的目录名:D:\WorkAppliactions\adt-bundle-windows-x86-20140624\virtual(根据自己的安装路径来设置) 来源: https://www.cnblogs.com/tianzhijiexian/p/3859446.html

eclipse ADT

我只是一个虾纸丫 提交于 2019-12-26 15:50:45
这是一个EcliPSe插件,作用是关联Android SDK,使你的eclipse能够新建Android工程,安装方法如下: 打开Eclipse中的菜单 “Help”->”InstallNewSoftware”进入软件安装界面,点击“Add”按钮。 下载安装eclipse ADT插件: 1)下载用于在Eclipse 开发android应用的ADT 插件 在企业开发中,很多程序员使用Eclipse IDE作为应用的开发环境。为了使得Android应用的创建,运行和调试更加方便快捷。Android的开发团队专门针对Eclipse IDE定制了一个插件:Android Development Tools(ADT) 下载地址:http://dl.google.com/android/ADT-22.3.0.zip 2)安装 Eclipse 插件 (ADT) 启动 Eclipse,选择 Help > Install New Software,在出现的对话框里,点击Add按钮,在对话框的name一栏输入“ADT”, 然后点击Archive...,浏览和选择已经下载的ADT插件压缩文件。 点击 OK.。返回可用软件的视图,你会看到这个插件,然后选择Developer Tools (会选中下面的“Android Developer Tools”和 “Android Editors“),点击 Next