cancel
Showing results for 
Search instead for 
Did you mean: 

Create client command fails with MDK 23.4.1

ajiteshupadhyay
Participant
0 Kudos
605

Hi Team,

While executing create-client command, it gives below error.

OS - Android

MDK - 23.4.1

Metadata - 2210

Extension - 2305.0.1

Dependency check shows green.

Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

I see you have also opened a ticket with support for this issue. Please be sure to attach your .mdkproject folder used for the create-client to the ticket. We will review and respond to the ticket with further updates.

ajiteshupadhyay
Participant
0 Kudos

Thanks Bill. Yes, have uploaded .mdkproject. To me it looks like a bug with barcode scanner extension.

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

The issue is with your .mdkproject app.gradle. You are missing the minSdkVersion and targetSdkVersion properties. The ticket should be updated back to you with more details soon.

ajiteshupadhyay
Participant
0 Kudos

Thanks Bill for looking into it and providing the solution. After adding minSdkVersion and targetSdkVersion on build.gradle it started working.

Just curious to know, why does it needed to add it on MDK 23.4.1 and not on older MDK versions?

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Since MDK 23.4.x uses newer versions of various components, I would guess that something within there is now requiring certain minimums which is why it needs to be set.

ajiteshupadhyay
Participant
0 Kudos

got it, many many thanks for your quick response and help.

Answers (0)