问题
In Android studio, I am trying to create new Java templates by following the below steps
Android Studio --> File --> Edit File Template --> Added New file with java extension.-->
Added required code
I am able to use this template for creating new files. But I want to see this template path.Where these are located?
I can see Android studio predefined templates in /AndroidStudio/plugin/android/lib/templates
BUT not seeing my newly created templates. Anyone has any idea where new created templates can be found.?
Thanks
回答1:
1.Navigate to the location of the templates folder :
{ANDROID_STUDIO_LOCATION}/plugins/android/lib/templates/other/
2.On MacOS, this folder was the following:
/Applications/Android Studio.app/Contents/plugins/android/lib/templates/other/
来源:https://stackoverflow.com/questions/51647169/in-android-studio-where-to-find-custom-templates-path