libsuperuser
libsuperuser copied to clipboard
1.1.0 and old versions of Android
The new version (1.1.0) uses AndroidX, but has a minimum Android version of 5.
I want to continue supporting back to Android API 9 in my app, but realistically I haven't been able to update that to androidX because nearly all the androidx have a minimum version of 16.
Is there a way to use to library without androidx?
For now I've gone back to 1.1.0.201903290044, which doesn't rely on the androidx dependency. If there was any way to use it without that, it would be great (so I could keep it up to date).
I haven't walked through the code to check, but if I recall correctly the library itself just uses it for the Null/NonNull/WorkerThread/AnyThread annotations (the example app uses it some more). If you don't mind doing the work, stripping those out might do the trick.