So, I am getting the following error while running the project after upgrading build.gradle (Project) from
dependencies { classpath \'com.android.too
In my case, this was due to my library not being configured as 'android'. E.g. apply plugin:'java' instead of apply plugin:'com.android.library'
apply plugin:'java'
apply plugin:'com.android.library'