Android: Getting source code from an APK file
Referring to this page, I decompiled an .apk file (Android app) and extracted Java files, .xml files, and resource files.
For the app to decompile, I used this app. Since decompiling someone else’s app seems problematic, I tried it with my own app. Pazuway - https://play.google.com/store/apps/details?id=net.bobuhiro11.puzzleroad
Below is the procedure. It’s almost or entirely as described on that page.

Step 2:

Step 3:
I was surprised how easily it could be analyzed. Class names, variable names, and method names can all be seen as is.
Reference:
Android: Getting source code from an APK file