Bug 15129 - GooglePlayServices GooglePlayServicesUtil.GetErrorDialog throws ResourceNotFound Exception
Summary: GooglePlayServices GooglePlayServicesUtil.GetErrorDialog throws ResourceNotFo...
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.8.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2013-10-02 12:14 UTC by Arvis
Modified: 2015-11-04 10:32 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
ExceptionStackTrace_15129 (3.31 KB, text/plain)
2013-10-03 03:56 UTC, Arvis
Details
Test case example (562.52 KB, application/octet-stream)
2013-10-03 06:02 UTC, Arvis
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Arvis 2013-10-02 12:14:40 UTC
Getting the errorDialog for user to install/update GooglePlayService throws resources not found exception: Android.Content.Res.Resources.NotFoundException.
Comment 1 Jonathan Pryor 2013-10-02 22:27:17 UTC
As a guess, you're using the Google Play Services rev10 Component with the Google Play Services r12 library.

http://forums.xamarin.com/discussion/6936/mapsandlocationdemo-v3-google-play-services-resources-notfoundexception

If that's the case, please updateto the Google Play Services rev12 Component.

http://components.xamarin.com/view/googleplayservices12/
http://components.xamarin.com/view/googleplayservicesfroyo12/

If my guess is incorrect, please attach a reproducible test case and complete stack trace of the error.
Comment 2 Arvis 2013-10-03 03:56:30 UTC
Created attachment 5047 [details]
ExceptionStackTrace_15129

ExceptionStackTrace_15129
Comment 3 Arvis 2013-10-03 04:00:23 UTC
How does it even possible to use GooglePlayServices Component with diferent
library? Component already include library, doesn't it?!

Anyway, that is EXCATLY the same problem (bug):
http://forums.xamarin.com/discussion/6936/mapsandlocationdemo-v3-google-play-services-resources-notfoundexception

I have tested this on several devices (Android 4.x.x) - an exception has been
thrown in all cases.

Info:
MyApp has GooglePlayServices Component v_12 from Xamarin site;
In Android SDK manager there is GooglePlay Servises v12 instaled;
Devices have older GooglePlayServices than app required;

That's the aal point to push users to update GooglePlayServices trought
GooglePlay but when calling getErrorDialog methode exception is thrown (see
atach)!

What more info can i send???

Beside, when i restore older GooglePlayService Component (v_10) in app, project
does event compile anymore!? So my development project is suspended.
Comment 4 Arvis 2013-10-03 06:02:32 UTC
Created attachment 5048 [details]
Test case example

Test case example - zipped VS2012 Solution
Comment 5 Tom Opgenorth 2013-10-03 10:53:22 UTC
This isn't a mismatch API issue. I suspect it's has some
Comment 6 Tom Opgenorth 2013-10-04 13:28:37 UTC
After speaking with Radek, this seems to be a problem with how the component is being built. The fix for this should be in Xamarin.Android 4.8.4.
Comment 7 Jakub Arnold 2013-11-12 07:28:51 UTC
Is there any timeline for when the fix will be released on the stable branch?
Comment 8 Tom Opgenorth 2015-11-04 10:32:34 UTC
Assuming this has been fixed with the latest Google Play Services bindings.