AndroidTemplatePluginSample icon indicating copy to clipboard operation
AndroidTemplatePluginSample copied to clipboard

Android Studio 4.1 stable do not display the Templet in the list

Open kirtanparmar opened this issue 4 years ago • 3 comments

image

kirtanparmar avatar Oct 13 '20 18:10 kirtanparmar

Also in the New Activity Menu, It did not listed.

kirtanparmar avatar Oct 13 '20 18:10 kirtanparmar

Seeing the same thing. I am running AS 4.1.1. I was getting a crash, then replaced the wizard-template.jar with the one from AS 4.1.1. Fixed a few compile errors with a missing identifier. Everything compiled, installed the pluggin, and restarted AS 4.1.1. The pluggin is running as "Android template implementation sample", but it does not appear in the New Template.

tdinh1 avatar Dec 09 '20 03:12 tdinh1

Android Studio 4.1 has disabled support for custom FreeMarker templates.

Previously, you could create custom templates, put them into a specific folder, and then the Android Studio should use your templates as 'Other'-templates. Starting from Android Studio 4.1 you can add custom templates only from IDEA plugins. Star this issue if you are interested in the new Templating API. Example of usage https://github.com/thagikura/AndroidTemplatePluginSample

androideveloper avatar Jan 14 '21 23:01 androideveloper