[英]How to run a copy of flutter project without overwriting the existing app?
So I've created a flutter project and want to reuse the code.所以我创建了一个 flutter 项目并希望重用代码。 Instead of rewriting the code, i copied the project and edit the code.
我没有重写代码,而是复制了项目并编辑了代码。 When i run the project, it overwrites my previous application that has been installed on my phone.
当我运行该项目时,它会覆盖我之前安装在手机上的应用程序。 How can i run the project and not overwrite my previous application?
如何运行项目而不覆盖我以前的应用程序? Are there any files that i have to rewrite?
有没有我必须重写的文件? All answer will be appreciated.
所有答案将不胜感激。 Thank you in advance.
先感谢您。
For android, you can change applicationId in build.gradle file.对于 android,您可以更改 build.gradle 文件中的applicationId 。
For iOS, you can change bundle identifier in Xcode.对于 iOS,您可以更改 Xcode 中的捆绑标识符。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.