Jon,

 

Thanks for the reply.  I discovered that adding the line below to my
AssemblyInfo.cs resolves the issue:

 

[assembly: UsesLibrary(Name="com.google.android.maps", Required=false)]

 

Now I just need a good way to test for the Google API availability on the
device so I can properly detect availability vs. just blocking Kindle Fire
and NOOK use of the feature as something new could come along that doesn't
have it and I show the feature and problems arise.

 

Neal Culiner

NC Software, Inc.

 <http://www.nc-software.com/> http://www.nc-software.com

 

From: Jonathan Pryor-2 [via Mono for Android]
[mailto:ml-node+s1047100n5711067...@n5.nabble.com] 
Sent: Friday, July 27, 2012 12:27 PM
To: NCSoftware
Subject: Re: Application not installed message (Missing Shared Library)

 

On Jul 21, 2012, at 12:49 PM, NCSoftware <[hidden email]> wrote: 
> How do you suggest I proceed?  If this issue IS google maps being
referenced, how do you handle this so my app will run on devices without
this shared library present? 

At present, you will need to build two different .apk's: one with Google
Maps support, and one without, and the .apk w/o Maps support cannot include
(and thus cannot reference) the Mono.Android.GoogleMaps.dll assembly. 

The issue here is that in the interest of usability
Mono.Android.GoogleMaps.dll will automatically add the <uses-library/>
element to AndroidManifest.xml, and there's currently no way to inhibit that
behavior. 

 - Jon 

_______________________________________________ 
Monodroid mailing list 
[hidden email] 

UNSUBSCRIBE INFORMATION: 
http://lists.ximian.com/mailman/listinfo/monodroid



  _____  

If you reply to this email, your message will be added to the discussion
below:

http://mono-for-android.1047100.n5.nabble.com/Application-not-installed-mess
age-Missing-Shared-Library-tp5710988p5711067.html 

To unsubscribe from Application not installed message (Missing Shared
Library), click here
<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?macr
o=unsubscribe_by_code&node=5710988&code=bmVhbEBuYy1zb2Z0d2FyZS5jb218NTcxMDk4
OHw3NDYyNTI4OA==> .
 
<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?macr
o=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namesp
aces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web
.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml
-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.na
ml> NAML 





--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Application-not-installed-message-Missing-Shared-Library-tp5710988p5711069.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to