Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project fails to build with Android Studio Electric Eel 2022.1.1 Patch 1 #30

Open
DaveInTucson opened this issue Mar 28, 2023 · 4 comments

Comments

@DaveInTucson
Copy link

DaveInTucson commented Mar 28, 2023

  • 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

@melvyniandrag
Copy link

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

@AhmedMaad
Copy link

AhmedMaad commented Jul 15, 2023

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

@tessarakt
Copy link

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.

@DarkOhms
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants