0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

[Android]SupportLibraryからAndroidxへの移行

Last updated at Posted at 2020-04-07

はじめに

Android Support LibraryからAndroid xへ移行手順を書いていきたいと思います。
手順は簡単ですし、Developerサイト見れば一発で分かりますが画像メインでいきます。

環境

OS:Windows 10
Android Studio:3.5(統合は3.2以上だそうです)

移行前

赤のアンダーライン引いてるところがSupport Libraryです。
androidx.png

手順

[Refactor] > [Migrate to AndroidX...]
androidx_migrate.png

[Migrate]
※変更前のものをZIP化して保存しておきたい場合は「Backup project as Zip file」にチェック(デフォルトチェック済み)
androidx_dialog_2.png

[Do Refactor]
androidx_dialog.png

移行後

移行後は以下のようにandroidxに置き換わっています。
androidx_after.png

参考文献

公式

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?