Skip to Content
0
Aug 29, 2023 at 12:43 PM

Building MDK Client 23.4.1 plugin error

406 Views

Hi,

Im trying to build SAP Service and Asset Manager client 23.4.2 for Android on Windows 10 but client creation fails with ui-material-core plugin error.

1. create-client.cmd

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file 'D:\MDK\MDK23_42\MDKClient_SDK\SvcAssetMgr\platforms\tempPlugin\ui_material_core\settings.gradle' (C:\Users\user\.gradle\caches\7.5\scripts\8sdhpe2wp0g8pmqmpmc4rz2gv).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s
Failed to build plugin @nativescript-community/ui-material-core :
Error: Command gradlew.bat failed with exit code 1

Error: Failed to run ns build android<br>

2. Documentation

All the steps i did was from this guide:

Working with the Mobile Development Kit | SAP Help Portal

SAP Service and Asset Manager Installation Guide (Document Version: 2305 – 2023-07-27)

3. Download files (latest versions on this day)

ASSETMGRMTADTA00_0-80008483.ZIP

ASSTMGRBRNDSDK00_0-70007795.ZIP

MDKCLNT2304P_1-70007923.ZIP

MDKPLG_SDK_AND00P_100-70007792.ZIP

Any help would be appreciated.

Thanks

Tomislav