on 04-26-2023 10:07 AM
I am playing around with Cloud Build Service after coming across this blog: https://blogs.sap.com/2022/03/23/cloud-build-service-build-a-client-with-specific-sdk-versions/
I basically went through this tutorial https://developers.sap.com/tutorials/cp-mobile-dev-kit-cbs-client.html#eb2055c9-4817-48bb-bd3a-8a9e2... and tried to build an Asset Manager client but whenever I start a build job it fails with this error:
-------------------------BUILDSCRIPT.GRADLE---------------------------------
Built aar for @nativescript/core
Updating runtime package.json with configuration values...
Project successfully prepared (android)
merging /mnt/workspace/SAMPROJECT/MDK_SDK/SAMPROJECT/app/App_Resources_Merge/Android/src/main/AndroidManifest.xml
Note: /mnt/workspace/SAMPROJECT/MDK_SDK/SAMPROJECT/platforms/tempPlugin/ui_material_core_tabs/src/main/java/com/nativescript/material/core/BottomNavigationBar.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
EPERM: operation not permitted, copyfile '/mnt/workspace/SAMPROJECT/MDK_SDK/SAMPROJECT/app/App_Resources_Merge/Android/src/main/AndroidManifest.xml' -> '/mnt/workspace/SAMPROJECT/MDK_SDK/SAMPROJECT/platforms/android/app/src/debug/AndroidManifest.xml'
Any ideas what could go wrong?
The "EPERM: operation not permitted, copyfile" issue is fixed and the fix has been released to Mobile Services production systems in all regions.
Thanks,
Samir Nigam
SAP Mobile Services Cloud Build
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andreas,
This is a known issue, and a fix will soon be available in Cloud Build. Tentatively, we expect to have the fix available in the production systems by next week. I will provide an update here once the fix has been deployed to the production system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi jitendrakumar.kansal,
I have the same problem described by Andreas.
The difference is that I used Customized Mobile Development Kit Client.
I set these options:
- SDK version: 23.4.0
- Minimum platform version: 8.0 (for Android)
Any ideas what could go wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
andreas.gall2
6.3.7 is the MDK SDK version that showed up in the build log.
Please check the SAP Asset Manager - MDK Support matrix for version compatibility as it seems 6.3.7 is not yet supported for SSAM 2210.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi jitendrakumar.kansal
your're right, according to this matrix 6.3.7 is listed for Asset Manager 2210. But when I run a local build (on my own computer) things work fine with 6.3.6 AND 6.3.7. And to be honest when I select "always use SAP recommendation" I except that this option selects the fitting MDK version according to the uploaded MDK project.
Besides that I can't select MDK version 6.3.6 since it is not offered in the dropdown during build job creation (screenshot taken with German language UI).
The "Customized Mobile development kit client" option in the Cloud Build service is for building a custom MDK client. This can also be applicable for building an Asset Manager client as long as MDK SDK version you choose, is supported as per the compatibility matrix for the given Asset Manager release.
User | Count |
---|---|
80 | |
24 | |
11 | |
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.