OpenAPI-Android icon indicating copy to clipboard operation
OpenAPI-Android copied to clipboard

Build Error: Failed to resolve: com.kkbox:openapideveloper:1.0.0

Open kebwlmbhee opened this issue 1 year ago • 0 comments

I follow the Test the library steps

  1. First, browse KKBOX Developer Website and create an developer account, and then create an app to get the client ID and client secret.

  2. Then, create a file ClientInfo.kt in the SDK/openapi_android_developer_sdk/OpenAPIDeveloperLibraryClient/src/main/java/com/kkbox/openapideveloperlibraryclient directory and put your client id and client secret in it.

  package com.kkbox.openapideveloperlibraryclient


  
  object ClientInfo {
      const val CLIENT_ID = "YOUR_CLIENT_ID"
      const val CLIENT_SECRET = "YOUR_CLIENT_SECRET"
  }

And Then follow the Build the library steps

cd SDK/openapi_android_developer_sdk
./gradlew assembleDebug

However, Android Studio complained about the following error: "Failed to resolve: com.kkbox:openapideveloper:1.0.0."

Does this library still work now?

kebwlmbhee avatar Oct 17 '24 00:10 kebwlmbhee