Failed to resolve: no.nordicsemi.android - Android Studio Error

Hello,

I am new to android development. I am building an Ble App for some of my work in which I want to include Direct Firmware Upgrade(DFU) over-the-air. 

I have building some part of the application till now using Kotlin in android studio, and now I am stuck at a point to include the "no.nordicsemi" dependency in my project.

 

I tried adding this to my build.gradle.ktx(Module: app):

implementation ("no.nordicsemi.android:ble-ktx:2.10.0")
implementation ("no.nordicsemi.android:mcumgr-ble:2.5.0")

But I am stuck at the following error:


"Failed to resolve: no.nordicsemi.android:ble-ktx:2.10.0"


"Failed to resolve: no.nordicsemi.android:mcumgr-ble:2.5.0"


Thanking you in advance.

Regards,

Nakul

Related