1

私はSalesforce Hybrid Mobileアプリケーション開発の新機能です。Salesforce Hybrid cordovaアプリのアップデート

私はよく動くハイブリッドアプリケーションを持っています。

しかし、ストアを再生するためにAPKをアップロードする際に、最近、Playストアでは、私は私のAndroidプラットフォームのバージョンは拒否の理由かもしれない3.6.xであることがわかったいくつかの分析の後、エラー

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. 

を与えます。

そこで、次のコマンドを使用して、既存のSalesforce Hybridアプリのcordovaアンドロイドプラットフォームをアップデートしました。 Androidプラットフォームのバージョンを更新した後

cordova platform update android 

5.2.2

SalesforceのモバイルSDKガイドは

cordova plugin remove com.salesforce 

そして

cordova plugin add https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin 
、そう

プラグインのSalesforceを再インストールすると言うれますプラグインを再追加しながら

しかし、それは次のようなメッセージに

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のプロジェクトは、多くのエラーを与える実行しています。

ここでは特定の問題点を指摘できません。

助けが必要です。

ありがとうございます。

+0

の可能性のある重複した[エラーAndroidプラットフォームのアップグレード中](http://stackoverflow.com/questions/39410437/error-while-upgrading-android-platform) – superfell

答えて

1

あなたは、Salesforceのプラグインが5.0.0バージョンに作られているので5.0.0代わりの5.2.2に更新する必要があります。

plugin.xmlファイルのengineタグで確認できます。

<engines> <engine name="cordova-android" version="5.0.0" /> <engine name="cordova-ios" version="4.2.0" /> </engines>

関連する問題