Page Summary
-
The GooglePlayServicesLocationLibraryNotLinkedException is thrown when the Fused Location Provider for Android library is required but not found before configuring a session with Geospatial Mode enabled.
-
To resolve this exception, ensure your app includes the Fused Location Provider library and that your ProGuard rules are correctly configured for the Geospatial API.
-
You can use the APK Analyzer to verify that the
com.google.android.gms.locationpackage is present in your app's binary and its contents are not altered.
public class
GooglePlayServicesLocationLibraryNotLinkedException
The Fused
Location Provider for Android library is required, but wasn't found in the client app's
binary prior to calling Session.configure(com.google.ar.core.Config)
when Config.GeospatialMode is set to Config.GeospatialMode.ENABLED.
Ensure that your app includes the Fused Location Provider of Android library, and that your app's ProGuard rules are correctly set up for the Geospatial API.
When building your app, check the resulting binary with the APK Analyzer, and ensure that
the built application binary includes the com.google.android.gms.location package, and
that its contents are not renamed or minified.
Public Constructors
|
|
|
Inherited Methods
Public Constructors
public GooglePlayServicesLocationLibraryNotLinkedException ()
GooglePlayServicesLocationLibraryNotLinkedException
public GooglePlayServicesLocationLibraryNotLinkedException()
public GooglePlayServicesLocationLibraryNotLinkedException (String message)
GooglePlayServicesLocationLibraryNotLinkedException
public GooglePlayServicesLocationLibraryNotLinkedException( String message )
| Details | |||
|---|---|---|---|
| Parameters |
|
||