cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to add kapsel logon plugin in cordova based apps via command prompt

BrajeshKumar
Explorer
0 Kudos

Hi Experts,

Currently I am facing problem while adding kapsel logon plugin to cordova based application as I am using SMP SDK 3.0 SP10 version.

Node version  - 0.12.7

Cordova version - 5.4.1 (latest one )

Plugman version  - 1.0.5

Kapsel version - 3.10.0

npm version  - 2.11.3

Error says "Failed to fetch plugin  kapsel-plugin-corelibs via registry"  and saying Probably this is either connection problem or plugin spec is incorrect..


What could be reason for this ??

Could you please suggest me on this problem like is this correct combination of software OR how can fix this issue in order to add Logon plugin ?

As Error and version shown in below snaps

Thanks!!

Best Regards,

Brajesh Kumar

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Cordova 5.1.1 is required with latest mobile SDK SP10

Add environment variable KAPSEL_HOME : C:\SAP\MobileSDK3\KapselSDK

To add Logon plugin use this command:

cordova plugin add kapsel-plugin-logon --searchpath %KAPSEL_HOME%/plugins

Follow these guides

BrajeshKumar
Explorer
0 Kudos

Hi Jitendra,

Thank you so much !!

Now I am able to add logon plugin in cordova project.

by command :

cordova plugin add kapsel-plugin-logon --searchpath %KAPSEL_HOME%/plugins

Best Regards,

Brajesh Kumar

BrajeshKumar
Explorer
0 Kudos

Hi Jitendra,

Now I am getting below error while building the application.. it says

Error:

        uses-sdk:minSdkVersion 10 cannot be smaller than version 14 declared in library

from C:\Users\Brajesh\myLogon\platforms\android\AndroidManifest.xml file..

I tried to add <uses-sdk tools:overrideLibrary="com.example.afariaprovider_res"> in AndroidManifest.xml as suggested,

but did not work.


could you please suggest which library need to update ?


Best Regards,

Brajesh

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Locking this thread,

make sure that you dont do any cross posting () and also search before posting.

You should go through

Regards,

JK (Moderator)