如何从flutter中获取.apk和.ipa文件? [英] How to get .apk and .ipa file from flutter?

查看:393
本文介绍了如何从flutter中获取.apk和.ipa文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Flutter编程的新手,我创建了一个演示应用程序,它在android和iOS设备上均可正常运行.我想查看.apk和.ipa文件.谁能帮助我从Flutter获取这些文件?我在哪里可以看到文件夹中的这些文件,或者有其他解决方案.

I am new to flutter programming and I've created a demo app, its running fine on both android and iOS devices. I want to see .apk and .ipa file in flutter. Can anyone help me to get these files from Flutter? Where can I see these files in folders or is there any other solution.

推荐答案

对于Android,每次您构建应用时,都会生成一个APK,例如用flutter run.您将在<project>/build/app/outputs/apk/debug/app-debug.apk下的项目文件夹中找到该文件.如果您想要发布APK,请查看文档.

For Android an APK is generated every time you build the app, e.g. with flutter run. You will find that in your project folder under <project>/build/app/outputs/apk/debug/app-debug.apk. If you want a release APK, have a look at the docs.

我不是iOS使用者,所以我不确定像Android一样在开发过程中会生成IPA.但是看着这些文档,看来您可以按照xcode上的标准步骤来获取它,如图所示此处.

I'm not an iOS person, so I'm not sure an IPA is generated during development as in android. But looking at these docs it seems you can follow the standard steps on xcode to get it, as shown here.

这篇关于如何从flutter中获取.apk和.ipa文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆