adt

Android Eclipse Hanging

对着背影说爱祢 提交于 2019-12-11 06:36:32
问题 I'm trying to get the ADT working in Eclipse, but I'm getting random hangs where eclipse just locks for no apparent reason, usually requiring a 'killall java' to properly clean it out of the memory. I'm on Ubuntu 10.4 (64bit) Here's the details of my eclipse/android install: eclipse Version: 3.5.2 Build id: M20100211-1343 Android Development Tools 0.9.8.v201008281755-53891 com.android.ide.eclipse.adt.feature.group Android DDMS 0.9.8.v201008281755-53891 com.android.ide.eclipse.ddms.feature

Android project using Eclipse gives error: Cannot switch on a value of type String for source level below 1.7

浪尽此生 提交于 2019-12-11 04:46:13
问题 I was working on an android project using eclipse and suddenly i started to get this error: Cannot switch on a value of type String for source level below 1.7. Only convertible int values or enum variables are permitted. I tried every solution in previous similar issues but none of them worked for me... I have Tried fixing the project and setting the JDK compliance level to 1.7 in both my project and for all project. I am using ADT Build: v22.2.1-833290 and Eclipse: String text = mService

Samsung Galaxy s4 in Eclipse ADT

烂漫一生 提交于 2019-12-11 03:31:18
问题 I want to test my App in a Samsung Galaxy S4, i've checked "unknown sources" and enabled the developer menu and checked "Debug mode". But It is displayed offline C:\Program Files (x86)\Android\android-sdk\platform-tools>adb.exe devices List of devices attached XXXXXXXX offline any ideas why? 回答1: Check that you have latest Android SDK tools. After installing latest SDK tools, check your phone: you need to confirm that you allow debugging from your computer. 回答2: For me, it wasn't until I

Zend Debugger Eclipse Startup Error: eclipse.php.debug.core was unable to load class debug.core.model.PHPConditionalBreakpoint

拥有回忆 提交于 2019-12-11 03:29:52
问题 I work on Mac OSX Lion and ever since I've installed the Zend Debugger and gotten it to be able to debug php web applications, I often encounter this Eclipse startup error: Error creation extension for extension-point org.eclipse.php.internal.debug.daemon.communication Plug-in org.eclipse.php.debug.core was unable to load class org.eclipse.php.internal.debug.core.zend.communication.DebuggerCommunicationDaemon. An error occurred while automatically activating bundle org.eclipse.php.debug.core

ADT to Android Studio UNEXPECTED TOP-LEVEL EXCEPTION

前提是你 提交于 2019-12-11 03:28:08
问题 So, I'm trying to migrate my Eclipse ADT project into Android Studio. I am using the appcompat_v7 project as a library project in eclipse. I followed the instructions on the Android Development site, but I am still receiving this error: Error:Execution failed for task :PaWPal:dexDebug. com.android.ide.common.internal.LoggedErrorException: Failed to run command: /Users/godswood/Desktop/adt-bundle-mac-x86_64-20140321/sdk/build-tools/19.1.0/dx --dex --num-threads=4 --output /Users/godswood

Beginner unable to create First Android Application Project

人走茶凉 提交于 2019-12-11 02:36:10
问题 I have downloaded the ADT bundle (Build: v22.0.1-685705) to my Macbook Pro OS X 10.8.4, and installed it according to the Android Developer instructions (on Wednesday 19 June). When I try to create a new Application Project, using all default settings, I get an error message: java.lang.NullPointerException. I have searched this term online, and understand that it refers to something the software cannot find. In the various forums, including this one, I can only find complicated references to

ADT plugin and Eclipse 3.5

与世无争的帅哥 提交于 2019-12-11 01:59:45
问题 I installed ADT plugin to Eclipse 3.5. But at Window → Preferences Android node is not shown. 回答1: If you have the Subclipse plug-in also installed, then that could be keeping the ADT plug-in from working. They just don't seem to play well together. I created a second Eclipse installation for my Android work with ADT but without Subclipse. I use the other one for projects using Subclipse but not Android. Not ideal but good enough for the moment. 回答2: Ok, I solved this slightly differently. I

ADT20 and External JAR

青春壹個敷衍的年華 提交于 2019-12-11 01:52:54
问题 I have tried absolutely everything to avoid the NoClassDefFoundError when trying to use an external jar. No dice. WTF ADT?! From a clean, brand new project, add external jar to build path, put in libs folder, make sure it's checked. Android -> Fix Project Properties, adding and removing, rinsing and repeating. I checked the contents of the jar, and my files are there! I referenced it 20 ways, removed added and rebuilt, still the dern thing can't be found!! Is there a way someone has, from

Prevent Eclipse from building .xml files

我怕爱的太早我们不能终老 提交于 2019-12-11 01:23:26
问题 I recently had a complete new install of my (archlinux) System. For that reason I installed the latest Eclipse (JUNO 4.2.1 and I regret it) along with the latest ADT Plugin(SDK rev 21). Now I'm observing a bug which I have had before but was fixed since then: When I'm in the Java Perspective, editing an xml file and click on the green "play" Button to push the new code on my phone, Eclipse starts building that particular XML file instead of building the project this xml file belongs to. I get

installing android OpenCV unable to locate error while building

断了今生、忘了曾经 提交于 2019-12-11 00:36:09
问题 I am trying to install Android OpenCV to work with it under eclipse. To do this I first installed NDK, ADT and the eclipse plugins. I am using Windows8 and Eclipse Juno. With this I successfully build and ran the sample projects from NDK. After that I imported the openCV Library - 2.4.6 Project into Eclipse and tried to build it. It failed. I tried to Clean the project it also fails. The Problem I get displayed when I try building is: *** Android NDK: Please correct error. Aborting . Stop.