adt

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

天大地大妈咪最大 提交于 2019-12-02 01:36:46
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-sdk-mac_x86-1.5_r3/platforms/android-11/data/res/drawable-hdpi/btn_default_normal.9.png !STACK 0 javax

Build Configuration Specific Resources (Debug vs. Release)

穿精又带淫゛_ 提交于 2019-12-02 01:09:06
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 this without needing to move to the ANT or Maven style of building? Although it's not what you've asked

Automatic APK signing when running ADT projects

…衆ロ難τιáo~ 提交于 2019-12-02 00:58:52
问题 I'm used to develop and debug android apps on my phone, it's pretty faster. When I'm ok, I export a signed APK to upload to the market. Now I use Google Maps APIs, I must add a signature to the Manifest, this signature is associated with my key I use to sign APKs for release. So I am able to export a signed APK to test on my phone, but it's not automated and I cannot view LogCat anymore. Can I just instruct ADT+Eclipse to auto-sign the APK before uploading it to my attached phone? Am I

Automatic APK signing when running ADT projects

馋奶兔 提交于 2019-12-01 22:10:56
I'm used to develop and debug android apps on my phone, it's pretty faster. When I'm ok, I export a signed APK to upload to the market. Now I use Google Maps APIs, I must add a signature to the Manifest, this signature is associated with my key I use to sign APKs for release. So I am able to export a signed APK to test on my phone, but it's not automated and I cannot view LogCat anymore. Can I just instruct ADT+Eclipse to auto-sign the APK before uploading it to my attached phone? Am I missing a point? I don't think you can do this via ADT directly. But you could use ant to build instead which

ClassNotFoundException is thrown by all Android projects that used some sort of library after ADT plugin Update [closed]

僤鯓⒐⒋嵵緔 提交于 2019-12-01 21:33:57
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 6 years ago . I am using Eclipse. I am facing this issue Right after GOOGLE IO 2013 when i updated my ADT plugin, Android SDK tools to Revision 22 and Android SDK

ClassNotFoundException is thrown by all Android projects that used some sort of library after ADT plugin Update [closed]

孤街醉人 提交于 2019-12-01 19:44:01
I am using Eclipse. I am facing this issue Right after GOOGLE IO 2013 when i updated my ADT plugin, Android SDK tools to Revision 22 and Android SDK platform-tools to revision 17 All of my projects that previously worked have started throwing ClassNotFoundException after this update for no reason. I have searched stackoverflow but none of the answers seem to solve my problem. i have Solved this issue and i thought of sharing it with everyone. I have noticed that there is a new Android Package named as Android Private Libraries and after hours of trying i found a way to fix this. Right Click on

Unable to run Android app, Could not find .apk issue in eclipse [duplicate]

久未见 提交于 2019-12-01 19:00:15
Possible Duplicate: Android Eclipse - Could not find *.apk Recently I have updated my ADT plugin of eclipse to the latest one but after that I use to face an unusual problem. When ever I try to run my Android projects on emulator or device, all my projects are keep on saying Could not find [project name].apk Please help me. I faced similar issue. There were no build errors reported in console of eclipse on ubuntu 10.10, still apk wasnt generated. point JAVA_HOME to correct path and rebuild the project. Eclipse didn't pick the location of java somehow. 来源: https://stackoverflow.com/questions

An internal error occurred during: “Launching Project”. java.lang.NullPointerException

只谈情不闲聊 提交于 2019-12-01 18:18:23
My android project was compiling well but suddenly it stopped launching. Then I tried to launch other projects from Project Explorer and all project threw same exception: An internal error occurred during: "Launching Project". java.lang.NullPointerException But console always shows everything is normal. Android Launch! adb is running normally. Performing com.mmcolrev.LoginActivity activity launch Here's screenshot of error. If anyone face this problem, first keep in mind that error is not in your code but due to some internal issue in eclipse ADT. I don't know exact problem but luckily found

Unable to run Android app, Could not find .apk issue in eclipse [duplicate]

房东的猫 提交于 2019-12-01 18:04:03
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Android Eclipse - Could not find *.apk Recently I have updated my ADT plugin of eclipse to the latest one but after that I use to face an unusual problem. When ever I try to run my Android projects on emulator or device, all my projects are keep on saying Could not find [project name].apk Please help me. 回答1: I faced similar issue. There were no build errors reported in console of eclipse on ubuntu 10.10, still

my 9 Patch Image stopped working

為{幸葍}努か 提交于 2019-12-01 17:45:28
I have been using 9 patch images for a while now. But have come to an issue. The GUI designer in Eclipse tells me that the image works fine. And it looks how it should. However in the device it just stretches the image as if it were a normal png. The worst part is that it was working but then i did a Clean and Rebuild and I cannot seem to get the 9patch image working any more. My question is has anyone else encountered this issue. Is there some setting somewhere in the android compilation or in eclipse that would turn this off. I have opened the images in draw9patch.bad and they seem to be