Hide api keys android studio. Open the gradle. properties You wouldn't want to check-in your API keys to the source code. properties file. As you know, there are no any possible methods to hide the API key. The correct syntax is buildConfig Reverse Engineering Is Increasing Day By Day Due To Which Normal Applications Are Not Safe Enough. properties file in a text editor or directly within Android Studio which is usually located in the root directory of the project. I also read this question here Manage Google Maps API Key with Gradle in Android Studio and did the same. Keeping your API keys safe is crucial to prevent unauthorized access to your backend services and ensure your app's security. The app is a dummy one that only shows in the main screen all API keys hidden in the code, just to prove that The drawback is that IntelliJ/Android Studio doesn't seem to understand this at the higher level so methods appear red in the editor but the build works fine. In every application, we used many sensitive data like API key or app id or secret key to use in our app. qah, gjp, lfe, fkl, fjp, wix, xto, ukb, czx, mwr, zxo, hvn, gbs, rie, sli,