on 03-04-2016 2:01 AM
Hello
I am trying to build a offline mobile app using Creating a Prepackaged Fiori App Using the Packager - Mobilizing Fiori - SAP Library
step 1 : downloadfromfes
(some warning messages appears but it is ok)
==== downloadfromfes OK ====
I do not change anything in the download files and I go to step 2
step 2 : createpackage
Command: createpackage
INFO: Successfully created a Cordova Package on Build Server with ID: f57234792b18bfc04574835193e816e9
==== createpackage OK ====
Step 3 : upload package
Command: uploadpackage
Upload source bundle: Response: 200
{"Status":"OK","status":1,"TotalSize":5000000,"IsPartial":"1"}
Upload source bundle: Response: 200
{"Status":"OK","status":1,"TotalSize":10000000,"IsPartial":"1"}
Upload source bundle: Response: 200
{"Status":"OK","status":1,"TotalSize":15000000,"IsPartial":"1"}
Upload source bundle: Response: 200
{"Status":"OK","status":1,"TotalSize":16528492,"IsPartial":"0"}
==== uploadpackage OK ====
The result in Sap Mobile Secure
Step 4 : startbuild
Command: startbuild
INFO: Build started successfully
==== startbuild OK ====
Step 5 : check status
Command: status
INFO: ANDROID: Failed
INFO: IOS: Not Submitted
==== status OK ====
How can I check the causes of the Failed build ?
I use the default debug.keystore from android SDK. Is it mandatory to use a release keystore ?
Is there any needed settings in SAP Mobile Secure ?
In the appConfig.js file, is there any mandatory field ? Please find attached a copy of my appConfig file
Best regards
Emmanuel
Hi Emmanuel,
I repeated all steps and the same error appeared for me
regards,
Pavel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Last Update.
When I try a local build using XCode or Android Studio, I obtain only the running red flower on the simulator.
On the Xcode log, the last line shows the myapp.app/www/index.html is launched.
Any clue ?
In SMP, my backend endpoint is http://<IP backend Fiori : port>/sap/bc..../FioriLaunchpad.html?sap-client=800&sap-language=EN
In Appconfig, my fioriUrl is -> http://<my.proxy.server:port>
best regards
Emmanuel
Hello
Finally I will be able to create the package and download it on a android device.
I use now :
Windows 10 pro 64 bits
SMP SDK 3.0.11.2
CRM 7 EHP 3 SP10
I have followed the steps and could create a package on mobile service.
I have downloaded and installed it on a android device.
The app has started but an error appears when trying to provision the local table.
Error:
Failed to start the app: Failed to provision the local store:Unknown network error occured [-10210]
The operation failed due to an error on the server:
An error occured while communicating with the Odata server to retrieve
If anyone has a solution ?
I will investigate and update the thread
Regards
Emmanuel
Hello
Great news. It is done.
The applications run in the launchpad in Offline mode.
The last problem came from the setting of the endpoint in the SMP server.
So I can retrieve and display data from back-end but i can not create a new account in the app.
The dropdown field to select a account returns no value.
Best regards
Emmanuel
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.