MVPArmsTemplate icon indicating copy to clipboard operation
MVPArmsTemplate copied to clipboard

AndroidStudio 4.1 Beta2版本已无templates文件夹,不可使用该模板了

Open xiasiqiu opened this issue 5 years ago • 27 comments

RT 不知道新版的AS是怎么使用模板创建文件了

xiasiqiu avatar Jul 06 '20 03:07 xiasiqiu

官方模板怎么做,就跟着他怎么做

JessYanCoding avatar Jul 31 '20 07:07 JessYanCoding

@JessYanCoding 大佬有时间能更新下模版不,看了arms的issues都不敢升级android studio了

xichunjie avatar Aug 11 '20 09:08 xichunjie

@xiasiqiu 找到模板文件目录了么,今天手贱升级了4.1,也没templates文件夹了

KeqingLI avatar Oct 13 '20 06:10 KeqingLI

很难受我又退回4.0.1了

tang5011235 avatar Oct 16 '20 00:10 tang5011235

遇到了同样的问题

LuXGang avatar Oct 16 '20 01:10 LuXGang

好像不行了,stackoverflow的回答 https://stackoverflow.com/questions/61623926/how-do-i-create-custom-project-templates-to-android-studio-3-6-or-above

ikarosi avatar Oct 16 '20 03:10 ikarosi

模板文件 \Android Studio\plugins\android\lib\wizard-template.jar
不知道该如何添加自定义模板了

FollowMountain avatar Oct 23 '20 03:10 FollowMountain

@eat-more @ikarosi @LuXGang @tang5011235 @FollowMountain @xichunjie please help adding a star to this google bug。请帮忙为这个bug加颗星星 [Feature Request] Open up Templating API

seelikes avatar Oct 26 '20 07:10 seelikes

求解决办法啊

wangcheng1012 avatar Nov 11 '20 07:11 wangcheng1012

一朝回到解放前

wangzhenxiong avatar Nov 12 '20 02:11 wangzhenxiong

as4.0.1的新建moudle咋不好用

liuhongtian521 avatar Nov 17 '20 00:11 liuhongtian521

wizard-template.jar 安装改好的模块, File > plugins > setting > Install plugins from Disk... > (改好的模块)wizard-template.jar> restart as.

aikongmeng avatar Nov 19 '20 09:11 aikongmeng

请问各位大佬,这个问题有最终解决方案吗? 我都不敢升级AS了。 @xiasiqiu @JessYanCoding @xichunjie @KeqingLI @tang5011235 @LuXGang @eat-more @ikarosi @FollowMountain @liuhongtian521 @aikongmeng

TYUpya avatar Nov 23 '20 01:11 TYUpya

@eat-more @ikarosi @LuXGang @tang5011235 @FollowMountain @xichunjie please help adding a star to this google bug。请帮忙为这个bug加颗星星 [Feature Request] Open up Templating API 赞!!!

模板文件 \Android Studio\plugins\android\lib\wizard-template.jar 不知道该如何添加自定义模板了

wizard-template.jar 安装改好的模块, File > plugins > setting > Install plugins from Disk... > (改好的模块)wizard-template.jar> restart as.

这个老哥的方法看起来不错。如果能参考你的样例就更好了。

millie-mouse avatar Nov 23 '20 07:11 millie-mouse

https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-master-dev:wizard/

Meng512 avatar Dec 04 '20 02:12 Meng512

谷歌方已经回复了这个问题。从4.1版本开始提供新的方式,Geminio,用Kotlin的形式编写新的template。 The Google's annonced that the new way for using the Templates functions is Geminio. you can find the link below. https://github.com/hhru/android-multimodule-plugin/blob/master/plugins/hh-geminio/README_EN.md

neo-turak avatar Dec 11 '20 13:12 neo-turak

谷歌方已经回复了这个问题。从4.1版本开始提供新的方式,Geminio,用Kotlin的形式编写新的template。 The Google's annonced that the new way for using the Templates functions is Geminio. you can find the link below. https://github.com/hhru/android-multimodule-plugin/blob/master/plugins/hh-geminio/README_EN.md

没有具体的操作流程文档之类的吗?

TYUpya avatar Feb 05 '21 03:02 TYUpya

https://www.bigademo.com/2021/01/20/AndroidStudio%204.1%E8%87%AA%E5%AE%9A%E4%B9%89%E6%A8%A1/index.html 我解决了!!!整理成了笔记,各位大佬请指点。

yyt231 avatar Feb 13 '21 10:02 yyt231

谷歌方已经回复了这个问题。从4.1版本开始提供新的方式,Geminio,用Kotlin的形式编写新的template。 The Google's annonced that the new way for using the Templates functions is Geminio. you can find the link below. https://github.com/hhru/android-multimodule-plugin/blob/master/plugins/hh-geminio/README_EN.md

没有具体的操作流程文档之类的吗?

到目前为止,没有什么新的消息。可能还在研究当中吧。我干脆用C#编写了一个小程序,能代替这个模板。 https://github.com/Neo-Turak/ATM 暂时 使用这个吧。

neo-turak avatar Feb 17 '21 18:02 neo-turak

https://www.bigademo.com/2021/01/20/AndroidStudio%204.1%E8%87%AA%E5%AE%9A%E4%B9%89%E6%A8%A1/index.html 我解决了!!!整理成了笔记,各位大佬请指点。

用上了,有template的相关文档吗

hilo-feng avatar Mar 03 '21 02:03 hilo-feng

针对这个问题,我单独写了一个插件并附上代码,需要的朋友请自取 https://github.com/nifengxiao/MVPArmsTemplatePlugin

nifengxiao avatar Apr 08 '21 03:04 nifengxiao

@nifengxiao 太棒了!我有空就试试。

TYUpya avatar Apr 08 '21 03:04 TYUpya

@TYUpya 不客气的,希望能给你带来便利。

nifengxiao avatar Apr 08 '21 05:04 nifengxiao

https://www.bigademo.com/2021/01/20/AndroidStudio%204.1%E8%87%AA%E5%AE%9A%E4%B9%89%E6%A8%A1/index.html 我解决了!!!整理成了笔记,各位大佬请指点。

generateManifest确实无法使用,不过我们可以通过使用mergeXml来对文件进行合并,有空可以更新一下文档。

nifengxiao avatar Apr 08 '21 06:04 nifengxiao

https://www.bigademo.com/2021/01/20/AndroidStudio%204.1%E8%87%AA%E5%AE%9A%E4%B9%89%E6%A8%A1/index.html我解决了!!!整理成了笔记,各位大佬请指点。

generateManifest确实无法使用,不过我们可以通过使用mergeXml来对文件进行合并,有空可以更新一下文档。

好的,谢谢

yyt231 avatar Apr 08 '21 06:04 yyt231

https://www.bigademo.com/2021/01/20/AndroidStudio%204.1%E8%87%AA%E5%AE%9A%E4%B9%89%E6%A8%A1/index.html我解决了!!!整理成了笔记,各位大佬请指点。

generateManifest确实无法使用,不过我们可以通过使用mergeXml来对文件进行合并,有空可以更新一下文档。

好的,谢谢

不客气,同时也谢谢你为我提供思路

nifengxiao avatar Apr 08 '21 06:04 nifengxiao

https://github.com/JessYanCoding/MVPArms/issues/387

JessYanCoding avatar Jul 06 '21 07:07 JessYanCoding