Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Could not get unknown property 'implementation' for object of type Dependency

Hello there after adding dependency of paging

val paging_version = "3.1.0"

implementation("androidx.paging:paging-runtime:$paging_version")

I’m getting this error

Could not set unknown property 'paging_version' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler

Note: I have switched my project from java to kotlin ( because there
is some issue the entire project cant be converted so I convert every
java file one by one)

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

I have added it like this and it works:

implementation 'androidx.paging:paging-runtime-ktx:3.1.0"'
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading