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
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
Jul 30, 2010
I am going mad trying obfuscating my projects on Netbeans and it's not reasonable at the moment for me to switch to Eclipse I need a command line script that let me build and obfuscate my APK. Is there some example script, or some tutorial that could help me in this "intent"?
View 24 Replies
View Related
Oct 5, 2010
I'm a bit scared about obfuscating my application completely. I'm afraid to run into issues where I can't figure out a bug because lines and function names wont match. Please correct me if I'm wrong... I thought maybe the simplest way to protect important parts of my code is to create a jar of the important files. I know and understand that jars are good only for classes and no xmls or other Android dependent parts. I believe it would be simple this way since I would not have to worry about obfuscating too much and breaking my project. Also, could be helpful for distributing to clients a library which they can't decompile.
In terms of obfuscating jars maybe I could do the same to the Market Licensing code to protect my paid application from pirating? What are your thoughts on my approach? Maybe bad idea? What experiences have you had with obfuscating your application? Is it not as bad as I think?
View 8 Replies
View Related
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
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.
View 2 Replies
View Related
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
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
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
Aug 17, 2010
What's everyone's favorite Android related blog?I like Droid-life.com.They tend to get the latest scoops before the other guys. I also check out androidcentral.com.Quite honestly, as awesome as the forums are, phandroid.com is that not that good of a blog.
View 6 Replies
View Related
May 27, 2010
What would be the best way to write an app for the iPhone OS and the Android OS that allows access to a web blog (posted on blogspot.com)? Are there ways to manipulate the incoming data from the website to fit the UI of the phones, or will I have to re-do a lot of the blogs?Any help would be nice.
View 2 Replies
View Related
Aug 6, 2010
I'm in the process of making a site called droidsforlife.com (haven't purchased domain yet, and using free hosting right now) And also going to run a youtube channel located at YouTube - droidforlife's Channel.The point of this thread is to ask if anyone in the future would be interested in writing for the blog, once it gets going im sure we could create revenue, and what not.The site will have app reviews, tutorials, unboxings, and reviews of accessories.
View 4 Replies
View Related
Jun 24, 2010
I downloaded the Android 2.2 source code and try to build it. When I executed the make command, I got an error here like this build/core/java.mk:20: *** frameworks/ex/common: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. Then I changed the frameworks/ex/common/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7. Next place, build/core/java.mk:20: *** external/jsr305: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/jsr305/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
Last one, build/core/java.mk:20: *** external/guava: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/guava/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
By these changes the code started the compilation.
1. Why the error occured?
2. Changes which I did is correct or not?
View 3 Replies
View Related
Nov 15, 2010
I just downloaded the source of wordpress app. I am on the process of rebranding the wordpress app (icons & labels) for my self hosted site. I was wondering, if there is a process / configuration option to remove the wordpress links & wordpress blogging options from my app. It doesn't make sense for the user to download my app from market place & go to wordpress site with it.I want the users be able to use both the default wordpress app & my self hosted app. However, for that, I think I need to change the package name in the android manifest and thus refactor all the old package names of all the java class. But then I will loose the ability to sync & get update of the latest build of the wordpress app.
Is there a way I can install the same code with the same package (as a different application) without conflicting with the wordpress app?Can anyone point me to the direction where I can find more details on the application namespace / package name conflicts?
View 1 Replies
View Related
Jun 2, 2009
I need to work on my Android development skills. Which blog has the freshest and most walkthroughs, code samples, and tutorials?
View 7 Replies
View Related
Jul 16, 2010
I want to show feeds from a blog in a listview.
View 1 Replies
View Related
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
May 9, 2009
For anyone that is interested in following the development of my Android Game: AirAttack, i have started a blog where you can follow the development:
http://airattackandroid.wordpress.com
So if you are interested, check it out! You can also follow me on twitter:
http://www.twitter.com/tjerkw
View 3 Replies
View Related
Apr 10, 2010
I just read the article 'Avoiding memory leaks' in android blog written by Romain Guy. http://android-developers.blogspot.com/2009/01/avoiding-memory-leaks.
View 4 Replies
View Related
Dec 3, 2009
This to all those who are into game development. i want to start on the game development in android, and just as a starter, can anyone suggest me an ebook or a simple procedure oriented blog or some link that'll help me to get things started.
View 4 Replies
View Related
Jun 3, 2010
I am new to android, and LOVING my new inc! I am looking for a blog that will sift through all the info and apps and what not.Whats your favorite?
View 4 Replies
View Related
Sep 30, 2010
I just wanted to let everybody know that I have relaunched my blog of all the latest up to date GSM Htc Hero Roms.
View 2 Replies
View Related
May 23, 2013
Me and my Partner are creating an APP that uses the Facebook news feed to update an APP news feed. It can even work VIA Blogging. I cant see any coding upon the subject.
View 1 Replies
View Related
Jul 17, 2012
I need to add a blog, but there has to be other things in the app too. I can find plain blog guides, but not any on how to add a blog to the app.
View 5 Replies
View Related
Jan 19, 2010
I am a die hard blogger and was wondering if anyone had any FAVE blog apps!
View 5 Replies
View Related
May 9, 2010
I'm starting a blog, and my first article is on swype.I was putting the download links in for themed, lite, and full but I can't find some. If you don't mind, can you tell me what you think of the blog and post the DL links as a comment.
View 2 Replies
View Related
Feb 21, 2013
I have a phone with a MT6577. The vendor (Wiko) published the kernel source code. So, i'm trying to build it. I can get the zImage. I converted it to boot.img but i can't boot with it on my phone.build a good zImage? (if you want to try) : URL...
cp mediatek-configs .config
TARGET_PRODUCT=s9081 MTK_ROOT_CUSTOM=../mediatek/custom make
# sudo mtk-tools/repack-MT65xx.pl -boot zImage boot.img-ramdisk boot.img
MTK-Tools by Bruno MartinsMT65xx repack script (last update: 27-01-2013)
Repacking boot image...
Ramdisk size: 2046 blocs
Repacked boot image into 'boot.img'.
Here are the Warnings I got when compiling
mediatek/platform/mt6577/kernel/drivers/video/tvc_drv.c:61:5: warning: "FIXED_WVGA_PARAMS" is not defined
net/ipv4/tcp.c: In function 'tcp_nuke_addr':
include/net/ipv6.h:338: warning: 'in6' may be used uninitialized in this function
net/ipv4/tcp.c:3367: note: 'in6' was declared here
In file included from net/ipv4/netfilter/ipt_LOG.c:27:
include/net/netfilter/xt_log.h: In function 'sb_close':
[code]....
View 9 Replies
View Related
Nov 15, 2009
Many people want to install the HTC Sync on their Sprint HTC Hero cellphone to contacts events on their PC with their phone. But do not know how to do it. Don't worry, here we will share you the way to do it...
5 Steps to Install HTC Sync on HTC Hero | Sprint Cellphone Blog
View 1 Replies
View Related
Dec 2, 2009
Try something like this,
ANT_OPTS="-Xms256M -Xmx512M" export ANT_OPTS ant ...
On 12/2/09 12:11 PM, sdphil wrote:
View 4 Replies
View Related
Apr 14, 2010
HTC may develop own mobile OS, follow iPhone model | Electronista
Palm with webOS, Samsung with Bada and now HTC with their own? Is this going to lead anywhere good?
View 8 Replies
View Related