adt

While extracting adt-bundle-windows-x86_64-20140702 this error from windows 8

被刻印的时光 ゝ 提交于 2019-12-19 02:49:26
问题 **While extracting adt-bundle-windows-x86_64-20140702 from windows 8 this error occurred (! D:\Bela\Work\adt-bundle-windows-x86_64-20140702.zip: Cannot create folder adt-bundle-windows-x86_64-20140702\sdk\tools\lib\monitor-x86\features\com.android.ide.eclipse.hierarchyviewer.feature_23.0.2.1259578\META-INF\maven\adt.group\com.android.ide.eclipse.hierarchyviewer.feature The filename or extension is too long. ! D:\Bela\Work\adt-bundle-windows-x86_64-20140702.zip: Cannot create adt-bundle

Sort Android strings.xml in Alphabetical Order

北战南征 提交于 2019-12-18 20:29:28
问题 While programming my Android app I just kept inserting elements in strings.xml with no order whatsoever . Is there a shortcut key (like Ctrl + Shift + F can organize android: attributes in an XML layout file) that sorts string elements alphabetically? 回答1: For anyone else who bumps into this. Copy all the string elements, paste into an Excel spreadsheet sort A-Z and then copy and paste back. 回答2: This is actually a feature in ADT plugin: However, it only sort elements in Resources viewer, it

How to check the Android developer tools version from the command line?

做~自己de王妃 提交于 2019-12-18 19:06:35
问题 I'm trying to retrieve the ADT version to generate some system reports. How can I check the version of the android developer tools installed on the system using the command line? 回答1: Various parts of the tools save their revision number in files For example cat /android/sdk/platform-tools/source.properties | grep Pkg.Revision cat /android/sdk/tools/source.properties | grep Pkg.Revision The build tools themselves are placed in versioned directories, so you can find them via ls /android/sdk

This Android SDK requires Android Developer Toolkit version 14.0.0 or above. … Please update ADT to the latest version

江枫思渺然 提交于 2019-12-18 12:13:13
问题 Please help me with fixing the following error: This Android SDK requires Android Developer Toolkit version 14.0.0 or above. Current version is 12.0.0.v201106281929-138431. Please update ADT to the latest version. I am facing this error problem when I am using Eclipse. 回答1: The reason is that you have updated android sdk but your android adt plugin is not up to date. So updating your Eclipse plugin would resolve the problem. 回答2: This error happens due to an incompatibility between ADT and

signing applications automatically with password in ant

余生长醉 提交于 2019-12-18 11:13:12
问题 Currently i have a build process in place for all of our apps using ANT . I am adding the ability to build a release now and sign the apps. Currently i have the ant.properties with the correct properties. And it is in all the projects. And when i build the projects it works fine. Signs, aligns and gives me what i need. HOWEVER, we have many apps and they are all built in the build process. So the problem is, the user is having to type the password in at the Please enter keystore password and

Android Volley, duplicate Set-Cookie is overridden

馋奶兔 提交于 2019-12-18 10:52:59
问题 Trying to use Volley lib as a network wrapper for my android application. I have a connection up and running, but the problem is that every time there is multiple "Set-Cookie" headers in the response Volley uses Map that cannot have duplicate keys, and will only store the last Set-cookie header and overwrite the rest. Is there a workaround for this issue? Is there another lib to use? 回答1: I tried overiding classes to fix this but when I had to edit NetworkResponse, I was descending too far

IBM Worklight - “Unfortunately, HelloWorkLight has stopped” error message

北城余情 提交于 2019-12-18 09:37:08
问题 I have created a simple HelloWorld application with the Android environment. When I run it in my android device (ICS version) i get this error message: Unfortunately, HelloWorkLight has stopped When I run it in the Android emulator (version 2.2), I get this error: Sorry! The application HelloWorkLight (process com.HelloWorkLight) has stopped unexpectedly. Please try again. Force Close. I have no idea what to do with this error. 回答1: You are probably using ADT v22. To resolve this issue: Right

Exporting an Android project while using proguard on adt&sdk 20

左心房为你撑大大i 提交于 2019-12-18 08:54:21
问题 I've updated to the new adt&sdk 20, and I'm having problems with the new way Proguard is being used on Eclipse. I'm not a pro with Proguard at all, yet I've always used it and it worked quite easily. I simply edited the "project.properties" file and added there "proguard.config=proguard.cfg", and it worked. Sadly, some changes were made that I can't find any information of how to work with them. The official website that talks about Proguard (in the Android website) still talks about the

Android ADT Plugin doesn't show up in Eclipse

对着背影说爱祢 提交于 2019-12-18 05:47:16
问题 I'm using Windows 7 and installed the 64 bit version of Eclipse 3.5.2. I then installed the Android ADT plugin, but when I try to configure it in the Windows > Preferences dialog, the Android Plugin doesn't show up in the left pane. Instead I see DDMS. This prevents me from specifying the location of the Android SDK (unless there is another way) to give me the appropriate templates and such. Someone posted a fix to this that includes setting the permissions of Eclipse, but that didn't work

Install Dependencies not resolved in ADT r20

懵懂的女人 提交于 2019-12-18 05:27:22
问题 I just update my ADT and SDK to latest version of ADT r20 and Android 4.1 in SDK. Now in Eclipse i can not make a new project with default BlankActivity implemented in it. In the new project dialog i am sticking at the last screen which mention that there is "Install Dependencies" of android support library revision 8 required for this. I already have revision 9 installed in SDK. I also clicked " Install/Upgrade " button and it also fetch library from internet but after that no success. Below