Wish Auto Jetify

Peter Simpson

Expert
Licensed User
Longtime User
Good morning Anywhere Software,
It occurred to me that when a new member downloads an older library, they might start using it only to start seeing errors during compilation. If there was a way to automatically jetify libraries (maybe in the background), that would help developers slot.

Whenever I download a library I automatically go to Jetify, but newbies might not know or remember to do that.

Thank you...
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I will explain why it is done manually:

1. Most libraries do not need to be jetified.
2. New libraries that depend on Google Play Services are based on AndroidX SDK so they also don't need to be jetified.
3. The popular libraries that need to be jetified like AppCompat, were jetified and the zip file already includes the jetified jar.
4. There is no simple or good way to detect whether a library needs to be jetified so it will add another step to compilation which will slow it down a bit. The gain will be small, especially as we move forward.
 
Top