adt

Eclipse ADT cannot set conditional breakpoint on SDK sources: missing java Project context

痞子三分冷 提交于 2019-12-10 14:35:54
问题 I am trying to debug a simple Android app with Eclipse 3.7.1. I attachted the Android SDK sources so I can step through the code of the SDK also. I can set unconditional breakpoints on code of the SDK but not conditional breakpoints. I get the following error message if I try: Conditional Breakpoint Error Conditional breakpoint has compilation error(s). Reason: Unable to compile conditional breakpoint - missing java Project context Conditional breakpoints on by own sources work, however. The

Android ADT: Moving views mixes up IDs (bug?)

故事扮演 提交于 2019-12-10 14:18:44
问题 I've been having a really annoying problem that I suspect is an Android ADT bug (v21.0.0-519525). Let's say I'm working on an Activity with two views - a TextView on top and an ImageView on the bottom. I want to move the TextView from the top to the bottom. If I either click or drag it in the GUI, or I cut/paste it in the XML, everything looks fine on the preview and the XML code, but when I go to run the app, their IDs seem to get mixed up. Code which casts R.id.textView to a TextView throws

Eclipse Android Activity Wizard Not Creating New Activities

三世轮回 提交于 2019-12-10 13:36:27
问题 I'm trying to follow the Build Your First App tutorial from the official Android site but I ran into some problem I honestly cannot find solutions to. I can access the Activity Wizard easy enough and I can get as far as here with no trouble: But when I press Finish, no Activity is created in my project's folders. Anyone know what's going on? Thanks :) EDIT: Screenshot of src folder and the rest of my project 回答1: This seems to be a bug in the latest (as of Mar 13, 2014) ADT bundle release. An

How To Exclude Files in “/res” Folder of an Android Eclipse Project

帅比萌擦擦* 提交于 2019-12-10 13:36:17
问题 Is there any way to exclude certain files under the /res folder from being processed by the Android builder? I have several Android projects, which I build using Eclipse. I uploaded these projects in our version-control system. The problem is, the version-control adds some "project.pj" file to every folder. Because of these project.pj files, my projects won't build in Eclipse anymore. I get errors because the builder tries to process these files under /res. I know I can exclude these files

Cannot build library dependent project after update to ADT 14

╄→尐↘猪︶ㄣ 提交于 2019-12-10 13:06:26
问题 In order to implement different versions of our UI we broke our program up into UI specific code and a common library project that has everything else. Up until yesterday when I updated to ADT 14 everything was working fine. Now I can't build. I keep getting the error "The container 'Library Projects' references non existing library 'path to the bin folder of my common project and the name of the project.jar' I've been all over the web and tried everything I can think of to fix this to no

android.support.v7.app.ActionBarActivity not resolve

余生长醉 提交于 2019-12-10 12:55:56
问题 I just downloaded Android Developer Tools (ADT), which includes Eclipse, etc., and I followed Android's guide to create MyFirstApp. I've just spend over an hour looking for android-support-v7-app.jar but was unable to. Do you have any suggestions on how to handle the fact that for a blank template, android.support.v7.app.ActionBarActivity not resolve . 回答1: Make sure you've downloaded the package android.support.v7. Then, Import the whole appcompat lib (/extras/android/support/v7/appcompat)

Updated Eclipse, cannot remove Jar

…衆ロ難τιáo~ 提交于 2019-12-10 11:25:01
问题 I deleted a jar from my libs file and now I cannot build the project and the jar will not go away. I've tried cleaning the project, fixing the android properties now I'm stuck. Has anyone else had this problem? Description Resource Path Location Type Archive for required library: 'C:/apps/APP/libs/imagecrop.jar' in project 'APP' cannot be read or is not a valid ZIP file APP Build path Build Path Problem 回答1: You need to remove it from your build path. Right click your project, go to

Import all settings from Eclipse to Android Studio

跟風遠走 提交于 2019-12-10 10:32:59
问题 Google has announced that ADT plugin for Eclipse is no longer in active development. If you're a new Android developer, you should consider starting with Android Studio, because the ADT plugin for Eclipse is no longer in active development. I have my own formatter which I have slightly modified from original version of android formatter, I couldn't find a way to import it. Clean Up - Customized Clean up. Customized look. Left : Eclipse, Right : Studio with eclipse theme. Still not close

app自动化安装ADT-->遇到的问题

限于喜欢 提交于 2019-12-10 10:03:47
1.下载adt-bundle-windows-x86_64-20140702 2.配置环境变量-> 添加 ANDROID_HOM环境变量,配置sdk根目录 3. 在 PATH变量中添加adb所有的目录--->;%ANDROID_HOME%\platform-tools 4. 进入 cmd命令行,输入adb version--->提示:“'adb' 不是内部或外部命令,也不是可运行的程序” 5.解决办法: 出现c:\users\administrator>,在运行指令的文件夹中粘贴adb.exe、AdbWinApi.dll、AdbWinUsbApi.dll三个文件,复制到C:\users\administrator文件夹中即可解决此问题 (来自: https://blog.csdn.net/esunshine1985/article/details/44602351 ) 来源: https://www.cnblogs.com/manbuzhezhi/p/12014909.html

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

▼魔方 西西 提交于 2019-12-10 05:04:50
问题 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