I have been having a problem for some time now. In build.gradle I have always had my compileSdk
set to 32. And it would never prevent my app from starting.
Since recent times, when I start a new Android project and run it, the compiler outputs an error that tells me to update my compileSdk
, as there are dependencies that require libraries and applications that depend on them to compile against version 33 or later of the Android APIs.
I know I have to go to my build.gradle (app/module) file and change compileSdk
to 33. But the difficulty is that I have to do that every time I start a new Android project. Please tell me how I could make it so compileSdk
's value is always set to 33, by default.
Google did not help, I've not been able to find a similar question.