question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android X support

See original GitHub issue

Describe the bug Cannot compile and build existing React-Native application migrating from 0.59.9 to 0.60.5. Use of jetifier does not solve the problem.

Expected behavior Application should build successfully.

Screenshots As issue #245

Versions (please complete the following information):

  • Platfrom: Android
  • SDK Version: latest at the time
  • React Native Version 0.60.5

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
marudycommented, Nov 21, 2019

yeah, I also got 7.0.8 working with jetifier by now 😃 thanks for the post

1reaction
kristfalcommented, Nov 11, 2019

The challenge with upgrading to Android X is that it would force everyone onto RN60+. As such, we want to delay as long as we can to do the migration within this repo. This doesn’t apply to just this package. You’ll see a fair share of other RN dependencies not moving over either.

We’ll likely move over To AndroidX when it is mainstream amongst the most used RN dependencies.

In the interim: RN 60 runs the jetifier by default when you run react-native run-android, so unless you have a special build process that is based around gradlew (say use AppCenter), things should work out of the box.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate to AndroidX | Android Developers
With Android Studio 3.2 and higher, you can migrate an existing project to AndroidX by selecting Refactor > Migrate to AndroidX from the...
Read more >
Migrating to AndroidX: tips, tricks, and guidance - Medium
Why migrate? The time is right now to migrate from using the Android Support Library to AndroidX. · Preparing to migrate. Before you...
Read more >
android - Migration to AndroidX - Stack Overflow
to your gradle.properties file if you want to use androidX library instead of Support Library. Share.
Read more >
What is AndroidX Library in Android? - GeeksforGeeks
Migrating Instructions · Step 1: Update to Support Library version 28 · Step 2: Enable Jetifier · Step 3. Update dependencies · Step...
Read more >
What Is AndroidX?. New Era of Android Support libraries
Answer: YES. All support libraries are built for backward compatibility so AndroidX is a modern way of representing support libraries. If I am...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found