RB
Aspiring developer
Profile
Posts: 150
Reg: Jun 29, 2011
BR
6,150
08/14/12 09:40 AM (13 years ago)

Security Issue

I saw on google that there is an application (Apk Manager) that allows you to extract the elements of an apk. The main function is to allow editing this file. Is there any way to protect the apk and/or the items that belong to it? Thank you.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/14/12 10:28 AM (13 years ago)
Yep! Check out ProGuard, which comes with the Android SDK: http://developer.android.com/tools/help/proguard.html Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
08/14/12 10:28 AM (13 years ago)
 
RB
Aspiring developer
Profile
Posts: 150
Reg: Jun 29, 2011
BR
6,150
like
08/14/12 10:46 AM (13 years ago)
- Mark: Thank you. That's what I needed to know. - Fred: Thanks for the link. Several interesting tips in this material.
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
08/14/12 01:27 PM (13 years ago)
Mark, did you ever look at proguard with a view to making a tutorial - we mentioned it a while ago? Proguard makes it just as easy to destroy an app as it does to protect it if you don't have a good understanding of android code. It's not one to just dive into and hope for the best!
 
RB
Aspiring developer
Profile
Posts: 150
Reg: Jun 29, 2011
BR
6,150
like
08/14/12 01:35 PM (13 years ago)
Hi Raveyd I read the content of the material about the proguard and it´s really complicated, but serves as a notion. Then I read several threads on this subject in stackoverflow.com and had access to a basic configuration. I did a test and it worked well so far. Anyway, thanks for the warning.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/14/12 01:44 PM (13 years ago)
I started looking into it after we chatted the first time, but quickly ran into issues. Basically, options weren't available as documented, and I was unable, at the time, to get things working. Then I got distracted by other things. I was thinking about it the other day, and it's still on my list. Seems like a good thing to know more about. I just need to sort out why the documentation from Google/Proguard doesn't jive with what I have in my systems. Mark
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
08/14/12 02:12 PM (13 years ago)
Hi @RB, glad it's working ok.Be cautious though, it can strip out good code that it doesn't 'understand'. Maybe do a back up first? @Mark, that's what I found. I think the guide on the dev site is like a generic concept and you need something like @RB found on stackoverflow, which I guess is a custom configuration?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/14/12 02:51 PM (13 years ago)
I'll have to check out the info on stackoverflow. I did poke around there the first time, but didn't find anything that helped me. Mind you, I didn't spend a ton of time on this, so perhaps next go around I'll have more success. Mark
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/14/12 02:52 PM (13 years ago)
@RB - do you recall the threads that helped? Can you post the URLs? Thanks!
 
RB
Aspiring developer
Profile
Posts: 150
Reg: Jun 29, 2011
BR
6,150
like
08/15/12 04:11 AM (13 years ago)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.