Error: (50, 28) A resource was not found that matches the specified name (in 'value' with the value '@ string / google_maps_key')

I am making an Android program using Android Studio. After shutting down with Android Studio and Gradle, I got

Error: (50, 28) A resource was not found that matches the specified name (in 'value' with the value '@ string / google_maps_key') ".

What's happening? This is the first time I have received this error.

+4
source share
1 answer

, . /src/debug/res/values/google _maps_api.xml( ), . YOUR_KEY_HERE .

  

To get one, follow this link, follow the directions and press "Create" at the end:

Once you have your key (it starts with "AIza"), replace the "google_maps_key"
string in this file.
-->
<string name="google_maps_key" templateMergeStrategy="preserve" translatable="false">
    YOUR_KEY_HERE
</string>

+4

Source: https://habr.com/ru/post/1628246/


All Articles