adt

Eclipse with ADT - JUnit Test Not Running With EclEmma

匿名 (未验证) 提交于 2019-12-03 00:53:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am currently running Eclipse Juno with the Android Development Tools plugin so I can develop Android applications and test them. To get code coverage of the applications (and preferably the APIs of Android themselves), I installed EclEmma into Eclipse, but just when I was about to run it for the first time, it gives me an error: Error while dumping coverage data (code 5013). Socket closed I don't know what might be causing this, and when I looked it up here , the workaround didn't seem to work or I'm just not sure where those directories

Scroll the Layout Editor in Android ADT Eclipse Plug-in

匿名 (未验证) 提交于 2019-12-03 00:46:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Has anyone figured out how to scroll the contents of the Layout Editor when those contents overflow one "screen"? I'm talking about at design-time while using the ADT Layout Editor, not scrolling at run-time on a physical device (that works fine). 回答1: Turn off clipping in android layout editor. "toggle clipping" button is at the top-right corner in android layout editor Hope this helps. 回答2: Configure your API level to be more than 5, that will enable the toggle button. 回答3: I know this is an old question but when editing a layout you want

Updated SDK Tools and ADT to 17 and now getting VerifyErrors

柔情痞子 提交于 2019-12-03 00:27:50
I have a project that references two library projects. After upgrading the ADT and SDK tools to version 17 , the app crashes as soon as it hits a reference to a class defined in one of the Library projects. Errors such as: Unable to resolve superclass of Lcom/my/package/name/MyActivity; (118) Link of class 'Lcom/my/package/name/MyActivity;' failed VFY: unable to find class referenced in signature (Lcom/my/package/name/MyActivity;) and: FATAL EXCEPTION: main java.lang.VerifyError: my/package/name/util/SomeClass at my.package.name.App.onCreate(App.java:120) at android.app.Instrumentation

Android-SDK和ADT下载地址

匿名 (未验证) 提交于 2019-12-02 23:59:01
由于大陆直接访问Android的官方网站一般情况下比较困难,特此列出了Android各个SDK版本的直接下载地址。 ADT 23.0.4:https://dl.google.com/android/ADT-23.0.4.zip 23.0.6:https://dl.google.com/android/ADT-23.0.6.zip SDK――23.0.2 Windows32 & 64-bit:http://dl.google.com/android/android-sdk_r23.0.2-windows.zip Windows32 & 64-bit:http://dl.google.com/android/installer_r23.0.2-windows.exe Mac OS X32 & 64-bit:http://dl.google.com/android/android-sdk_r23.0.2-macosx.zip Linux32 & 64-bit:http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz SDK――24.1.2 Windows32 & 64-bit:http://dl.google.com/android/android-sdk_r24.1.2-windows.zip Windows32 & 64

软件构造1-3章

匿名 (未验证) 提交于 2019-12-02 23:43:01
章节 内容 1 什么是“高质量的软件”、如何从不同维度刻画软件 2 软件构造的基本过程和步骤 3 软件构造的理论基础――ADT技术基础――OOP 1.1软件构造的多维度视图 1.1.1从三个维度看软件系统的构成 moment:特定时刻的软件形态 Period view: 软件形态随时间的变化 code:代码的逻辑组织 functions, classes, methods, interfaces component:代码的物理组织 files, directories, packages, libraries 编译型语言Java 解释型语言Perl,Python 1.1.2将“软件构造”看作“不同视图之间的转换” 1.2质量指标 1.2.1Quality properties of software systems 外部质量因素影响用户 内部质量因素影响软件本身和它的开发者 外部质量取决于内部质量 1.正确性:按照预先定义的“规约”执行 方法: 1.测试和调试:发现不正确、消除不正确 2.防御式编程:在写程序的时候就确保正确性 2.健壮性:针对异常情况的处理 异常处理:所谓的“异常”,取决于spec的范畴 3.可扩展性:对软件的规约进行修改,是否足够容易?应对变化 1.2.2Five key quality objectives of software construction 3

Eclipse ADT “… could not be resolved” with Android NDK and C files

我的梦境 提交于 2019-12-02 22:01:35
问题 I am having problems with the Eclipse indexer for my NDK project. There's a lot of similar threads out there but none that seem to touch on the same source of problems. I have an OpenGL ES application that I need to port over to Android written purely in C that I'd like to run as a NativeActivity, preferably having no Java attached to it. The code compiles fine using ndk-build after a lot of rewriting, but from the IDE there's a lot of errors such as Type 'GLfloat' could not be resolved . An

eclipse for linux安装及配置

匿名 (未验证) 提交于 2019-12-02 21:53:52
下载对应版本的eclipse安装包: https://www.eclipse.org/downloads/packages/ 下载的版本要与操作系统匹配,64位操作系统选择:eclipse-java-photon-R-linux-gtk-x86_64.tar.gz 在安装包所在路径下打开命令行,解压文件: tar -zxvf eclipse-java-photon-R-linux-gtk-x86_64.tar.gz 解压后生成“eclipse”文件夹,进入该目录: cd eclipse . 直接运行 ./eclipse 即可。 2.ADT ADT是Android Development Toolkit的简称,是eclipse的安卓开发工具,可以通过在线和离线的方式安装 在线安装 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.阅读并接受许可协议

Error importing Maven Android Android project to Eclipse with ADT 20

故事扮演 提交于 2019-12-02 20:35:13
I'm updated the ADT plugin to the last version (20) and the android-sdk tool. Now when I try to import an existent Android Maven to Eclipse raise the exception An internal error occurred during: "Importing Maven projects". com/android/io/StreamException , and creates the eclipse project but not like Android project as before. The previous existent (maven android) projects in the workspace works fine. The Eclipse full exception trace when import the project is the following: !ENTRY org.eclipse.osgi 2 1 2012-06-29 19:02:34.421 !MESSAGE NLS unused message: LifecycleMappingPropertyPage_this

Eclipse ADT: Project name “appcompat_v7” being created after creating every new project

北城余情 提交于 2019-12-02 20:28:32
Well I want to highlight this and bring it all in this thread, as the rest of threads did not have a concluded answer, so before skipping into them here are the threads I referred to: Adt doesn't create default hello world but command line does [solved ]Eclipse behaving differently while creating new project/activity ADT has been behaving a bit weird since past few days. I keep my SDK always updated so I frequently Run the SDK manager and download all the updates. recently I noticed that if I create a new android app project it is not creating a default MainActivity even if I check that box,

ADT 23.0.2 缺少NDK PATH 问题解决

耗尽温柔 提交于 2019-12-02 19:36:21
升级了ADT版本,遇到一个大问题: Windows -> Preferences -> Android ->NDK 找不到了。。 我是从 http://developer.android.com/sdk/index.html 下载了最新的 adt-bundle for mac(截止到2014年9月1日是最新的)。 文件名称:adt-bundle-mac-x86_64-20140702.zip ADT版本:ADT 23.0.2 Eclipse版本:Juno 装好之后,在 Windows -> Preferences -> Android -> 中竟然没有NDK选项。 折腾了很长时间,解决办法是:下载最新的ADT(ADT-23.0.3.zip),重新安装,重启,Windows -> Preferences -> Android -> NDK 出现。 下载地址: http://developer.android.com/sdk/installing/installing-adt.html 我觉得这应该是 ADT 23.0.2 一个BUG,Google也发现了这个问题,并在 ADT 23.0.3 中解决了,真是一个坑。。 来源: oschina 链接: https://my.oschina.net/u/85712/blog/308668