You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a little sample d2d note when I compile an APK from kotlin sources
I created an APK in a sample android project that have 7 sources (excluing those xml from res/) which include 6 .kt files and 1.java file.
If I extract the APK, I find 5 classes.dex files, making it unclear which dex files contain the 'real' sources and which ones contain Google libraries.
On the other hand, if I use JADX directly on the APK file, it generates file structure without worrying the dex files.
This note indicates that we can use JADX directly on the APK file rather than the DEX file.
However, in either cases, it generated many more files that we originally have in the sources.
It generated the following directories:
As note above, the source location should only be in com/example/, but it generates many other libs that we need to smartly ignore/identify when we perform the D2D in a sense that these will be no match.
For the file level, following are the source files in a sample andorid project:
We already know all the R.java is generated, but for others, it is important to note that not all of them have matching basenames.
These are the matching:
This is a follow from #1372 (comment) by @chinyeungli 👍
The text was updated successfully, but these errors were encountered: