From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:DEX" |
|---|
| claim | "ART's StandardDexFile accepts six version strings: 035, 037, 038 (Android O and beyond), 039 (P), 040 (Q, Android 10) and 041 (V, Android 15). Version 036 is deliberately skipped because an old Dalvik bug accepted 036 files." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:DEX" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "DexVersion" |
|---|
| underlying_type | "ASCII digits" |
|---|
| values | | 035 | "original" |
|---|
| 037 | "default and static interface methods (kDefaultMethodsVersion = 37)" |
|---|
| 038 | "Android O and beyond" |
|---|
| 039 | "Android P and beyond" |
|---|
| 040 | "Android Q (Android 10) and beyond" |
|---|
| 041 | "Android V (Android 15) and beyond, adds container header (HeaderV41)" |
|---|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "kDexMagicVersions array with the comments quoted: 036 skipped, 038 O, 039 P, 040 Q, 041 V (Android 15)." |
|---|
| repo | "https://android.googlesource.com/platform/art" |
|---|
| commit | "6484611fd45e69db9f33f98bfd6864014b030ecf" |
|---|
| path | "libdexfile/dex/standard_dex_file.cc" |
|---|
| lines | "28-41" |
|---|
|
| type | "source" |
|---|
| detail | "kDexContainerVersion = 41, kClassDefinitionOrderEnforcedVersion = 37, kDefaultMethodsVersion = 37." |
|---|
| repo | "https://android.googlesource.com/platform/art" |
|---|
| commit | "6484611fd45e69db9f33f98bfd6864014b030ecf" |
|---|
| path | "libdexfile/dex/dex_file.h" |
|---|
| lines | "119-122, 919" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Standard DEX versions accepted by ART" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T22:35:05.858Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T01:30:47.939Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read AOSP art libdexfile/dex/standard_dex_file.cc at 6484611: kDexMagicVersions = 035, 037, 038 (O), 039 (P), 040 (Q), 041 (V); 036 skipped with the quoted Dalvik comment." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:25:01.722Z" |
|---|
| summary | "Read standard_dex_file.cc lines 28-41: kDexMagicVersions holds exactly 035, 037, 038, 039, 040, 041; complete." |
|---|
| changed | |
|---|
|
|
|---|