构建gradle上的软件包名称是哪个? [英] Which is the package name on the build gradle?

查看:95
本文介绍了构建gradle上的软件包名称是哪个?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Firebase设置推送通知.在安装过程中,它会询问应该在build.gradle上且应如下所示的包名称

I'm trying to set the push notifications using firebase. During the setup it asks for the package name which is supposed to be on build.gradle and should look like this

com.yourapp.android

com.yourapp.android

但是我找不到类似的东西... 你们知道在哪里找到它吗?

But I can't find anything like that... You guys know where to find it?

谢谢!

推荐答案

您可以在ionic项目中的config.xml中找到应用程序包名称和版本代码.在config.xml中,小部件ID中指定的名称将是程序包名称.

You can find the application package name and version code from config.xml in ionic project. In config.xml what ever specified in the widget id will be the package name.

<widget id="com.yourapp.hybrid" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

这篇关于构建gradle上的软件包名称是哪个?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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