JesusFreke / smali

smali/baksmali
6.26k stars 1.07k forks source link

android10 Hidden API restrictions are only supported on api 29 and above #847

Open behind80 opened 2 years ago

behind80 commented 2 years ago

when i used smali-2.5.2.jar as out2 -o classes2.dex
I got a lot of mistakes, dex file is not create How can I package a SmalI file into a DEX file? give me some tips thanks

behind80 commented 2 years ago

I found this parameter -a 29 nice~

xconer commented 2 years ago

Hi @behind80 , I met same issue, by using -a 29 flag it causes bootloop

RenateUSB commented 1 year ago

Smali-ing generates bad hiddenapi_class_data_item This is all discussed over at apktool and has a tiny example (min.zip). See: https://github.com/iBotPeaches/Apktool/issues/2918