Android application program packing detection method

The invention discloses an Android application program packing detection method for detecting whether the packing protection effect of a packed APK is really achieved with an Android application program unpacking method. The method comprises the steps of: installing a Hook tool in a simulator and configuring the environment of the Hook tool; installing a packed APK file; unpacking two system functions dvmDexFileOpenFromFd and dvmDexFileOpenPartial by the Hook tool to obtain a classes.dex file; comparing the classes.dex file with an unpacked classes.dex file, and detecting whether the unpacking is successful; and recovering the classes.dex file. The method can verify the packing effect of certain applications packed with an existing APK reinforcement tool, also is a novel method for detecting the security of the APK file, has a very good promotion effect on industrial APK reinforcement and risk evaluation markets, and has a very great promotion effect on the security aspect of mobile applications in addition to very high commercial values.