adt

Dexopt failed on a very big APK (Out-of-order method_idx) when dex.force.jumbo=true

穿精又带淫゛_ 提交于 2019-12-05 18:49:07
问题 I have a very big Android project with a multiple, big, 3rd party jars (as Android Libraries). I believe I've hit a Dex's max number of method limitation (compiling via eclipse): [2012-11-18 02:28:45 - Find In Files] Dx processing classes.dex... [2012-11-18 02:28:48 - Dex Loader] Unable to execute dex: Cannot merge new index 66774 into a non-jumbo instruction! [2012-11-18 02:28:48 - Find In Files] Conversion to Dalvik format failed: Unable to execute dex: Cannot merge new index 66774 into a

Jar from library project not resolved in Android app

邮差的信 提交于 2019-12-05 18:18:39
I'm building an Android app which uses a library that is defined in another Eclipse project (same workspace). All is working fine, but now I added a jar file to the library project's build path. In Eclipse I exported the jar file to make it visible to dependent projects of the library (Build Path -> Order and Export -> mark the jar file). Still Eclipse (ADT) complains that the import cannot be resolved. I have set up a test project for the library as well, and there the imports are visible after exporting the jar file as mentioned above. Is there anything I forgot to configure? Regards, Martin

Small font size in Android emulator

故事扮演 提交于 2019-12-05 18:01:41
Sometimes I notice the Android emulator starts with a very small font size. This seems to happen randomly. Other times it has a normal font size. I use ADT 10.0.1. Do you know what is the problem? This happens very often, and although I'm not sure about the exact reason behind this, it seems that somehow the wrong density was detected for this and resources for a lower dpi is loaded inside a higher dpi emulator. That's why everything is smaller, but the layout works properly and aligns things at their own places. And you're right: when this happens, network doesn't work in emulator! These two

软件构造-实验三-仅供参考

我们两清 提交于 2019-12-05 17:23:16
姓名 学号 班号 电子邮件 手机号码 目录 1 实验目标概述···· 1 2 实验环境配置···· 1 3 实验过程···· 1 3.1 待开发的三个应用场景··· 1 3.2 基于语法的图数据输入··· 1 3.3 面向复用的设计:CircularOrbit<L,E>· 1 3.4 面向复用的设计:Track· 2 3.5 面向复用的设计:L· 2 3.6 面向复用的设计:PhysicalObject· 2 3.7 可复用API设计···· 2 3.8 图的可视化:第三方API的复用···· 2 3.9 设计模式应用···· 2 3.10 应用设计与开发···· 2 3.10.1 TrackGame· 2 3.10.2 StellarSystem· 2 3.10.3 AtomStructure· 2 3.10.4 PersonalAppEcosystem· 2 3.10.5 SocialNetworkCircle· 2 3.11 应对应用面临的新变化···· 2 3.11.1 TrackGame· 3 3.11.2 StellarSystem· 3 3.11.3 AtomStructure· 3 3.11.4 PersonalAppEcosystem· 3 3.11.5 SocialNetworkCircle· 3 3.12 Git仓库结构··· 3 4 实验进度记录···· 3

Android SDK requires android developer toolkit version 17.0.0 or above

送分小仙女□ 提交于 2019-12-05 09:19:06
问题 I am having this weird issue when I was trying to merge my projects from eclipse to netbeans. Now when trying to rerun eclipse I get this error "Android SDK requires android developer toolkit version 17.0.0 or above" What I have tried to do to resolve the issue was try and update the SDK and toolkit inside of it. So far everything is updated and now I am clueless. 回答1: Run software updates in Eclipse (Help > Check for Updates) and update the ADT. 回答2: Go to your eclipse, click on Help ->

Errors running builder 'Android Package Builder' on project 'HelloAndroid'. sun/security/x509/X500Name

若如初见. 提交于 2019-12-05 09:13:24
I just installed Eclipse-Classic 3.7.2 and android SDK. Also installed/configured eclipse with ADT plugin. Now after following the steps in http://developer.android.com/resources/tutorials/hello-world.html to create a "Hello World" application I tried to run the application in Android Emulator. But this is throwing an error Errors occurred during the build. Errors running builder 'Android Package Builder' on project 'HelloAndroid'. sun/security/x509/X500Name Can you please explain me what am I doing wrong here, or what do I need to fix for this error. Thank you Zeeshan Agustin Altamirano The

How do I force eclipse to show xml layouts and styles as text?

十年热恋 提交于 2019-12-05 08:24:46
I recently moved up to Eclipse 4.2 (Juno) with ADT 20.0.3. If I view a layout or a style from an old project Eclipse just shows me its appropriate controls-based editor. I want to edit the syntax-highlighted xml text. I don't see a way to switch the plugin's editor to this mode although it will fallback to it for a layout it chokes on and can't give a WYSIWYG display for. Any help will be appreciated. EDIT : This problem turned out to be a side effect of my recent adventures in themeing Eclipse 4.2 . Using the Dark Juno theme, the buttons for switching between text and wysiwyg views at the

Eclipse ADT Error: Cannot run program adb

会有一股神秘感。 提交于 2019-12-05 06:34:51
I'm on Ubuntu and just installed the Android SDK ("SDK Only") for 64-bit linux. I then installed the ADT plugin for Eclipse. When I restarted Eclipse it asked me to open the SDK Manager and install some OS SDKs, so I installed some Developer tools and the most recent (I believe it was 4.2.2) Android distro. I then restarted Eclipse and got no errors or console warnings. I then tried to open several Android views (Heap, LogCat, etc.) and got the following error: What is this and why am I seeing it? What can I do to correct it? Thanks in advance! Update: running an ls -l on the directory in

Can't change default output folder

给你一囗甜甜゛ 提交于 2019-12-05 05:48:22
all I can't change the default output folder in Eclipse. When I open "Properties" -> "Java Build Path" -> "Source", the default output folder is <project_name>/bin/classes I changed it to <project_name>/bin save and clean-build this project. It changed back to <project_name>/bin/classes This happened after I updated my ADT plugin to 15.0.1 Some configurations: 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 Any suggestions are appreciated. Thanks, Johnny From

Long loading operation on opening an xml layout on latest ADT

余生颓废 提交于 2019-12-05 04:46:35
In latest ADT bundle when I try to open an xml layout editor, it opens and then this message appears: The rendering target (Android 4.4.2) is still loading. The layout will refresh automatically once the process is finished. Also most of the operations in eclipse are taking long time,like renaming a resource and I don't think that is somehow related to my PC configuration. I'm using latest JDK , what should i do? or it's a bug in android developing tools? Make sure your Android SDK and ADT have the exact same version. For example, if you have Android SDK v22.6.2 installed, you must also have