R.java work? In a compiled .apk file, does it contain all constants from the XML files prior to compilation? I've decompiled an app using several Java RE tools, and used
apktool to extract the resources (xml files, images and others). However, when rebuilding the project in Eclipse, the
R.java generated by Eclipse (in the
gen folder) does not match the original
R.java from the decompiled app. Is this a common occurrence when reversing android apps? In this case, the original R.java contains fields consistent with the rest of the code. However, this is not present in the generated R.java and hence this error.
The decompilers I used are
1) JEB (Commercial)
2) jadx (Open-source)