thagikura / AndroidTemplatePluginSample

Showcases how to add templates to Android Studio by using an extension point
73 stars 14 forks source link

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

Open kirtanparmar opened 4 years ago

kirtanparmar commented 4 years ago

image

kirtanparmar commented 4 years ago

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

tdinh1 commented 3 years ago

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.

androideveloper commented 3 years ago

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