Skip to content

Problems converting Cdex to dex #79

@HittyGubby

Description

@HittyGubby

Environment: Linux Kali x86 64bit ,compiled with gcc
Files: Link here
Description:
I tried to run /tools/deodex/run.sh

./run.sh -i NfcNci_45.vdex
[INFO]: Processing 1 input Vdex files
./run.sh: line 250: 43954 Illegal instruction     $cdexConvBin -w "$outDeodexBase" "${cdexFiles[@]}" &> "$convLog"
[ERR ]: CompactDex conversation failed for 'NfcNci_45.vdex'

And no dex files were generated
It did generate the cdex file at /tools/deodex/vdexExtrator_decompiled/NfcNci_45/decompiled/NfcNci45_classes.cdex
So I used the cdex-converter here /tools/deodex/hostTools/Linux/api-API_29/bin/compact_dex_converter
It's normal when executing it without any arguments (./compact_dex_converter) ,but when i tried to convert the cdex file:

./compact_dex_converter NfcNci_45_classes.cdex
zsh: illegal hardware instruction  ./compact_dex_converter NfcNci_45_classes.cdex

And I tried several different compact_dex_converter downloaded from github,results are the same
Why showing that error?How to solve?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions