Rename package in Android Studio

后端 未结 30 1912
深忆病人
深忆病人 2020-11-21 05:21

How do you rename packages in the new IDE Android Studio, based on IntelliJ IDEA?

Is there an automatic refactoring included?

I want to make bulk refactorin

30条回答
  •  离开以前
    2020-11-21 05:56

    How to rename com.example.app to com.android.app:

    1. in package com.example.app select example

    2. Shift + F6

    3. choose rename package

    4. rename example to android

    5. confirm do refactor

提交回复
热议问题