android - Error when adding google playservices to xamarin: No resource found that matches the given name -


error when adding google playservices xamarin:

no resource found matches given name (at 'theme' value '@style/theme.iaptheme')

image

this issue caused exception while building google play services component. showing once when adding , building google play services component first time. first exception java did not have enough memory , second component cannot build api 25.

first have clear downloaded component. if can please revert changes project added component.
1. remove data c:\users\\appdata\local\xamarin
2. remove bin, obj folder project
3. remove 'components' , 'packages' folder in vs solution.
4. update java heap size - go project settings 'android options' , 'advanced' - set heap size '1g'.
5. not use api 25 compile - go project settings 'application' , not use 'use latest platform' if have api 25 installed in android sdk.
6. if did not revert changes form project have find way add component again. should removed packages.config , *.csproj file.
7. add component xamarin component store, wait while - should add reverences project.
8. rebuild project.


Comments