adt

How to display graphical layout previews for different user selected display font sizes

别等时光非礼了梦想. 提交于 2019-12-04 17:48:24
问题 BACKGROUND: The ADT (ver 21) allows preview thumbnails for various displays. Android allows the user to select a small/normal/large/huge font size in Settings->Display. The Android setting may affect the display setting, requiring additional design considerations. QUESTION: Is there a way to preview a "Normal" display font selection, as well as a "Huge" font selection? 来源: https://stackoverflow.com/questions/14102749/how-to-display-graphical-layout-previews-for-different-user-selected-display

Eclipse IDE - Android Graphical Layout and XML Layout Side by Side

徘徊边缘 提交于 2019-12-04 17:26:45
问题 Is it possible to have the Android Graphical Layout next to the Android XML layout so I can modify both simultaneously? It would be much better to change the XML and instantly see the effects, as opposed to clicking the tab to change it all the time. 回答1: Yes, although I just tried it and it has a bit of lag after you change something in the Graphical Layout editor. Open your layout file, such as "activity_foo.xml". Choose the menu item "Window > New Editor". This will give you another editor

How can i fix This version of the rendering library is more recent than your version of ADT plug-in in eclipse

对着背影说爱祢 提交于 2019-12-04 17:11:14
问题 I was updated my android SDK tools to 24.1.2 and i updated to android api 22 that is 5.1 and i restarted my eclipse and created new android project with target api of 22 then when i was opened my xml file it was not showing any preview. It was showing an error This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in . Please help me how to fix it 回答1: Go to Help >> Install new software and add install https://dl-ssl.google.com/android

Eclipse Android Emulator - Keyboard not working

白昼怎懂夜的黑 提交于 2019-12-04 16:25:38
问题 I just updated to the latest SDK version 16 created a new version of an AVD using the latest version of the API (16) and my hardware keyboard doesn't work anymore on the emulator (even my other avd using an older version of the sdk). Any ideas how to fix this? 回答1: Do you have "Keyboard Support" hardware property set to "yes" for your AVD? Last time I updated Android SDK etc. the process trashed my adb configuration. So maybe it influenced your other emulator as well. 回答2: Go into the config

Error : WatchActivity cannot be resolved to a type,Why i'm getting this? [duplicate]

柔情痞子 提交于 2019-12-04 15:20:32
This question already has answers here : Update Eclipse with Android development tools v. 23 (43 answers) Closed 5 years ago . Well i have update my Android Sdk to 23 & even Eclips ADT plugin to the latest version. why i'm getting the error in import library of WatchActivity . And i have already fixed this issue " Update eclipse with Android Development tools 23 ". When i create a new android project with "Blank Activity" my Src & Layout folder is empty. When i create a new android project with "Blank Wear Activity" it will create scr folder with Activity file bit contains an error

How can I disable Android's internal logging for specific tags (e.g. AbsListView, GestureDetector, endeffect)

不想你离开。 提交于 2019-12-04 14:49:25
问题 Intro I'm developing an application for android and it seems that there're some persistent logging enabled in the mighty system, see some examples below. I'm debugging from Eclipse on my Galaxy S4 device (4.2.2). Here's a list of types of log messages I see in the LogCat view: I/System.out : it's the debuggers output, signs the start of the app, useful D/dalvikvm : GC_FOR_ALLOC , GC_CONCURRENT are useful to see I produced too much garbage with my code D/AbsListView , I/endeffect : every time

Android Dependencies

时光怂恿深爱的人放手 提交于 2019-12-04 14:33:40
从ADT16开始,Android项目中多了一个名为“Android Dependencies” 的库应用文件夹,这是ADT的第三方库新的引用方式。 当你需要引用第三方库时,只需在项目中新建一个名为" libs "的文件夹,然后将所有第三方包拷贝到该目录下。当eclipse启动时,ADT就会自动帮你完成库的引用,而不需要像以前一样自己Build Path,也不再需要Referenced Libraries了。 来源: oschina 链接: https://my.oschina.net/u/1758208/blog/294010

Android ADT version required 20.0.0 and above

為{幸葍}努か 提交于 2019-12-04 12:19:04
问题 Yesterday I tried to install titanium appcelerator and in the process I edited some of the android sdk installations Now I have updated my android sdk to rev 20. But when i start eclipse i get an error that sdk requires version 20.0.0 or above. I tried to install by using eclipse->help->check for updates-> but again the installation doesn't work claiming that required items could not be found. Please help 回答1: Better to Download Latest Eclipse Setup Juno http://www.eclipse.org/downloads/ open

Eclipse ADT Unexpected exception 'Cannot run program'

大憨熊 提交于 2019-12-04 11:20:49
问题 I have installed ADT Bundle on my laptop. I have ubuntu 13.10 but when I open the ADT I see this message: Unexpected exception 'Cannot run program "/home/.../Descargas/adt-bundle-linux-x86_64 20131030/sdk/platform-tools/adb": error=2, No existe el archivo o el directorio' while attempting to get adb version from '/home/.../Descargas/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/adb' [2013-12-25 16:20:14 - adb] Unexpected exception 'Cannot run program "/home/.../Descargas/adt-bundle

Unable to resolve target 'android-8'

…衆ロ難τιáo~ 提交于 2019-12-04 10:11:11
Long story short, eclipse updated ADT & SDK to v20 , which I didn't like and wanted to get back to 18. So I uninstalled ADT and SKD and donwloaded v18 from http://dl.google.com/android/installer_r18-windows.exe and http://dl.google.com/android/ADT-18.0.0.zip Installed both of them, yet now Eclipse can't seem to find some sdk platform and throws the "Unable to resolve target 'android-8'" error... any ideas what might be wrong? in android sdk window go to: tools >> options will be open a new window and check the option force https:// .... disable this checkbox if your network is using proxy