2013-06-13 24 views
0

在aandroid中使用Urbanship的推送通知。我在飛艇配置文件中出現錯誤。該文件與資產一起位於WWW文件夾內。AirshipConfigOptions:null不是有效的開發應用程序密鑰

enter image description here

我認爲,配置文件是在正確的地方,這是我的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 

回答

3

刪除「樣品」擴展名應該是‘airshipconfig.properties’而不是‘airshipconfig.properties.sample’,因爲下載的ZIP文件夾「樣品」擴展名是有希望這將幫助你

+0

讓我試試這個。感謝您的回覆 –

+0

這應該被接受爲答案。 –

相關問題