anestisb / android-prepare-vendor

Set of scripts to automate AOSP compatible vendor blobs generation from factory images
347 stars 156 forks source link

'dexrepair' command not found #163

Closed MichaB189 closed 5 years ago

MichaB189 commented 5 years ago

Running ./scripts/system-img-repair.sh results in 'dexrepair' command not found

dexrepair is located in both android-prepare-vendor/hostTools/Linux/bin and /Darwin/bin. Furthermore I downloaded the dexrepair repo from github and ran the make.shell and I'm still getting the same error

What am I doing wrong? Or is this a fault? Thanks

scott-8 commented 5 years ago

The easiest way would probably be to add Linux/bin to your path (assuming you're on Linux) like export PATH="$PATH:/path/to/bin". Note that this won't be permanent and you'd need to rerun it every session.

edit: also, it's important to note that execute-all.sh takes care of this itself, so you'd only need to do this when running the individual scripts.

MichaB189 commented 5 years ago

The easiest way would probably be to add Linux/bin to your path (assuming you're on Linux) like export PATH="$PATH:/path/to/bin". Note that this won't be permanent and you'd need to rerun it every session.

edit: also, it's important to note that execute-all.sh takes care of this itself, so you'd only need to do this when running the individual scripts.

Thank you. I solved it by running the execute-all shell instead of the scripts seperately