cancel
Showing results for 
Search instead for 
Did you mean: 

Error during client build SSAM 2405: Could not find com.sap.cloud.android:fiori:7.1.8.

daniyal_dolare
Explorer
0 Kudos
185

Hi Experts,

I am building branded client using the following versions and I am getting the error on create-client-command step.

MDK SDK: MDKCLNT2404P_2-80009072

MDK Plugin SDK Android Extension: MDKPLG_SDK_AND00P_4-80008901

Asset Manager Brand SDK: ASSTMGRBRNDSDK00P_4-80008827

AssetManager Metadata: 2310/2405

The error is:

 

 

Build file 'D:\SAM_Debug_2405\MDKCLNT2404P_2-80009072\MDKClient_SDK\SSAM2405\platforms\android\app\build.gradle' line: 589
A problem occurred configuring project ':app'.
Could not find com.sap.cloud.android:fiori:7.1.8.
Required by:
    project :app


Note: D:\SAM_Debug_2405\MDKCLNT2404P_2-80009072\MDKClient_SDK\SSAM2405\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.
Command gradlew.bat failed with exit code 1

Error: Failed to run ns build android

 

 

 

daniyal_dolare_0-1726820882599.png

'''

Build file 'D:\SAM_Debug_2405\MDKCLNT2404P_2-80009072\MDKClient_SDK\SSAM2405\platforms\android\app\build.gradle' line: 589
A problem occurred configuring project ':app'.
Could not find com.sap.cloud.android:fiori:7.1.8.
Required by:
project :app


Note: D:\SAM_Debug_2405\MDKCLNT2404P_2-80009072\MDKClient_SDK\SSAM2405\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.
Command gradlew.bat failed with exit code 1

Error: Failed to run ns build android

'''

Thanks

View Entire Topic
oliver_kaluscha3
Participant
0 Kudos

Hi,

I am running pretty much the same landscape as you have and I can build it flawlessly. Could you please check your settings in MDKProject.json? Here is an example of the relevant lines of my MDKproject.json. 

"Externals": ["@nativescript/geolocation", "extension-MapFramework", "extension-LocationService", "extension-GenericWebView", "uuid", "@nstudio/nativescript-dynatrace", "@nativescript/core/accessibility", "xml-js", "stream", "buffer", "emitter"],
"NSPlugins": ["@nativescript/geolocation", "@nstudio/nativescript-dynatrace@1.0.1"],
"NPMPlugins": ["uuid@9.0.1", "nativescript-dev-xcode", "@nativescript/hook", "xml-js", "stream", "buffer", "emitter"],
"UrlScheme": "samclient"

Beside this, please run the MDK dependency installer and the install.command, to make sure the configuration of your build folder is valid.

Hopefully this will cure your issue,
Oliver