adt

Cannot Install New Software in Eclipse Juno Mac

孤街醉人 提交于 2020-01-03 19:39:58
问题 I am new to Eclipse and I am trying to install the Android ADT plugin for it. When I go to help > install new software, I get the error box "Cannot complete request. This installation has not been configured properly for Software Updates. See error log for details" Error log: Could not locate the running profile instance. The eclipse.p2.data.area and eclipse.p2.profile properties may not be set correctly in this application's config.ini file. Does anyone know what this means? What do I need

Unable to run Android Virtual Device Manager “android avd” getting NullPointerException

走远了吗. 提交于 2020-01-03 10:45:14
问题 Getting NullPointerException when trying to start avd. I just downloaded the ADT bundle for Mac and ran android avd. Anyone know why it would fail? $ ./android avd java.lang.NullPointerException at com.android.sdklib.internal.avd.AvdInfo.getDeviceName(AvdInfo.java:158) at com.android.sdkuilib.internal.repository.ui.DeviceManagerPage.fillDevices(DeviceManagerPage.java:497) at com.android.sdkuilib.internal.repository.ui.DeviceManagerPage.fillTable(DeviceManagerPage.java:357) at com.android

In Eclipse, any way to start application in more than one emulator at the same time?

时间秒杀一切 提交于 2020-01-02 17:54:16
问题 When testing Android layouts, I'm constantly building for three different emulators from Eclipse (with ADT), so I have to run three times and then select each one. Is there any configuration or plugin that allows me to press Run once and the application is started in all three? 回答1: I wish I had a machine powerful enough to run 3 emulators at once! :) I doubt the Android Development Tools can do this for you... the nearest you can probably get is to script something. "adb devices" will get

In Eclipse, any way to start application in more than one emulator at the same time?

隐身守侯 提交于 2020-01-02 17:52:07
问题 When testing Android layouts, I'm constantly building for three different emulators from Eclipse (with ADT), so I have to run three times and then select each one. Is there any configuration or plugin that allows me to press Run once and the application is started in all three? 回答1: I wish I had a machine powerful enough to run 3 emulators at once! :) I doubt the Android Development Tools can do this for you... the nearest you can probably get is to script something. "adb devices" will get

Eclipse ADT Error: Cannot run program adb

两盒软妹~` 提交于 2020-01-02 03:39:08
问题 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

Improving Android string resources with XLIFF

拟墨画扇 提交于 2020-01-02 00:47:25
问题 I've seen some Google apps and code samples using XLIFF tags to wrap variables. I see some great advantages in doing this, especially for replacing non-descriptive format arguments such as %1$s . Unfortunately, XLIFF doesn't seem to integrate well into ADT. Take the following string resource, for instance: <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="share_with_application"> Share your score of <xliff:g id="score"

Improving Android string resources with XLIFF

守給你的承諾、 提交于 2020-01-02 00:46:49
问题 I've seen some Google apps and code samples using XLIFF tags to wrap variables. I see some great advantages in doing this, especially for replacing non-descriptive format arguments such as %1$s . Unfortunately, XLIFF doesn't seem to integrate well into ADT. Take the following string resource, for instance: <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" xmlns:tools="http://schemas.android.com/tools"> <string name="share_with_application"> Share your score of <xliff:g id="score"

Unable to resolve target 'android-8'

眉间皱痕 提交于 2020-01-01 11:39:10
问题 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? 回答1: in android sdk window go to: tools >> options will be open a

Using ADT and SDK manager, attach android source code to eclipse

点点圈 提交于 2020-01-01 08:38:15
问题 After installing ADT, I used SDK Manager to download the source codes for the latest android API. Now when I run the Eclipse version that was provided with the ADT, I still can't see the android source codes. Is there a simple way to fix this? 回答1: Open SDK Manager-->install source under api(i.e Android 4.0) if You got No sources attached then click the button, then choose the Directory e.g: D:\Android\android___sdk\sources\android-17\ ---> this my android sdk location Depend upon your

Project.properties file instead of default.properties file

前提是你 提交于 2020-01-01 05:05:12
问题 I stumbled across something I can't figure out myself. I have an android project with a reference to a library project. Now, the weird thing is that it seems like my default.properties file is no longer needed. Android creates a project.properties file. So my questions is: what is the difference between the two? Isn't a project.properties file standard java and default.properties android specific? What do they do exactly? 回答1: I believe you've got an issue where (some of) your project files