0

I am trying to decompile and deobfuscate my proguard obfuscated sample.apk.

Jadx is generating code like this for a line in my proguard obfuscated sample.apk:

ctx.getString(2131034163);

which usually maps to a resource in gen/R.java as:

public static final class string {
    public static final int save_exists=0x7f050033; 
}

However the R.java that is generated through Jadx looks like:

public final class R {
    public static final int ActionBarLayout_android_layout_gravity = 0;
    public static final int ActionBar_background = 10;

static {
        ActionBar = new int[]{p050c.p051a.p052a.p053a.R.height, p050c.p051a.p052a.p053a.R.title, p050c.p051a.p052a.p053a.R.navigationMode, p050c.p051a.p052a.p053a.R.displayOptions, p050c.p051a.p052a.p053a.R.homeAsUpIndicator};
    }
}

So, how can I map 2131034163 to a resource in strings.xml? Is it possible?

Anish Singh
  • 861
  • 1
  • 12
  • 32

1 Answers1

1

R.java is Auto-Generated file .

Android R.java is an auto-generated file by aapt (Android Asset Packaging Tool) that contains resource IDs for all the resources of res/ directory . Don't try to Customize on it .

Read What is the concept behind R.java

IntelliJ Amiya
  • 73,189
  • 14
  • 161
  • 193