• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps What is the difference android and androidx

Kurniawan

Newbie
Hai i just learn about android developement, why i can't add despendencies support.
example if i add this despendencies :

implementation 'com.android.support:cardview-v7:28.0.0'

Always out notification:

Version 28 (intended for Android Pie and below) is the last version of the legacy support library, so we recommend that you migrate to AndroidX libraries when using Android Q and moving forward. The IDE can help with this: Refactor > Migrate to AndroidX... less... (Ctrl+F1)

So i must migrate to androidx, and then despendencies change to :

implementation 'androidx.cardview:cardview:1.0.0'

Because if i learn on tutorial, always use android not androidx, but i can't use android despendencies.
Thanks :)
 
Hi there. That sounds like a statement rather than a question.
yeah, i want to know. the difference from androidx and android despendencies, because if i learn on tutorial always find they are all use android. i just want to know why i can't use android like implementation 'com.android.support:cardview-v7:28.0.0' . is there a diffrence if i use androidx ?

thanks. sorry i'm not good speaking english :oops:
 
Back
Top Bottom