adt

环境搭建及helloworld

冷暖自知 提交于 2020-01-15 08:58:16
----------- 磨刀不误砍材工 引言 本系列适合 0 基础的人员,因为我就是从 0 开始的,此系列记录我步入 Android 开发的一些经验分享,望与君共勉!作为 Android 队伍中的一个新人的我,如果有什么不对的地方,还望不吝赐教。 在开始 Android 开发之旅启动之前,首先要搭建环境,然后创建一个简单的 HelloWorld 。本文的主题如下: · 1 、环境搭建 o 1.1 、 JDK 安装 o 1.2 、 Eclipse 安装 o 1.3 、 Android SDK 安装 o 1.4 、 ADT 安装 o 1.5 、 Adding Platforms and Other Components o 1.6 、创建 AVD 。 · 2 、 HelloWorld n 安装 JDK 。 由于 android 的开发语言是 java ,所以必须要安装 JDK. 1. 下载 JDK : http://www.oracle.com/technetwork/java/javase/downloads/index.html 比如这里我下的版本是:jdk-7u1-windows-i586.exe (当然不同系统会有不同的版本,都会有相应的命名标识的,如:这里就有 windows ) 2. 安装 JDK 。主要是傻瓜式的,按照提示一步步来。 3. 检验安装完成。打开 cmd 窗口

Eclipse: Failed to get the required ADT version number from the SDK [duplicate]

混江龙づ霸主 提交于 2020-01-15 07:10:35
问题 This question already has answers here : Eclipse: won't let me use Android SDK, wrongly claims my ADT is out of date (9 answers) Closed 5 years ago . I tried to set up a new eclipse installation including the android sdk and adt plugin. The installation of all parts complete without errors. After setting the sdk path withing eclipse this error showed up: Failed to get the required ADT version number from the SDK. The Android Developer Toolkit may not work properly. This shows up every time I

Eclipse: Failed to get the required ADT version number from the SDK [duplicate]

痴心易碎 提交于 2020-01-15 07:10:15
问题 This question already has answers here : Eclipse: won't let me use Android SDK, wrongly claims my ADT is out of date (9 answers) Closed 5 years ago . I tried to set up a new eclipse installation including the android sdk and adt plugin. The installation of all parts complete without errors. After setting the sdk path withing eclipse this error showed up: Failed to get the required ADT version number from the SDK. The Android Developer Toolkit may not work properly. This shows up every time I

How can I visualize Android call stack using Eclipse?

寵の児 提交于 2020-01-15 03:46:08
问题 Is there anyway I could visualize the call stack of an Android app? All I can find in Eclipse are the running threads: What I want, is to see how my subroutines are called in order to debug an issue related to the activities back stack. Thanks! 回答1: Add break points in your code somewhere and run in debug mode, you may see call stack then. AFAIK, While run mode it just displays number of threads and process. It doesn't display sequence of calls. 回答2: You can see the instantaneous call stack

Failed to export application after upgrade to Proguard 4.8

别说谁变了你拦得住时间么 提交于 2020-01-13 09:05:12
问题 I just upgraded my Android SDK, ADT and Proguard to the latest and greatest. My project compiles builds and runs fine in debug mode, but as soon as I try to export a signed release APK of it, I receive an error from the Export Wizard without any error log messages on the Eclipse console!* If I try to view the error log via Window->Show View->Error Log all I see is more of the same: I have no idea what to do because neither Eclipse nor Proguard would give any hint about what the problem could

Failed to export application after upgrade to Proguard 4.8

本秂侑毒 提交于 2020-01-13 09:04:03
问题 I just upgraded my Android SDK, ADT and Proguard to the latest and greatest. My project compiles builds and runs fine in debug mode, but as soon as I try to export a signed release APK of it, I receive an error from the Export Wizard without any error log messages on the Eclipse console!* If I try to view the error log via Window->Show View->Error Log all I see is more of the same: I have no idea what to do because neither Eclipse nor Proguard would give any hint about what the problem could

Android ADT - Disable “use same device for future launches”

吃可爱长大的小学妹 提交于 2020-01-13 08:36:24
问题 How can I uncheck the "use same device for future launches"? 回答1: Right click on your project, and go to Run As -> Run Configurations . Then, under Android Application -> (Your Project) , go to the Target tab, and check the first radio option Always prompt to pick device . 回答2: In Android Studio: Menu Run -> Edit Configurations and here in app tab uncheck "Use same device for future launches" 回答3: Bottom line: my ADT on Mac environment has some sort of a bug. Edit: This "bug" is fixed on OSX

Can't Install ADT. org.eclipse.wst.xml.ui is missing

Deadly 提交于 2020-01-12 18:49:53
问题 I am having trouble getting the Android Development Tools to install. I overcame one error involving the GEF. I now have a new error. Missing requirement: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires 'org.eclipse.wst.xml.ui 0.0.0' but it could not be found I am running Kubuntu 9.10 and Eclipse 3.5. I have managed to get the Android DDMS to install. But I keep running into blocks with the Development Tools. I

Can't Install ADT. org.eclipse.wst.xml.ui is missing

本秂侑毒 提交于 2020-01-12 18:48:12
问题 I am having trouble getting the Android Development Tools to install. I overcame one error involving the GEF. I now have a new error. Missing requirement: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires 'org.eclipse.wst.xml.ui 0.0.0' but it could not be found I am running Kubuntu 9.10 and Eclipse 3.5. I have managed to get the Android DDMS to install. But I keep running into blocks with the Development Tools. I

Eclipse error- Can't complete the install because one or more required items couldn't be found

纵然是瞬间 提交于 2020-01-11 09:43:14
问题 Yesterday I updated Android SDK tool to 22.6.1. After update, Eclipse show the following error, This Android SDK requires Android Developer Toolkit version 22.6.1 or above. Current version is 22.0.1.v201305230001--685705. Please update ADT to the latest version. So I tried to update the ADT to latest version, but after a few seconds of checking I got a error like Can't complete the install because one or more required items couldn't be found. in the eclipse pop up.Following is the snapshot of