28/05/2025
I am updating my apps to test compatibility with the new Android version 35 named Vanilla Ice Cream and got build and compilation errors due to resource id's not accessible even if the resources are present and the build worked on previous versions. So I asked Gemini AI to help in solving the problem, reverting the new 'case-swtich' chain to the old 'if-else' logic chain, and it did a very good job!
Gemini AI really helps a lot in performing tedious or repetitive tasks involving coding, debugging and editing codes that can take a lot of time if done manually, though sometimes it fails and not perfect yet. It remembers the previous instructions and repeat the process even after leaving the chat session and reliving the session and subject at a later date. As mentioned earlier, in this case, I have to revert to the old if-else chain from the case-switch chain to "adapt to changes in how the latest Android's build system handles resource IDs" per Gemini's response, and it did a perfect job. Thanks a lot Google!