Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onyxsdk-base could not determine dependecies #86

Open
zbouslikhin opened this issue Jun 25, 2022 · 1 comment
Open

onyxsdk-base could not determine dependecies #86

zbouslikhin opened this issue Jun 25, 2022 · 1 comment

Comments

@zbouslikhin
Copy link

Hello,

I'm trying to use onyxsdk-pen, which uses onyxsdk-base

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
   > Could not find pub.devrel:easypermissions:0.2.1.
     Required by:
         project :app > com.onyx.android.sdk:onyxsdk-base:1.6.19
   > Could not find com.tencent:mmkv:1.0.19.
     Required by:
         project :app > com.onyx.android.sdk:onyxsdk-base:1.6.19
@Wiskerke
Copy link

I had the same problem.

If you look at build.gradle file in the archive, it contains a dependency on jcenter:

buildscript {
repositories {
google()
jcenter()
}

Now in android studio, it gives a hint to replace this:
image

However, mavenCentral does not contain those two dependencies. (It contains newer versions, but not those old versions.)
So basically, make sure that jcenter() is present in the gradle file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants