Go to File ->Settings ->Editor->Auto Import->Java and make the below things:
Select Insert imports on paste value to All
Do tick mark on
Add unambigious imports on the fly option and "Optimize imports on the fly*
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTMNHKohW8FcngsLNlFiP71i0TLhAi4reEv59I3VIUHmqD-oxgll7uHA5IUxK9pPf-B2TlRfbiiY5r3qMYdpOettGqEI5qOU3C2-05Rrqm38dAF6Cc9oFbEjuiRlfQzb067c5iMMs2BUU/s640/sj9BB.png) |
Auto import packages in android studio |
No comments:
Post a Comment