-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
如何为不同的渠道配置不同的app名称? #350
Comments
在目录结构 app - src 下新建一个文件夹,文件夹名必须是 productFlavors 对应的名称。
那就是 app - src - myapp - res - values - strings.xml strings.xml <resources>
<string name="app_name">myapp 渠道的 app 名称</string>
</resources> |
执行 ./gradlew aR ,outputs - apk 下会有 productFlavors 对应的渠道包,然后再自行对各个 apk 再进行渠道打包 |
解决了吗? |
没有解决吗?找了一圈,也没有解决方案。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
由于软著的原因,应用宝和华为必须使用和现在的app名称不同的文字
The text was updated successfully, but these errors were encountered: