'Uncheck use Androidx artifacts
I have made some projects using androidx, today i decided to start new progject without use of androidx and my starter template shows this
(source: mobytop.ru)
I cant't uncheck 'Use androidx.* artifacts' checkbox. How can i solve this strange behavior and make this checkbox active back?
Solution 1:[1]
Solved my issue by deleting latest Android Q sdk.
To do this go to Tools->Sdk Manager->Appearence & Behavior->System Settings->Android Sdk
and remove tick from Android 9.+ (Q).
Solution 2:[2]
I followed this step: Tools>Sdk Manager-> Appearance &Behavior ->System Settings -> Android SDK. then check the Show package details in the bottom right. Next, I check mark everything under android 7.1.1, next uncheck everything android 8 and above. the click apply. that way when you start a now project, you will have the option to uncheck androidx artifacts in the bottom after you select the activity.
Solution 3:[3]
Go to the SDK manager in android studio and uncheck android Q ( 29 ).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Bios90 |
Solution 2 | Wester king |
Solution 3 | Sadeq Aramideh |