org.jf.util.ExceptionWithContext: Invalid magic value: 64 65 78 0a 30 33 36 00


Solutions on the web

Solution icon of github
Invalid magic value: 64 65 78 0a 30 33 36 00

Stack trace

org.jf.util.ExceptionWithContext: Invalid magic value: 64 65 78 0a 30 33 36 00
	at org.jf.util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
	at org.jf.dexlib2.analysis.ClassPath.loadClassPathEntry(ClassPath.java:270)
	at org.jf.dexlib2.analysis.ClassPath.fromClassPath(ClassPath.java:182)
	at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:67)
	at org.jf.baksmali.main.run(main.java:113)
	at org.jf.baksmali.main.main(main.java:322)
Caused by: org.jf.dexlib2.dexbacked.DexBackedDexFile$NotADexFile: Invalid magic value: 64 65 78 0a 30 33 36 00
	at org.jf.dexlib2.dexbacked.DexBackedDexFile.verifyMagicAndByteOrder(DexBackedDexFile.java:157)
	at org.jf.dexlib2.dexbacked.DexBackedDexFile.<init>(DexBackedDexFile.java:70)
	at org.jf.dexlib2.dexbacked.DexBackedDexFile.<init>(DexBackedDexFile.java:96)
	at org.jf.dexlib2.dexbacked.DexBackedOdexFile.<init>(DexBackedOdexFile.java:54)
	at org.jf.dexlib2.dexbacked.DexBackedOdexFile.fromInputStream(DexBackedOdexFile.java:115)
	at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:133)
	at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:72)
	at org.jf.dexlib2.analysis.ClassPath.loadClassPathEntry(ClassPath.java:264)
	... 4 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago