I'm trying to make an application for SoftBank's robot Pepper using Android Studio, Java and QiSDK as recommended on their website. After I create a robot application that adds the needed QiSDK dependencies to the project, those would not resolve after a gradle project sync. Image of a warning message.
I tried to create a project on different devices, but got the same result. Is it maybe a problem that I am using a newer version of Android Studio 2021.3.1 Patch 1?
Chances are it's because you're missing a link to the repository in which qisdk can be found. You need to add this to your settings.gradle file, in the
dependencyResolutionManagement's section inrepositoriesMine looks like this:
Initially, the Pepper plugin for Android Studio would edit the project's build.gradle to add this bit, but with newer versions of Android Studio, this repository config moved from the project's build.gradle to setting.gradle, so that line doesn't get updated any more, you need to add it manually.