cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

minSdkVersion 26 cannot be smaller than version 30 declared in barcodescanner-release (MDK,SSAM)

daniyal_dolare
Explorer
0 Kudos
971

Hi Experts,

While doing MDK debugging setup for Sap Service and Asset Manager (SSAM) using MDK SDK 23.8.8, I am getting this error

daniyal_dolare_0-1725544631624.png

Here are the software versions I am using:

MDK SDK: MDKCLNT23808P_8-80008652

MDK Plugin SDK: MDKPLG_SDK_AND00P_500-80008388

Asset Manager Branding SDK: ASSTMGRBRNDSDK00P_500-80008452

SSAM Metadata: 2310

I have also implement these two notes:

https://me.sap.com/notes/3499050

https://me.sap.com/notes/3480260

 

Kindly help.

View Entire Topic
bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Check your .mdkproject/App_Resources_Merge/app.gradle and make sure it contains the following and then try running create-client again.

android {
    defaultConfig { 
        minSdkVersion 30
        targetSdkVersion 34
    }
}

 

daniyal_dolare
Explorer
0 Kudos

Hi @bill_froelich, there is no build.gradle file in this directory. Should I create one and add these or can you share yours

daniyal_dolare_0-1725596789693.png

There is no build.gradle in Android folder too

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

The app.gradle file is shipped as part of the Asset Manager branding SDK. If you grab the latest version from the SAP Marketplace you can find the default version for SSAM 2310.

daniyal_dolare
Explorer
0 Kudos

Hi @bill_froelich, I have downloaded the Asset Manager branding SDK ASSTMGRBRNDSDK00P_300-80008452 from SAP software center, but it does not contain build.gradle file

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos
I looked in ASSTMGRBRNDSDK00P_500-80008452 and see the app.gradle file
daniyal_dolare
Explorer
0 Kudos
I am using ASSTMGRBRNDSDK00P_300-80008452 not 500 version, I will download the 500 version and check with it. Our environment uses 300 version hence I was building with that