WebGIS Discussions

Need a push in the right direction when configuring WebMap, Portal or SDI services? Looking for hints and tips, or just looking for Ideas and information? The WebGIS discussion board is where you start those discussions, connect and share information.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 121
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]

 

 

Highlighted
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: 121
Registered: ‎10-13-2015

Re: MOBILESDK: COMPILE ISSUE

Thanks.

We opened the ticket yesterday.

Ticket number: 00040250