简体   繁体   中英

How can I avoid adding the plugins 'kotlin-android-extensions' everytime in the build.gradle

Since I have uninstalled my Android Studio once, it cannot add the kotlin-android-extensions automatically. I have to add it every time I create the project. How can I default to using it?

I think what you can do is to modify the project template from Android Studio. Look at this SO post to see where it's stored and how to modify it: Android Studio create project template for new projects

Better not to use kotlin-android-extensions it will be depricated in Kotlin 1.4.20 and after that removed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM