Android Studio fails to generate databinding after 3.1.0 update

Following the update to Android Studio 3.2, this line works for me. I have both Java and Kotlin code (compiler) running in my project. Add the following to your gradle.properties: android.databinding.enableV2=false Reason: Data Binding V2 Data Binding V2 is now enabled by default and is compatible with V1. This means that, if you have library … Read more

Should I add .idea/caches/build_file_checksums.ser to .gitignore?

You should add it to .gitignore. Don’t include it in your git add. In the left-side Project window, (a) change the Android view to the Android project view, with the pull-down menu. (b) You can see build_file_checksums.ser in folder .idea/caches. (c) Open .gitignore of the project root directory. (Don’t confuse it with .gitignore of the … Read more

No IDEA annotations attached to the JDK 1.8 (C:\…), some issues will not be found

Solution Close Android Studio Go to C:\Users\UserName\.android and rename the build-cache folder to build-cache.bak Go to C:\Users\UserName\.AndroidStudio3.2\system and rename these folders caches to caches.bak compile-server to compile-server.bak compiler to compiler.bak conversion to conversion.bak external_build_system to external_build_system.bak frameworks to frameworks.bak gradle to gradle.bak resource_folder_cache to resource_folder_cache.bak Open the Android Studio and open your project again.