How to see source code of any APK file or app ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to see source code of any APK file or app ?

Can anyone see source code of any APK file or app ? If yes then how ?

14th Jul 2020, 6:51 PM
Satya Prakash
Satya Prakash - avatar
2 Answers
+ 1
I do it as follow: Requirements: dateimanager+ (app for android) apktool (programm for linux, but maybe it runs on windows, I dont try it) Steps: open dateimanager+ Search apps and touch it Look for targetapp Touch it, hold Select "backup" & confirm go to "remote" Select "over wifi" At pc open browser & search for the backup Download it Open downlods in console Use apktool -d filename -- You should have a new directory with the decompiled files. Startin with the AndroidManifest and so called smali files. This is, where the party goes on. Its a big puzzle and its good if you have knowledge about java and kotlin. But only the AndroidManifest.xml is interesting to see, read & compare with other manifest-files.. Have fun :D
15th Jul 2020, 7:30 AM
Sven_m
Sven_m - avatar
0
An apk file is actually a zip file, just change its extension from .apk to .zip. Then you will get some dex file. To convert those file into java you can use tools like dextojar. Thank you
14th Jul 2020, 6:53 PM
Hardik Sharma
Hardik Sharma - avatar