Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 4 of 4
  1. Thread Author  Thread Author    #1  

    Default APK security

    Is proguard the best tool to obfuscate apk source codes?
  2. #2  
    srkmagnus's Avatar

    Posts
    8,204 Posts
    Global Posts
    8,207 Global Posts
    ROM
    Stock 4.4 (KitKat)

    Default Re: APK security

    Quote Originally Posted by Daniele Comi View Post
    Is proguard the best tool to obfuscate apk source codes?
    What exactly are you trying to accomplish? Let us know and we'll do our best to assist with the best ways to accomplish that goal.
  3. #3  

    Default Re: APK security

    The sad truth is , if you can obfuscate it, you can deobfuscate it.
  4. #4  

    Default Re: APK security

    Well, sort of. What proguard does is takes code such as

    package com.mygamecompany.mygame.enemy;

    class Enemy {
    private int health;
    private float x;
    private float y;

    public void fireAtPlayer()...
    }

    and turns it into something like

    package a.b.c.d;

    class A {
    private int a;
    private float b;
    private float c;

    public void d()...
    }

    The code will still run, but deciphering what most of it means will take while, particularly if the code is badly written to begin with.

    Proguard also won't obfuscate any strings in the code, you can get commercial obfuscators which will do this though.

Similar Threads

  1. Replies: 9
    Last Post: 09-11-2014, 10:07 AM
  2. Replies: 4
    Last Post: 08-25-2014, 04:23 AM
  3. Samsung Galaxy s tab security issue
    By Unregistered in forum Ask a Question
    Replies: 1
    Last Post: 08-20-2014, 08:08 PM
  4. forget security password
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 08-20-2014, 11:41 AM
  5. Password Security
    By jmagid51 in forum Android Security Apps, Tips & Strategies
    Replies: 1
    Last Post: 08-17-2014, 08:09 PM

Posting Permissions