删除无用导入包

1、点击Analyze

Android Studio 删除无用导入包

2、选择run inspeaction by name,弹出下图的框

Android Studio 删除无用导入包

3、.输入unused import,并且点击搜索出的结果

4、android studio筛选出未使用的包导入,然后根据需要删除

5、在2弹窗中可以输入很多类型信息,可以进行各种优化

相关文章:

  • 2022-12-23
  • 2021-05-20
  • 2021-07-24
  • 2021-12-01
  • 2021-08-24
  • 2021-09-29
  • 2021-09-14
猜你喜欢
  • 2021-05-29
  • 2021-12-12
  • 2021-06-27
  • 2022-01-20
  • 2021-08-25
  • 2021-12-17
  • 2021-08-17
相关资源
相似解决方案