Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wish to reverse engineering an APK file. I try to extract APK file and found that classes.dex is missing. But this file is available in other APK files.

Can anyone explain the reason?

Is it possible to hide classes.dex file in an APK or to create an APK without classes.dex?
Posted
Updated 13-Nov-19 12:51pm
Comments
Kornfeld Eliyahu Peter 4-Feb-14 5:54am    
"Can anyone explain the reason?" - yes, but why should we?
Why in the first place you want to "reverse engineering an APK file"? It smells not good...
ckumaresanmba 4-Feb-14 6:31am    
The main reason behind this is, I need to build a secure app. That is I why I try all possible ways of cracking apps. To do this, first I need to know how others secure their app.
Kornfeld Eliyahu Peter 4-Feb-14 6:39am    
Hint 1 - do some Google
Hint 2 - .dex file is the executable inside APK and it's possible to build non-execute APK (resource only)...
ckumaresanmba 4-Feb-14 6:53am    
It means a non-execute APK should not any functions on Phone, Right?
Kornfeld Eliyahu Peter 4-Feb-14 6:58am    
It is possible to load an APK just for resources...
Other possibility that dex-preoptimization is enabled, while compiling and for that the extension you are looking for is .odex...

1 solution

Most probably it has been optimized and stored in a separate file ending with .odex, you need to search for it in nearby folders.
Look up on the web on .odex files and how to "deoxedize" it...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900