4 weeks ago
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
'''
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.