HighCapable / YukiHookAPI

⛱️ An efficient Hook API and Xposed Module solution built in Kotlin.
https://highcapable.github.io/YukiHookAPI/
Apache License 2.0
1.42k stars 105 forks source link

can i remove androidx? #74

Closed auag0 closed 6 months ago

auag0 commented 6 months ago

if androidx is enabled, building time is so long and big apk size so i want remove androidx but i cannot remove androidx because used androidx this project how to remove androidx or close this issues if cant remove androidx

android.useAndroidX=false

sorry for bad english

fankes commented 6 months ago

We use androidx's annotation @Keep for R8 and Fragment support for androidx. Dependencies are automatically wired, you cannot control what dependencies gradle needs to import, you can fork this project and replace it with minimal dependencies such as androidx.annotation and androidx.fragment, but this may still cause some problems, we do not recommend removing it fundamentally, because the compilation speed is related to gradle, which cannot be controlled.

auag0 commented 6 months ago

i see, thank you for reply

auag0 commented 6 months ago

can use this if same issues but may have problem https://github.com/auag0/YukiHookAPI/releases/tag/1.2.0-removed-androidx

fankes commented 6 months ago

OK, but support library was outdated.

auag0 commented 6 months ago

this is my limit😭

fankes commented 6 months ago

Alright🤪