Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Android setting up error #6

Open
harnie2275 opened this issue Nov 12, 2023 · 4 comments
Open

Android setting up error #6

harnie2275 opened this issue Nov 12, 2023 · 4 comments

Comments

@harnie2275
Copy link

A problem occurred configuring project ':rn-smile-id'.

Failed to notify project evaluation listener.
Could not create task ':rn-smile-id:compileDebugAndroidTestKotlin'.
> Cannot use @TaskAction annotation on method AbstractKotlinCompile.execute() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.
KotlinJvmAndroidCompilation with name 'debugAndroidTest' not found.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

rn-smile-id: v0.0.46
react native: v0.72.6

@lc3t35
Copy link

lc3t35 commented Dec 10, 2023

Hi @harnie2275 did you solve this issue ?

@harnie2275
Copy link
Author

Yes

@lc3t35
Copy link

lc3t35 commented Dec 10, 2023

@harnie2275 would you mind sharing to the world how ?

@jjjyrki
Copy link

jjjyrki commented Dec 15, 2023

@lc3t35, I managed to resolve this error by specifying the kotlin version in the project level build.gradle file.

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
  ext {
      ...
      kotlinVersion = '1.6.0'
      ...
  }
}

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants