eclipse-adt

Android Studio 0.4.3 Eclipse project without gradle

我只是一个虾纸丫 提交于 2019-12-10 13:32:50
问题 Prior to this version it seemed easy to open an eclipse project as-is in Android Studio without any conversion. I prefer the Android Studio environment, but am working on a project that uses eclipse as the main IDE. I'd rather not have to download the eclipse bundle just for this one project. Is there any way to open an eclipse project as-is, without conversion to the gradle build system, in Android Studio 0.4.3? EDIT: It appears that if you use Android Studio's download from source control

Error when running Android app

会有一股神秘感。 提交于 2019-12-10 10:22:56
问题 After I updated to ADT 22.3 i get this error: [2013-11-09 17:56:27 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace. [2013-11-09 17:56:27 - Chinese Notecards] Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace. What do I do? 回答1: Try Right click your Project > Android tools > Add support library Also check https://code.google.com/p/android/issues/detail

Eclipse and Android XML layouts gives “'default' is not a best match for any device/locale combination”

自古美人都是妖i 提交于 2019-12-08 17:00:30
问题 This is my first time making an app with XML layouts. In the past I have always dynamically generated my layouts at runtime, so don't worry, I am NOT an Android newbie. Still, this is my first time with static layouts. So what's this message all about? [2010-09-22 20:43:23 - Rockport] 'default' is not a best match for any device/locale combination. [2010-09-22 20:43:23 - Rockport] Displaying it with 'Locale Language ___Region __, Normal Screen, Short screen aspect ratio, Landscape Orientation

R.java was deleted after cleaning the project

送分小仙女□ 提交于 2019-12-08 05:48:48
问题 I accidently deleted my R.java after cleaning the project (Project->Clean). Is there any way to restore or re-create the file? I tried to build the project but R.java still missing from the project. 回答1: Here's a the things I ahve tried. Rebuilding the project (failed) Manually creating R.java and wait until the adt will generate the content (failed) Did Project->clean another time (failed) Deleted the gen folder and waited until adt will re-create it (failed) The answer: Created new project

QR-encode a String to Image in Android project using zxing

我的梦境 提交于 2019-12-08 04:21:56
问题 I am trying to create a simple Android app, which would display a QR-coded image - by using zxing library. So I have installed HomeBrew , ant and maven at my Mac OS Yosemite notebook and pointed the ANDROID_HOME environment variable to the location of Android SDK. Then I have checked out latest zxing from GitHub and built it (seeming without any errors) with the command mvn package (and using javac version 1.8.0_45). After that I have created a new Android project with blank Activity in

I installed Eclipse ADT without any error message, but after rebooting, I can't see any Android plug-in

吃可爱长大的小学妹 提交于 2019-12-08 00:37:09
问题 I've developed Android apps with Eclipse Indigo for half a year now without any problem. However, since I updated two days ago to the last version of the Android SDK, things started to go wrong. I had to continously do a Project->Clean by hand to avoid unfair syntax errors with no justification all the time. And even worse, I started having lot of trouble signing final APK with the Export Wizard. So I decided to delete eclipse entirely and install the latest version, Juno, and the Android SDK

Why is my code not updating on my app? (After updated eclipse)

有些话、适合烂在心里 提交于 2019-12-07 08:40:52
问题 Before you downvote my question because you don't see any code (ridiculous reason to downvote), read it. The Problem The problem is that even when I change my code and run it on my phone, it will run but the app won't have actually changed. For example: if I used to have Toast that would say "hello world" in onCreate, but then I changed the text to "should be updated" and then ran it, the toast would still say "hello world" . What caused the problem I updated my SDK Tools and then updated

Autocomplete does not work in XML files in particular hierarchy

这一生的挚爱 提交于 2019-12-07 03:27:23
问题 In particular XML nodes hierarchy eg. DrawerLayout->RelativeLayout->ImageButton autocomplete does not work as expected. Suggestion list contains invalid items. Eg. android:src is not shown inside ImageButton while it should be. Invalid proposals: On the other hand if hierarchy is RelativeLayout->RelativeLayout->ImageButton then everything is OK. Valid proposals: I've already tried: reopening XML file - no effect reopening project - no effect restarting eclipse - no effect 回答1: If inner

Enabling C++11 symbols resolution in Eclipse Juno ADT

隐身守侯 提交于 2019-12-06 16:57:02
问题 I'm using Eclipse Juno with the ADT (Android Developer Tools) plugin downloaded from https://dl-ssl.google.com/android/eclipse/. I created an Android application project with Native Support enabled ( right click on the project → "Android Tools" → "Add Native Support" ). Despite targeting C++11 in my Application.mk and Android.mk files, Eclipse fails to resolve symbols like std::thread or std::unique_ptr , but when I build the project it compiles well: The only problem is C++11 symbols

I installed Eclipse ADT without any error message, but after rebooting, I can't see any Android plug-in

左心房为你撑大大i 提交于 2019-12-06 06:32:18
I've developed Android apps with Eclipse Indigo for half a year now without any problem. However, since I updated two days ago to the last version of the Android SDK, things started to go wrong. I had to continously do a Project->Clean by hand to avoid unfair syntax errors with no justification all the time. And even worse, I started having lot of trouble signing final APK with the Export Wizard. So I decided to delete eclipse entirely and install the latest version, Juno, and the Android SDK and the Android ADT plugin all again. My problem is that now my brand new Eclipse installation doesn't