adt

Android SDK not found error

心已入冬 提交于 2019-12-23 04:53:12
问题 I was working on an Android Project that uses Facebook SDK. Everything was fine until today. When I tried to run the project it gives the following error. Unable to resolve target 'android-10' until the SDK is loaded Although I have SDK 2.3.3 (Level 10), it doesn't appear in the project properties. In properties of Eclipse it says, This Android SDK requires Android Developer Toolkit version 21.1.0 or above. Current version is 21.0.0.2012-10-31-0-17. Please update ADT to the latest version.

Consuming aars from eclipse does not work

自古美人都是妖i 提交于 2019-12-23 04:28:29
问题 *THIS PART WAS MY ORIGINAL STARTING PROBLEM. PLEASE READ THE UPDATES I have imported an android project in eclipse that apparently depends on rengwuxian. Since I could not find the jar and did not know how else to do it, I followed the instructions in consuming-aars-eclipse and imported a second project with the artifacts from the aar as an android eclipse project as well. Then in my original project that I got compilation errors for com.rengwuxian.materialedittext.MaterialEditText in my

Eclipse ADT Plugin crashed after updating to version 22.0

风格不统一 提交于 2019-12-23 02:44:25
问题 I'm having serious issues trying to work with Eclipse. First, I downloaded both Eclipse and ADT Bundle, but it seems that I didn't need to download Eclipse, I can just use the one that comes with the ADT download, is that right? I'm just explaining that to make sure that's not the reason I'm facing problems. After downloading ADT version 21, I tried to link it with the sdk path, but there was a message saying that I must update the ADT to the 22nd version. I did that following these

How can I define a user screen when using ADT 21?

倾然丶 夕夏残阳落幕 提交于 2019-12-23 02:41:17
问题 I updated my ADT to 21 last night, but then I found that in the ADT XML Overlay tool, I can't define a custom screen(1024*768, mdpi). Could you help me? 回答1: After Update your ADT to version 21. In Older Version each time you have to set Add Custom Screen if you want custom Device Configurations. In ADT21 Oversion you can get this thing done by open AVD Manager , u can define your custom screen in "Device Definition" Alternative (Much Easier approach) in Newest Version you Don't Need to Set

Eclipse quicktip wont show “import” suggestions in Linux Ubuntu and Centos

家住魔仙堡 提交于 2019-12-23 01:35:12
问题 Although I've seen this question asked on multiple sites, I have not found a working solution. Issue: When the eclipse tooltips pops up, all suggested “import” fields remain blank. What I've tried: I have changed the Ubuntu font as suggested https://bugs.eclipse.org/bugs/show_bug.cgi?id=412021 I have change foreground/background colors as suggested https://askubuntu.com/questions/45001/how-to-fix-black-tooltips-in-eclipse and https://plus.google.com/100162564505001485828/posts/WHBrbEyWPZk I

ADB server didnt ACK

喜你入骨 提交于 2019-12-23 01:17:19
问题 I m facing a problem whenever i m running my application . it says Failed to start monitor thread and : adb server didnt ack . I tried every possible way but it served no purpose. Here are the following steps i did to solve it: I opened task manager and killed adb and then restarted ADT. in the command prompt i killed the running adb server then restarted it. in the DDMS i tried to reset the adb but it says Plugins are not configured properly . I have properly set my path even though these

Eclipse freezes on android related autocomplete

时间秒杀一切 提交于 2019-12-23 01:13:53
问题 I've got a vanilla Eclipse, installed the ADT and started following some tutorials. Mostly it works fine. It will build the project fine, launch the emulator and run the compiled android app, I can edit the XML, and some portions of the java files, but once the autocomplete box pops up, that's it. Eclipse freezes totally. The CPU usage of eclipse drops to 0% and nothing happens. I've waited a couple of minutes, but with 0% CPU I don't see the point. And even 10 seconds wait that frequently

Using Spongycastle with Proguard

安稳与你 提交于 2019-12-22 10:39:00
问题 I've been strugling with proguard to make Spongycastle work. Most of the time, the problem comes when I'm exporting a signed APK, either I've got error, or the app will just crash before starting. So, I've managed to gather informations to get a working proguard configuration : -optimizationpasses 5 -dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses -dontskipnonpubliclibraryclassmembers -dontpreverify -verbose -repackageclasses '' -allowaccessmodification -keepattributes *Annotation

Android App ID prefix problem

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 09:56:30
问题 I am building an Adobe Air for Android App and I have a big problem, i published an app to the android market using an old flash air extension that saved the app id with a prefix 'app.' Now that i have upgraded the extension it now saves the app id with a prefix 'air.' What this means is that I can no longer publish updates to my applications; so what can I do? The problem with using the outdated extension is that after publishing the update the user is not able to open the app until the

Small font size in Android emulator

谁说我不能喝 提交于 2019-12-22 08:55:23
问题 Sometimes I notice the Android emulator starts with a very small font size. This seems to happen randomly. Other times it has a normal font size. I use ADT 10.0.1. Do you know what is the problem? 回答1: This happens very often, and although I'm not sure about the exact reason behind this, it seems that somehow the wrong density was detected for this and resources for a lower dpi is loaded inside a higher dpi emulator. That's why everything is smaller, but the layout works properly and aligns