So, I am getting the following error while running the project after upgrading build.gradle (Project) from
dependencies { classpath \'com.android.too
In case it helps someone, in my case I was using a custom package in release mode instead of in debug mode.
I just changed the package from "release" to "debug" and it worked.