https://kotlinlang.org logo
#compose
Title
# compose
a

Amanata Nayak

11/02/2023, 9:39 AM
Cannot locate tasks that match 'composeAppcompileJava' as task 'compileJava' is ambiguous in project ':composeApp'. Candidates are: 'compileDebugAndroidTestJavaWithJavac', 'compileDebugJavaWithJavac', 'compileDebugUnitTestJavaWithJavac', 'compileReleaseJavaWithJavac', 'compileReleaseUnitTestJavaWithJavac'.
c

Chrimaeon

11/02/2023, 9:40 AM
Is there a question connected to this?
a

Amanata Nayak

11/02/2023, 9:41 AM
I am unable to run the desktop app
I get this error msg
c

Chrimaeon

11/02/2023, 9:42 AM
use the
run
task. in your desktop module. looks like you start it from root and these are all the compile tasks from android.
a

Amanata Nayak

11/02/2023, 9:42 AM
How ??
c

Chrimaeon

11/02/2023, 9:43 AM
😅 many possibilities. maybe start here https://www.jetbrains.com/help/idea/work-with-gradle-tasks.html
a

Amanata Nayak

11/02/2023, 9:43 AM
Okay thanks
c

Chrimaeon

11/02/2023, 9:45 AM
there are also command line tools like
gradle wrapper
https://docs.gradle.org/current/userguide/gradle_wrapper.html
117 Views