You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elissa-AppDevforAll edited this page Apr 15, 2026
·
3 revisions
To modify project templates to use Groovy instead of .kts, follow these steps.
Open Terminal.
Issue the following commands. (Please note: In older releases, the .cg/ directory was .androidide/. If you're using an older release, either update the app or use the .androidide/ directory path.):
cd $HOME/.cg/templates>
cp core.cgt core.cgt.backup
mkdir work
cd work
unzip ../core.cgt
Use a text editor like nano or vi (installed separately; steps to install vi are provided at the end of this article) to modify the desired templates. See https://pebbletemplates.io/ for documentation.
Issue the following commands:
zip -9 -X -D -r ../core.cgt.new .
cd ..
mv core.cgt.new core.cgt
Close Terminal.
You can now create a project using your modified template.