Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xiasiqiu opened this issue Jul 6, 2020 · 27 comments

Comments

@xiasiqiu
Copy link

xiasiqiu commented Jul 6, 2020

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

@JessYanCoding
Copy link
Owner

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

@xichunjie
Copy link

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

@KeqingLI
Copy link

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

@tang5011235
Copy link

很难受我又退回4.0.1了

@LuXGang
Copy link

LuXGang commented Oct 16, 2020

遇到了同样的问题

@ikarosi
Copy link

ikarosi commented Oct 16, 2020

@FollowMountain
Copy link

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

@seelikes
Copy link

seelikes commented Oct 26, 2020

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

@wangcheng1012
Copy link

求解决办法啊

@wangzhenxiong
Copy link

一朝回到解放前

@liuhongtian521
Copy link

as4.0.1的新建moudle咋不好用

@aikongmeng
Copy link

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

@TYUpya
Copy link

TYUpya commented Nov 23, 2020

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

@millie-mouse
Copy link

millie-mouse commented Nov 23, 2020

@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.

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

@neo-turak
Copy link

谷歌方已经回复了这个问题。从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
Copy link

TYUpya commented Feb 5, 2021

谷歌方已经回复了这个问题。从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

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

@yyt231
Copy link

yyt231 commented Feb 13, 2021

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

@neo-turak
Copy link

谷歌方已经回复了这个问题。从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
暂时 使用这个吧。

@hilo-feng
Copy link

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的相关文档吗

@nifengxiao
Copy link

nifengxiao commented Apr 8, 2021

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

@TYUpya
Copy link

TYUpya commented Apr 8, 2021

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

@nifengxiao
Copy link

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

@nifengxiao
Copy link

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
Copy link

yyt231 commented Apr 8, 2021

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
Copy link

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来对文件进行合并,有空可以更新一下文档。

好的,谢谢

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

@JessYanCoding
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests