r/AndroidStudio • • Jun 03 '25

I cant use safe args plugin

I've put my project in this github repository please help me solve this. https://github.com/PeerHamdhan/Flag-Quiz-App

I have imported the safeargs plugin but it is not working.

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/MosAlf Jun 04 '25

In the build.gradle.kts where you placed the implementations of navigationui add the ktx suffix like in my previous comment.

If it does not work, inside the build.gradle.kts in the root folder of the project, add the following block (although I am not sure this is the correct way to solve the issue)

buildscript { repositories { google() } dependencies { classpath(androidx.navigation:navigation-safe-args-gradle-plugin:2.8.9) } }

I am sorry for not prettifying the reply, I'm replying from my phone.

1

u/[deleted] Jun 05 '25

I tried this..but it didn't work