Aada
Aada

Reputation: 1640

In Android studio where to find custom templates path

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

Upvotes: 7

Views: 4104

Answers (1)

sankalp
sankalp

Reputation: 757

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/

Upvotes: 5

Related Questions