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] Update `compileSdkVersion` to 28 and introduce `AndroidX`

See original GitHub issue

Android had introduced sdk 28 with supporting libraries replaced by androidx. Many maintained libraries, like com.theartofdev.edmodo:android-image-cropper that we’re using have already made this migration. Unfortunately we’re unable to use them because of dependency hell that happens when we’re having different compileSdkVersion.

Proposal: update compileSdkVersion to 28 and replace all deprecated android-support-* libraries with androidX. Moreover some cleanup is advisable in gradle files as well.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
SimenBcommented, Apr 3, 2019

Did this happen/is there some other tracking issue I can follow? Or is it dependent on https://github.com/facebook/react-native/issues/23112 and nothing for expo itself to do?

0reactions
tsapetacommented, Sep 28, 2019

I’m closing this issue as it’s been solved already - we’ve migrated to AndroidX on master a few days ago: #5521, so the next SDK will use it 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

AndroidX releases | Android Developers
Maven Group ID Latest Update Stable Release Alpha Release activity October 24, 2022 1.6.1 1.7.0‑alpha02 ads January 22, 2020 ‑ 1.0.0‑alpha04 annotation (*) September 21, 2022...
Read more >
Why AndroidX needs compileSdkVersion set to be 28 or higher
I understand that AndroidX is simply a new upgrade to the support library which focuses on providing backwards compatibility for earlier  ...
Read more >
CompileSdkVersion and targetSdkVersion — what is the ...
In this article, we'll take a closer look at two values that are set in the build.gradle file: compileSdkVersion and targetSdkVersion.
Read more >
How to Fix: The minCompileSdk (31) is greater ... - YouTube
... AAR metadata (META-INF/com/ android /build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion ( android -30).
Read more >
AndroidX migration: what ,why, how? | by SHISHIR - Medium
Step 01: Set the compile SDK version to Android 9.0 (API level 28) or higher as minimum compile sdk version required for androidx...
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