libsuperuser icon indicating copy to clipboard operation
libsuperuser copied to clipboard

1.1.0 and old versions of Android

Open richjhart opened this issue 4 years ago • 2 comments

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?

richjhart avatar Jun 05 '20 12:06 richjhart

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).

richjhart avatar Jun 05 '20 15:06 richjhart

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.

Chainfire avatar Jun 06 '20 00:06 Chainfire