Android :: How To Debug With Obfuscated With ProGuard Applications

Oct 12, 2010

When I got something like this:

CODE:..............

How can I know where the problem is and debug this issue? I only got the mapping output from ProGuard and don't know the line number.

Android :: How to debug with obfuscated with ProGuard applications


Android :: How To Set Up ProGuard In Eclpise When Exporting A Signed - Obfuscated Application?

Sep 21, 2010

I'm publishing an android application develpoed in eclpis and, as stated in the title, I would like to integrate proguard(obfuscation) into the build, specifically for exporting a signed app.

View 2 Replies View Related

Android :: Can't Debug Applications?

Mar 13, 2009

I've tried to debug the android applications on emulator and than on the device as well but all the time I get the message "Wait for debugger - waiting for the debugger to attach to the process". I really don't know how to set the environment and the application in order to run the debug.

View 2 Replies View Related

Android :: Eclipse Debug Issues While Coding Phone Applications

Sep 27, 2010

I have an application I am writing for Android that basically does a screen scrape of a large table on the web and presents it in a nicer way on the handset. Its 500k of html and takes about 20 seconds or so normally.

When I have my phone hooked up to the computer, I used to be able to just click on "Run" and my code would execute similiarly speedy, as opposed to Debug where it would take 10 minutes to complete.

Now, however, clicking "run" behaves just like debug mode.... I don't want this overhead, how do I get eclipse to stop sending my app to the debugger already? I have searched online and found a couple people with the same issue, but simply rebooting my phone doesn't fix it, and there have been no other solutions posted that I have found.

View 1 Replies View Related

Android :: Proguard And The Licensing Server

Sep 23, 2010

Just read the latest Android Developer blog post. http://android-developers.blogspot.com/2010/09/proguard-android-and-l... Quite the beast. And Proguard cannot even be used with confidence ("it's still possible that in edge cases you'll end up seeing something like a ClassNotFoundException").

Is it just me getting irritated where this seems to be going? In my more active days developing, pretty graphic slang was applies to efforts like this: "Turd layering". Meaning: More dependencies, more procedure, more sources of error, and it doesn't even work "right". In of itself, adding innocent looking steps to a release procedure (for some relatively obscure benefit) might be marginally worthwhile, but in the bigger picture, releasing an app increasingly becomes a burden. Dare you miss a step. Or try to teach somebody else how to go through a release and verify it. Or you want to go and rebuild a development environment. Or lose the ominous reference file (mapping.txt)...

View 1 Replies View Related

Android :: Ant Build With Proguard (per Blog) Not Obfuscating

Sep 24, 2010

The timing of this week's blog post was perfect. It was exactly what I intended to do today. And the extra Ant step worked fine, and I can see Proguard obfuscate my files into bin/obf/obfuscated.jar (yes, I tweaked the file names and paths a little bit), the resulting App- release.apk does not include the obfuscated files. My first hint was my stack traces, but I confirmed it with dedexer. Has anyone else verified their .apk? How does the compile step know what .class files to use? (I'm hoping its not assuming some hard coded path.)

View 5 Replies View Related

Android :: How To Exclude R.class Files From A Proguard Build

May 21, 2010

I am one step away from making the method described here: http://stackoverflow.com/questions/2761443/targeting-android-with-scala-2-8-trunk-builds work with a single project (vs one project for scala and one for android).

View 1 Replies View Related

Android :: DalvikVM Could Not Find Field After ProGuard Obfuscation / How To Get

Nov 4, 2009

I've been trying obfuscate my application for the last 2 days. I must add that I'm new to Java, Eclipse, Ant and Android as well.

Currently I've managed to build the correct build.xml file and run ProGuard 4.4. However, every time I install my apk I get multiple errors from the "dalvikvm" such as "Found field 'e' but sig is 'J' not 'B'" or ".. sig is 'Lc' not '[c'" (Which has something to do with arrays and enums).code...

View 3 Replies View Related

Android :: Turn Off All Droid ProGuard Features Except Obfuscation?

Oct 1, 2010

Google is suggesting that developers might want to obfuscate byte code:

http://android-developers.blogspot.com/2010/09/proguard-android-and-licensing-server.html

I followed Google's instructions to get an obfuscated Android app that, at first glance, seemed to work. But there were some strange bugs introduced that are not in the un-obfuscated app. I kept turning off ProGuard options to get to this configuration:

-dontoptimize
-dontshrink
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose

Still the bugs are there. Is there anything else I can turn off to get only pure obfuscation? Obfuscation would be nice, but I am willing to turn off ProGuard's other features.

View 1 Replies View Related

Android :: Android ProGuard Settings Use With App - Uses Licensing Server To Not Force Close

Oct 2, 2010

I've seemingly tried every setting in various articles on the internet including excluding all of my classes through -keep public class.

What settings should be used to not force close? At this point if I could get obfuscation with nothing else would be fine.

Below are sample configurations I've tried and my app still force closes.

I followed this article as well as others: http://android-developers.blogspot.com/2010/09/proguard-android-and-licensing-server.html. Still no luck.

CODE:................

View 1 Replies View Related

Android :: Best Way To Debug ANR

Aug 11, 2010

What is the best way to debug ANR. ideally, it would be nice to know what call / thread / file and line number it is stalled at when the ANR occurs, but every time I look at /anr/traces.txt, I can't seem to find anything that points to something I can start tracking down.

View 5 Replies View Related

Android :: How Can I Debug Without Using Eclipse?

Nov 8, 2009

I have mostly been avoiding debugging when I can because of these two problems, so hopefully someone here has suggestions to avoid them:

1. It seems that I have to build the SDK (`make sdk`) and copy it off to a directory for Eclipse to use almost every time I want to debug. I haven't followed through the "sdk" directive, so I'm not clear on why this is necessary instead of just having Eclipse read from the source in my directory. Isn't there some way for it to do this? FYI: I have a (modified) full checkout of Donut, not just the SDK.

2. How can I debug without using Eclipse? I would really like to be able to use something like gdb/jdb.

View 2 Replies View Related

Android :: App Is Crashing / Debug It?

Aug 6, 2009

My app is crashing, How do I debug it? I'm using a HTC Magic and eclips. I looked in the documentation, but it doesn't say how to go about doing it.

View 3 Replies View Related

Android :: Debug Application Using Gdb?

May 11, 2009

How to debug application using gdb .

View 2 Replies View Related

Android :: How To Debug An App With GDBSERVER

Jan 13, 2010

I'm trying to debug a native shared library that my App uses through JNI. I can attach to a running app just fine with "gdbserver --attach pid" but i need to actually launch my app when i launch the gdbserver command.

There's a million blog hits on this topic but none of them seem to be clear as to how you launch your app. They all say to just type "gdbserver 10.0.2.2:1234 ./MyProgram" but what exactly is "MyProgram". Is that MyProgram.apk? Is it MyProgram.so? Is it some other file that gets created when the app is installed? If so, what's its path?

View 1 Replies View Related

Android :: Force Close - Debug

Jun 9, 2010

Is there a writeini / readini functions for andriod/ecplise developent? Or what is the best way to 'remember' a setting, and then at a later time restore it?

View 5 Replies View Related

Android :: Application Gives Error - How To Debug?

Nov 9, 2009

I have a user that says my application gives him an error on the Samsung Galaxy (it works fine one the G1). How can I debug this issue? Is there an accurate emulator/simulator? Can someone try it (Bendometer is the app)?

View 2 Replies View Related

Android :: Trying To Get USB Debug To Work On Windows 7

Nov 17, 2010

I am using Windows 7 64bit and I am trying to get my computer to detect my HTC Desire, but it's not picking it up. I have everything available installed through the Android Updater and I have got my phone running through Ubuntu, so it is definitely a problem with Windows.

I am using Windows 7 64 bit. I have a HTC Desire running Stock 2.2 (Froyo) that works with USB Debugging on my Ubuntu machine. Windows does detect that my phone is plugged in. It shows as a mass storage device. I have all the available things installed via the Android Updater.

View 5 Replies View Related

Android :: How To Debug App On Emulator Using NetBeans IDE?

Mar 3, 2010

I recently downloaded the latest NetBeans IDE (for MACOSX) and imported/migrated a project over from the ECLIPSE environment.Everything looks, and works well... except that EMULATOR gets stuck "waiting for the debugger to attach." I tried "Attaching Debugger." and set the PORT value to every case I've ever read about (8200, 8700, 5555, etc.) but the connection is refused.I am of the opinion that this is not the preferred way to start a debugging session in NetBeans for Android.

View 2 Replies View Related

Android :: Copy Debug.keystore From One PC To Another?

Apr 6, 2010

Can I copy the debug.keystore in My home directory to another PC's home directory? Does it have to be Linux on Linux, and Windows and Windows? Can I copy Linux keystores to Windows, and vice-versa?

View 1 Replies View Related

Android :: Unable To Debug On HTC MyTouch?

Aug 15, 2009

All right - I admit my defeat. Can anyone walk me trough successfully debugging with MyTouch? Here's what I tried: 1. Plugged in the phone - my XP Prfessional never asked me for anything - just simply told me that "Hardware is ready to use" 2. In the phone - mounted USB - no problem accessing phone's SD which is mounted as a drive 3. Disconnected phone and in developer setting enabled Settings- >Applications->Development->USB debugging.

View 4 Replies View Related

Android :: Nexus One Won't Debug In Ubuntu 9.10 / How To Get

Mar 15, 2010

I can't get Ubuntu 9.10 to recognize the Nexus One as a debug device. I tried following the instructions found here but they are not working: http://alan.lamielle.net/2010/01/22/nexus-one-usb-in-ubuntu-9-10

Anyone know of a link or know how to get the Nexus One to debug correctly in Ubuntu 9.10?

View 4 Replies View Related

Android :: Debug To Use Device With Eclipse / ADB?

Jun 11, 2010

I've been developing on the simulator, but now I have a real device.

adb can see the device (from adb devices), and I've installed Eclipse/ ADB.

I can't work out how to get debug to use the device instead of the simulator though.

View 2 Replies View Related

Android :: DDMS Heap Debug?

Nov 5, 2009

what do the following mean in the Heap view of *DDMS*:

1) Data Object

2) Class Object

3) 1,2,4,8-byte *array* : which arrays are we talking about here??

4) non- Java object

View 3 Replies View Related

Android :: Can't Debug With Nexus One / What I Might Do Wrong?

May 22, 2010

I have a HTC Hero and newly also a Nexus One. I used to debug with the HTC Hero which worked just fine. Now when I try to debug with my Nexus One I just can't make it work. I updated everything Android via Eclipse and have now the version which officially supports Nexus One as a debug device. Whenever I connect the Nexus One, turn on Debug Mode and want to run the application I don't see the device in the debug list.

Anyone got any ideas what I might do wrong? As said above, with the HTC Hero it works just fine.

View 6 Replies View Related

Android :: SDK Not Recognizing Debug-able Device

Jun 5, 2010

I'm new to Android development, and am attempting to run a test application on my actual device. I followed the instructions at http://developer.android.com/guide/developing/device.html (and related links), but the Android Debug Bridge (adb) doesn't recognize my connected device.

Some quick background info, I'm running WinXP, developing with Eclipse, with a Motorola Droid running Android 2.1 as my physical device.

An overview of the steps I've taken: Installed the Android SDK, downloading all necessary packages. Enabled USB Debugging on my device. Connected Device via USB, installing the driver from the SDK folder.

I'll stop here (though I continued to setup my application to be debug-able in Eclipse), because I at this point I noticed a problem.

Running "sdkoolsadb devices" at this point (at least, by my understanding), should list my device as connected. However, running this yields only: List of devices attached

My device recognizes that it's connected to a computer in debug mode, and my computer recognizes the device. However, I can't seem to get the sdk to recognize it. I'll leave out the steps I used to setup Eclipse for debugging on a device, as it doesn't seem relevant to the problem. I'll include them if requested.

View 4 Replies View Related

Android :: Ubuntu - Device Debug?

Jun 27, 2010

I have a HTC Desire which i would like to debug and run my Android application on. But when i in Eclipse gets the Window where i can choose between devices my HTC Desire is listed with only questionmarks (???).

I have tried this:

Enabled USB Debugging on my device and enabled debugging in my application Manifest.xml file.

In Terminal i have do this:
1. Log in as root and create this file: /etc/udev/rules.d/51-android.rules.
2. SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
3. sudo service udev restart

View 1 Replies View Related

Android :: Way To Debug Kernel Code?

Sep 10, 2010

I've got some trouble with the media backend (mostly Stagefrightplayer) in Android, and I'd like to understand why it throws the errors it does. The errors are usually device spesific, so debugging on an emulator wouldn't be sufficient.

Example:

CODE:.................

Example 2:

CODE:.............................

I've also gotten the player to bork completely and spit out a traces.txt.

Is there a way to debug what's happening, just like I debug Java code?

View 3 Replies View Related

Android :: How To Debug Application On Nexus One

Oct 28, 2010

The desktop application emulator works fine. Settings > Applications > Development > USB debugging is checked. The "USB debugging connected" alert is displayed on the Nexus One when the USB cable is attached but I can't seem to get the debugger to run the code on it. Is there something else I need to do to get the debugger to work on the device?

View 2 Replies View Related

Android :: Debug With Windows 7 64bit

Nov 19, 2010

I want to debug on my device and I am using a Windows 7, 64 bit, but I can't find correct drivers to do so. The perspective in Eclipse is whether changing nor halts the IDE at any breakpoint.Can you send me any suggestions how to use debugging?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved