Hexagon Geospatial
MENU

Mobile

Need help in setting and configuring Mobile MapWorks or just looking for general information you can’t find anywhere else. The Mobile discussion board is where you can look for answers, ask those questions and help others by sharing your knowledge. Help build a strong Mobile Community and join in on the discussions.
Showing results for 
Search instead for 
Do you mean 
Reply
Frequent Contributor
Posts: 119
Registered: ‎10-13-2015

MOBILESDK: COMPILE ISSUE

Hi.

 

We  have tried to create a new app with the last mobilesdk and we have received the following error when we have tried to create the second app. The first app works well.

 

Error: adb: Command failed with exit code 1 Error output:

Failed to install /Proyectos/MobileSDK16510/workspace/testLayers/build/mobile/platforms/android/build/outputs/apk/android-debug.apk: Failure [INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed in /data/app/com.test.layers-1: Can't install because provider name com.crypho.localstorage.documents (in package com.test.layers) is already used by com.intergraph.mags]

 

 

Technical Evangelist
Posts: 184
Registered: ‎07-30-2015

Re: MOBILESDK: COMPILE ISSUE

Hi,

 

The issue is caused by the file-chooser plugin https://www.npmjs.com/package/cordova-plugin-file-chooser.

 

There is a solution mentioned:

Note that like a ContentProvider, the DocumentProvider authority must be unique. You should change com.ianhanniballake.localstorage.documents in your Manifest, as well as the LocalStorageProvider.AUTHORITY field.

 

If you want to change it manually, just search for com.crypho.localstorage.documents and replace it with your app id, e.g. app.id.documents.

 

The process could be automated, so please report a ticket for it.

Highlighted
Frequent Contributor
Posts: 119
Registered: ‎10-13-2015

Re: MOBILESDK: COMPILE ISSUE

Thanks.

We opened the ticket yesterday.

Ticket number: 00040250

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.