Skip to content Skip to sidebar Skip to footer

Exception: Java.lang.runtimeexception: Unable To Instantiate Application Com.salesforce.androidsdk.phonegap.app.hybridapp

I developed a hybrid mobile app integrating SalesForce Mobile SDK with Ionic using Brett Nelson's set of blog posts - After following the set of instructions in this post - http

Solution 1:

After step 2 in your question, you may have to remove and then re-add the platform you are targeting.

For iOS

ionic cordova platform remove ios
ionic cordova platform add ios@4.4.0

Or for Android

ionic cordova platform remove android
ionic cordova platform add android@6.2.3

If you do that and still have problems try removing and re-adding the salesforce mobile sdk.

cordova plugin remove com.salesforce
cordova plugin add https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin --force

Post a Comment for "Exception: Java.lang.runtimeexception: Unable To Instantiate Application Com.salesforce.androidsdk.phonegap.app.hybridapp"