I am making an app which uses google maps. But in my xml I get th error "Failed to find style 'mapViewStyle' in current theme." Instead I have given onternet permission and used the google maps library inside the application tag.
Can anybody help me over this.
Thanks a lot
following is my xml file...
<?xml version="1.0" encoding="utf-8"?>
My answer may be a late one, but i hope that it'll deals with the actual reason and sure it could be helpful for those who are going to search about the same problem in future.
This type of errors,
1. Android Google Maps Failed to find style 'mapViewStyle' in current theme 2. Failed to find style 'imageButtonStyle' in current theme 3. Failed to find style 'editTextStyle' in current theme 4. Failed to find style 'textViewStyle' in current theme
Anything from the above list it may be,
The ultimate reason is ,
We have selected the unavailable
Theme for the
This may cause because of,
themeis not available in
themeis belongs to higher version
sdk, but our current target
sdkis lower one.
This problem mostly happens,
layoutfile and try to implement it in your
project. a. Your may forgot to copy
themes.xmlfile b. You may have lower
target sdk, the original
layoutcreated with higher
The Solutions for this problem are,
(Open and View the
layout file in the
Graphical Layout View, and look at the top Right corner.
themes for the
layout have been selected.)
themeselection and choose the available
themesaccording to your project
targeted sdk themes. (OR)
customone , if you are required it , then copy the
themes.xmlfile to your project from the source where you copied the
layout xmlfile. (OR)
theme, if you are required it , then change your
targetaccording to your selected
Hope,This might be helpful for somebody.