在aandroid中使用Urbanship的推送通知。我在Airship配置文件中收到错误。该文件与资产一起驻留在WWW文件夹中。
我认为配置文件位于正确的位置,这是我的config.properties。
developmentAppKey = _RfPLPfVfToWrU23hfRs5NivA
developmentAppSecret = uTqytKedER211CKXfhCpt4-G-w
productionAppKey = Your Production App Key
productionAppSecret = Your Production Secret
#transport is "gcm" or "helium".
transport = gcm
gcmSender = 655763901391
inProduction = false
iapEnabled = false
# 2 = Log.VERBOSE; 3 = Log.DEBUG; 4 = Log.INFO;
# 5 = Log.WARN; 6 = Log.ERROR; 7 = Log.ASSERT;
developmentLogLevel = 3
productionLogLevel = 6
答案 0 :(得分:3)
删除该文本文件的“.sample”扩展名,即您的文件名应为“airshipconfig.properties”而不是“airshipconfig.properties.sample”,因为在下载的zip文件夹“.sample”扩展名中有希望这会对您有所帮助< / p>