Failed to resolve io.particle:cloudsdk

I have an old Android App (5 years) which was working with older Android Studio.
Recently I updated Android Studio to "Hedgehog | 2023.1.1" then, an error show up.

Failed to resolve: 'io.particle:cloudsdk:1.0.1'

dependencies {
    implementation  fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.google.android.material:material:1.6.0'
    implementation 'androidx.appcompat:appcompat:1.4.1'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'

    //
    // THE FOLLOWING TO USE A PUBLISHED VERSION OF THE SDK:
    //
    implementation  'io.particle:cloudsdk:1.0.1'
}

The Android particle sdk isn't supported anymore, but you can download the cloudsdk itself and implement it as a local project. That way you can make the necessary changes to get it to compile if you still needed to go that route.

In build.gradle

implementation project(':cloudsdk')

In settings.gradle

project(':cloudsdk').projectDir = new File('path/to/cloudsdk')

There are still a ton of other androidx changes you'll have to make.

1 Like

Do you know where I could download the cloudsdk project to build locally ?
OR
a available library which can include locally instead