groovy.lang.MissingPropertyException: Could not get unknown property 'com' for extension 'android' of type com.android.build.gradle.LibraryExtension

getting this error in adroid studio in the process to upgrade the android project

Well, somewhere you do android.com... falsely.
Or android { .... com ... }.
More cannot be deduced from the little information you provided.
I highly suggest to use Kotlin DSL instead of Groovy DSL. Then you immediately have type-safe build scripts, much better error messages much earlier if you mess up the syntax, and amazingly better IDE support when using a decent IDE like IntelliJ or AS.

1 Like

Thank you so much… I will try out your suggestions and come back if more help is needed. Thanks again.

1 Like