Android 更新salesforce Hybrid cordova应用程序
我对Salesforce混合移动应用程序开发有点陌生 我有一个运行良好的混合应用程序 但最近在将APK上传到play store时,play store出现了一个错误Android 更新salesforce Hybrid cordova应用程序,android,cordova,salesforce,cordova-plugins,hybrid-mobile-app,Android,Cordova,Salesforce,Cordova Plugins,Hybrid Mobile App,我对Salesforce混合移动应用程序开发有点陌生 我有一个运行良好的混合应用程序 但最近在将APK上传到play store时,play store出现了一个错误 Your APK has been rejected for containing security vulnerabilities, which violates the Malicious Behavior policy. The Alerts page has more information about how to re
Your APK has been rejected for containing security vulnerabilities, which violates the Malicious Behavior policy. The Alerts page has more information about how to resolve the issue. If you submitted an update, the previous version of your app is still live on Google Play.
经过分析,我发现我的android平台版本是3.6.x
,这可能是被拒绝的原因
因此,我使用以下命令更新了我现有Salesforce混合应用程序的cordova android平台
cordova platform update android
更新后的android平台版本为5.2.2
Salesforce Mobile sdk指南要求重新安装Salesforce插件
所以
然后
cordova plugin add https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin
但是,当重新添加插件时,它给出了以下消息
Plugin doesn't support this project's cordova-android version. cordova-android: 5.2.2, failed version requirement: 5.0.0
Skipping 'com.salesforce' for android
同样,在eclipse中运行该项目会产生许多错误
无法在此锁定specefic问题
欢迎任何帮助
提前感谢。您必须更新到
5.0.0
,而不是5.2.2
,因为Salesforce插件的版本是5.0.0
您可以在plugin.xml
文件的engine
标记中看到这一点
可能存在的副本
Plugin doesn't support this project's cordova-android version. cordova-android: 5.2.2, failed version requirement: 5.0.0
Skipping 'com.salesforce' for android