Im trying to compile my first ionic app with capacitor for android. Gradle successfuly builds it but when I try to run it on android studio i get this error:
Failed to query the value of task ':capacitor-android:compileDebugJavaWithJavac' property 'options.generatedSourceOutputDirectory'.
Querying the mapped value of map(java.io.File property(org.gradle.api.file.Directory, property(org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, C:\jsprojects\ajoopay2\node_modules@capacitor\android\capacitor\build\generated\ap_generated_sources\debug\out))) org.gradle.api.internal.file.DefaultFilePropertyFactory$ToFileTransformer@482d6451) before task ':capacitor-android:compileDebugJavaWithJavac' has completed is not supported
I have no idea what to do and ive spent hours trying to correct this please help me