Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will my React Native app run on AndroidX?

I have built a React Native app using React Native 0.59.9 that works on my Android device that runs Android 9.x.

Even though there is a lot of information out there about migrating to AndroidX and React Native 0.60.x etc, I am finding it hard to find an answer to this (possibly) simple question - will my app run on AndroidX without changing any code? I have no support in my app or its packages for AndroidX.

like image 417
Mr. Robot Avatar asked Apr 09 '26 15:04

Mr. Robot


1 Answers

AndroidX it's not a new operation system or new android version like android Oreo or Pie!

AndroidX is a major improvement to the original Android Support Library. Like the Support Library, AndroidX ships separately from the Android OS and provides backwards-compatibility across Android releases. AndroidX fully replaces the Support Library by providing feature parity and new libraries

Actually it's more like new language for code for android.

For example you use React Native 0.59.9 and i use AndroidX or Old Android to code android (it's not good example!)

So no worry about that! your codes works fine.

If you code with java or kotlin in android studio you need attention to androidX in React Native you don't need.

source

like image 199
Radesh Avatar answered Apr 12 '26 03:04

Radesh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!