adt

Optimizing Eclipse for Android development

梦想的初衷 提交于 2019-12-20 09:01:04
问题 I develop Android using Eclipse and the ADT plug-in... and it's... slow. I have to restart frequently and it gets painfully worse when I have various Android projects open (needed for when I use library projects). Are there any specific optimizations that I can make to improve Eclipse performance when using the ADT plug-in? 回答1: First make sure you have a fairly recent version of Java and Eclipse and the ADT plug-ins. Especially Java. Then close Eclipse and look at the directory where you

AIDL files not building in Eclipse in random projects?

∥☆過路亽.° 提交于 2019-12-20 07:05:10
问题 I've got some AIDL files which I want to include in a project, however Eclipse seems to work differently on different projects. I'm developing an SDK for an application, and in the SDK android project the AIDL file generates the correct .java file, but in the main application Eclipse is not even attempting to build it. Update: I found a log file and it says this: !ENTRY com.android.ide.eclipse.adt 4 0 2012-04-21 19:22:11.043 !MESSAGE Failed to run one of the source processor !STACK 0 java

Eclipse doesn't recognize SGS3 device

一个人想着一个人 提交于 2019-12-20 07:03:02
问题 I'm running a small android project on eclipse ADT bundle. When I debug it on my SGS1 phone it works fine. However, when trying to debug it on a new SGS3 device, the device is not shown on the targets devices and I can't debug it. I've already enabled USB debugging on the device, And installed Keis and the device driver (for windows 7, 64 bit), And restarted the computer. Funny thing is, when I run the debugger in eclipse, it does run the application on the phone, it just doesn't recognize it

Eclipse doesn't recognize SGS3 device

ぐ巨炮叔叔 提交于 2019-12-20 06:54:47
问题 I'm running a small android project on eclipse ADT bundle. When I debug it on my SGS1 phone it works fine. However, when trying to debug it on a new SGS3 device, the device is not shown on the targets devices and I can't debug it. I've already enabled USB debugging on the device, And installed Keis and the device driver (for windows 7, 64 bit), And restarted the computer. Funny thing is, when I run the debugger in eclipse, it does run the application on the phone, it just doesn't recognize it

Build Configuration Specific Resources (Debug vs. Release)

大兔子大兔子 提交于 2019-12-20 03:23:39
问题 Does anyone know of a clever way, ideally using the Eclipse/ADT workflow, to apply specific resources to a project depending on whether it was a debug or release build (i.e. in Eclipse whether the application was Run or Exported)? The common use case we run into all the time for this is with API keys (like Maps). It would be great to set up a project to have a strings.xml file specifically for all the debug strings, and then a separate one for all the release strings. Is there any way to do

How to repair an Eclipse/Android installation? PNG load problems in the Graphical XML editor

喜你入骨 提交于 2019-12-20 03:12:15
问题 For quite a while my Eclipse environment with the Android plug-in was running smoothly. Somewhere along the line of updates applied during the Software updates process it broke. The first problem that started happening was the loss of the "button" Form Widget graphics when running the Android plug-in Graphical Editor for layout files. I get the following related errors in the Error log: !MESSAGE voice_recog.xml: android.webkit.WebView !MESSAGE main_new.xml: Failed lot load /Developer/android

what is the procedure for generating R.java in android Eclipse juno

余生长醉 提交于 2019-12-19 12:04:58
问题 I have installed eclipse juno and also added the plugin's of the android sdk. After installing android SDK manager, I've created a new android project, but a problem arises in R.java file. R.java doesn't open. Please give me a solution. I am new to android. 回答1: Make sure you have Android SDK Build-Tools installed from the Android SDK Manager Click this guy: Then make sure the top three are all installed: 回答2: Click on Project -> Build Project Edit Remove your gen directory and bin directory

Problem installing ADT in Eclipse

烂漫一生 提交于 2019-12-19 11:32:21
问题 I've already installed the SDK and now I need the Eclipse plugin. However, it won't work. It gets to about 25-29% and hangs for a few minutes, then fails and I get this error message: An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at http://dl-ssl.google.com/android/eclipse/plugins/com.android.ide.eclipse.adt_12.0.0.v201106281929-138431

Android ADT 23.0.4 is showing Compile With: API21:Android 4.X(L Preview) Instead of API21:Android 5.0

↘锁芯ラ 提交于 2019-12-19 08:06:44
问题 What I did? I updated my SDK from L preview API 20 to new Android 5.0 API 21 andADT to 23.0.4 in my Ubuntu. Problem: Android ADT 23.0.4 not showing Compile With: API21:Android 4.X(L Preview) Instead of Compile With:API21:Android 5.0 Screenshots: (Files-->New-->Android Application Project-->Compile with/target sdk) Highlighted in red texts should be changed to Compile With:API21:Android 5.0!!` SDK(updated to latest): ADT(updated to latest): it's a bug ? or So I'm only the one facing this or it

Consider adding android:paddingStart=“25dp” to better support right-to-left layouts Error

我与影子孤独终老i 提交于 2019-12-19 05:55:59
问题 I recently downloaded a new ADT . Every time after saving my projects ,it shows the following XML error. But the same goes away when I clean it. Is there a permanent solution for the same. Thanks in advance. <TextView android:id="@+id/selectquantityprompt" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="2dip" android:layout_marginRight="50dip" android:layout_marginTop="2dip" android:text="Select Quantity" android:textSize="20sp" android