cancel
Showing results for 
Search instead for 
Did you mean: 

problems with MKD client

MaximoSanchez
Participant
0 Kudos
124

Hi all,
I am following the tutorial “Build Your Mobile Development Kit Client Using MDK SDK” (https://developers.sap.com/tutorials/cp-mobile-dev-kit-build-client.html#978429f3-de92-4fbc-8093-af8...) and when I had to run my MDK client I had the following problem from the android emulator.
I wanted to know if anyone knows what is the problem and what is the cause?
Thank you very much.

MaximoSanchez_0-1736885654385.png

 

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

Check your BrandedSettings.json.  I suspect the values for ConnectionSettings are incorrect or left at the default template values.  There may be other issues with BrandedSettings as well so please check the whole file.

MaximoSanchez
Participant
0 Kudos

Hi @bill_froelich , I checked the file you told me and adjusted it and I kept getting this error in the terminal.

MaximoSanchez_0-1736897432725.png
So I deleted the emulator application and when I ran the command “tns run android --emulator” in the terminal I got this.

MaximoSanchez_1-1736897445880.png

 

MaximoSanchez
Participant
0 Kudos

My BrandedSettings.json:

mobile.png

MaximoSanchez_0-1736897826844.png
MaximoSanchez_1-1736897832177.png

 

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos
I would stop the ns run from the terminal and then delete the client from the emulator. Restart the ns run android --emulator --no-hmr from the command prompt and it should reinstall. See if that succeeds or not.
MaximoSanchez
Participant
0 Kudos

@Bill_froelich thanks for trying to help me, but that solution didn't work. i still have the same problem. I am doing all this to debug my MDK application, is there any other easier way to do it without installing a MDK client?