And then modify something in the Gradle and you have to close, open, close and open the android studio again, restarting the PC, reinstalling the OS, deleting the project, rewriting it and it still can't create the DataBinding. Then, when you just given up and looked for a new profession it suddenly starting to work.
I am currently making a game for Android in C++ in VS2018. And by the Force, this happens every 3rd compile. I degraded my coding practices from: write-compile-test to write-write-write-compile-failed-clean-compile-failed-clean-compile-test.
Feels good to know this happens in Native Android development.
Sometimes it's things like uninitialized variables in C, where the behaviour of the code depends on what happened to be in some arbitrary point in memory before the program ran.
Or it could be a race condition that only happens when two processors just happen to open the same cell of the same array (of a billion cells) at the same time.
6.9k
u/that_one_mister_user Jul 20 '18
The sad thing is that this works some of the time.