Any idea about this error ```Could not determine t...
# multiplatform
v
Any idea about this error
Copy code
Could not determine the dependencies of task ':[projectname]:compileDebugAidl'.
> Could not resolve all task dependencies for configuration ':[projectname]:debugCompileClasspath'.
   > Could not resolve project :[shared-library-name].
     Required by:
         project :[projectname]
Cannot choose between the following variants of project :[shared-library-name]:
          - androidApiElements
          - androidCompile
          - androidCompileOnly
          - androidDefault
          - androidRuntime
          - androidRuntimeElements
          - androidTestCompile
          - androidTestRuntime
          - iosRuntimeOnly
          - jvmApiElements
          - jvmCompile
          - jvmCompileOnly
          - jvmDefault
          - jvmRuntime
          - jvmRuntimeElements
          - jvmTestCompile
          - jvmTestRuntime
a
Perhaps you should specify android release and debug variants for shared-library-name
Or maybe there are missing targets
v
Thanks, for now I removed the jvm(“android” from the build.gradle .
a
I think it is better to define android target via
android()
, not
jvm()