Hello sir, I have an interview for an Android developer in the next week so could you suggest what topic I need to cover. Please give me some questions that I need to study.
Here is a repository where I used to collect interview questions: github.com/mohsenoid/Android-Interview-Questions I hope you find it useful. Good luck with the interview. 🍀🤞☺️
There are many solutions for adding API key to the Gradle file, check this StackOverflow thread, I am sure you will find a good solution for your case: stackoverflow.com/q/35722904/2359762
Already am searching on stack overflow then am implementing . But showing error on gradle file Android studios giraffe this version how to add on API key gradle file
There is something in the latest AGP that the BuildConfig feature is disabled by default. To enable the feature, you need to add the following to your module-level `build.gradle`: `android.buildFeatures.buildConfig true` The rest is the same as before and you can define BuildConfig fields the same as before: `buildConfigField("String", "API_KEY", "\"ABCD123XYZ\"")` Just keep in mind that this is not the safest place to keep your secret API keys.
Thanks for this! Very helpful explanation.
Glad you found it helpful ❤️ 🙌
Hello sir, I have an interview for an Android developer in the next week so could you suggest what topic I need to cover. Please give me some questions that I need to study.
Here is a repository where I used to collect interview questions:
github.com/mohsenoid/Android-Interview-Questions
I hope you find it useful.
Good luck with the interview. 🍀🤞☺️
@@AndroidDeveloperTips Thank you so much, sir☺🙏
How to add API key on gradle file
There are many solutions for adding API key to the Gradle file, check this StackOverflow thread, I am sure you will find a good solution for your case:
stackoverflow.com/q/35722904/2359762
Already am searching on stack overflow then am implementing .
But showing error on gradle file
Android studios giraffe this version how to add on API key gradle file
There is something in the latest AGP that the BuildConfig feature is disabled by default.
To enable the feature, you need to add the following to your module-level `build.gradle`:
`android.buildFeatures.buildConfig true`
The rest is the same as before and you can define BuildConfig fields the same as before: `buildConfigField("String", "API_KEY", "\"ABCD123XYZ\"")`
Just keep in mind that this is not the safest place to keep your secret API keys.
Grand Iran 🇮🇷
❤️❤️❤️