You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In plugin 'androidx.navigation.safeargs' type 'androidx.navigation.safeargs.gradle.ArgumentsGenerationTask' property 'applicationId' is missing an input or output annotation.
Execution failed for task ':app:compileDebugJavaWithJavac'. \> Failed to calculate the value of task ':app:compileDebugJavaWithJavac' property 'options.generatedSourceOutputDirectory'. \> Querying the mapped value of map(java.io.File property(org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, C:\Users\Genesis-Intel\Documents\projects\Android\Udacity\DevBytes-s1\app\build\generated\ap_generated_sources\debug\out)) org.gradle.api.internal.file.DefaultFilePropertyFactory$ToFileTransformer@124f9241) before task ':app:compileDebugJavaWithJavac' has completed is not supported
The text was updated successfully, but these errors were encountered:
same issue here in general these class repos could use a couple of days of effort from the udacity team. Lots of small bugs throughout. This one is the first one thats got me scratching my head though
Update:
You can solve this problem by going to the build.gradle "project" file and update your safe args classpath to: classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.4.1" which will use AndroidX.
The same issue here, but using Android Studio Electric Eel | 2022.1.1 Patch 2
I just downgraded to Gradle 6.1.1 (the same version used in the andfun-kotlin-mars-real-estate project from the previous lesson), in the gradle/wrapper/gradle-wrapper.properties file.
I had to change my project grade file to version_gradle = "4.0.1" AND gradle-wrapper.properties distributionUrl=https://services.gradle.org/distributions/gradle-6.1.1-all.zip
In plugin 'androidx.navigation.safeargs' type 'androidx.navigation.safeargs.gradle.ArgumentsGenerationTask' property 'applicationId' is missing an input or output annotation.
Execution failed for task ':app:compileDebugJavaWithJavac'. \> Failed to calculate the value of task ':app:compileDebugJavaWithJavac' property 'options.generatedSourceOutputDirectory'. \> Querying the mapped value of map(java.io.File property(org.gradle.api.file.Directory, fixed(class org.gradle.api.internal.file.DefaultFilePropertyFactory$FixedDirectory, C:\Users\Genesis-Intel\Documents\projects\Android\Udacity\DevBytes-s1\app\build\generated\ap_generated_sources\debug\out)) org.gradle.api.internal.file.DefaultFilePropertyFactory$ToFileTransformer@124f9241) before task ':app:compileDebugJavaWithJavac' has completed is not supported
The text was updated successfully, but these errors were encountered: