Shared srcDirs between test and androidTest, unresolved references after upgrade to Android Studio Chipmunk (IntelliJ 2021.2.1)

Looks like this feature is no longer supported in new iterations of the Android Studio IDE and IntelliJ platforms. Edit: Sharing code this way no longer works. BUT, there is another method to make it work: Basically, create an android library (sharedTestCode), depend on it in your app via testImplementation and androidTestImplementation. In the sharedTestCode … Read more

Gradle flavors for android with custom source sets – what should the gradle files look like?

I think you’d be better off not defining custom sourceSets but using the default gradle configuration. I used to do custom sourcesets until I realized the conventions are, well, convenient. You’ll want something like this: + src + main // this is your common code + java + res + flavor1 + java + res … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)