I have an API key, but it doesn't work?

I am trying to use my API key to build an app with Android Studio. But, it’s not working properly. My app keeps showing this error. How do I enable Gemini for this project? ow do I get it to work?

Hi @Steven_Rice ,

Thanks for reaching out to us. Could please confirm that the Gemini API is enabled for your Google Cloud project and that you’ve selected the same project you’re using in Android Studio?

1 Like