on 09-12-2014 6:48 AM
Hi Experts,
I am working on new appbuilder with SMP 3.0 sp02 and i am successfully able to create cordova project with kapsel plugin for android. but when i deploy the app on android simulator i am getting this error.
I foolowed this link by
even when i try to install kapsel plugin manually through command line i get error (attached scrrenshots).
Kindly help me to resolve the issue.
BR,
Saurabh
Hi,
A lot has changed - I did the same and it worked for me in this way:
Use cordova 3.5 is ok
Android sdk - you need to select api-19
Kapsel SP04
To build:
Modify config.js under \fiori_client\, give a proj name, say, myFC
npm install
node create_fiori_client.js
cd myFC
cordova prepare
Now you should have a proj that can be loaded into Eclipse IDE for testing.
Hope this helps.
Br,
Dong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I cant grantee it whether cordova version 3.5.x wont work with smp 3.0 sp02 but as per above link as it says:
Cordova 3.0.6 (or the latest 3.0.x version) should be used if using SMP 3.0.
Cordova 3.1.0-0.2.0 (or the latest 3.1.x version) should be used if using SMP 3.0 SP01.
Cordova 3.3.1-0.1.2 (or the latest 3.3.x version) should be used if using SMP 3.0 SP02.
Cordova 3.4.0-0.1.3 should be used if using SMP 3.0 SP03.
Cordova 3.4.1-0.1.0 should be used if using SMP 3.0 SP04.
maybe, you can try with uninstalling cordova 3.5.x and then installing 3.3.x
Hi Saurabh ,
Very recently , SAP released new updates for both Runtime(SP04 ) and SDK (SP05). The latest release of SDK includes an update of Kapsel SDK also, with which the Kapsel plugins support Cordova 3.5 . So, no need to downgrade Cordova .
Look at the new features of Kapsel SDK here . I would suggest updating to the latest to fix the previous issues in SMP also.
Regards
Virinchy
Since you are using SP02, I don't imagine this is the problem but I believe I have seen something similar so thought I would mention it here.
In SP04 of the Kapsel SDK, a new parameter was introduced that specifies where the Kapsel plugins are located.
For example
cordova -d create C:\Kapsel_Projects\LogonDemo com.mycompany.logon LogonDemo "{\"plugin_search_path\":\"C:/SAP/MobileSDK3/KapselSDK/plugins/\"}"
I believe this creates a folder named
LogonDemo\.cordova that contains a file named config.json.
If AppBuilder creates the project, it may not include this details and could lead to problems similar to what you are seeing.
Specifically Kapsel uses a modified version of the org.apache.cordova.inappbrowser plugin and if this setting is not provided, the unmodified version of it is added to your project.
For additional details on the plugin_search_path see
http://scn.sap.com/docs/DOC-49592#cordova
Regards,
Dan van Leeuwen
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.