AnsweredAssumed Answered

Upgrade to SDK for Qt V 10.2.5 problem, Android only

Question asked by TSI-AR on Feb 27, 2015
Latest reply on Mar 2, 2015 by LDanzinger-esristaff

I've had a project running under Beta, using Qt5.3.2 on a Mac with the ArcGIS SDK, targeting iOS and Android.  I upgraded and am now running

 

Qt5.4.1

ArcGIS V10.2.5 for iOS and Android

 

The project deploys for the iOS target just fine.

 

For the Android I get a "Duplicate Resources" error while generating the Android Package, specifically:

 

:mergeDebugResources

/Users/tsidevelopmentmac2/QtProjects/build-BVTest2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_4_1-Debug/android-build/res/values/strings.xml: Error: Duplicate resources: /Users/tsidevelopmentmac2/QtProjects/build-BVTest2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_4_1-Debug/android-build/res/values/strings.xml:string/ministro_not_found_msg, /Users/tsidevelopmentmac2/QtProjects/build-BVTest2-Android_for_armeabi_v7a_GCC_4_9_Qt_5_4_1-Debug/android-build/__qt5__android__files__/res/values/strings.xml:string/ministro_not_found_msg

:mergeDebugResources FAILED

 

FAILURE: Build failed with an exception.

 

It appears that strings.xml is duplicated in the following two folders:

 

.../res/values/strings.xml

.../__qt5__android__files__/res/values/strings.xml

 

Deleting one or the other doesn't help, as that they are generated earlier in the build process.

 

Does anybody in Redlands have an idea of what may be causing this, or how to resolve it?

 

Thanks!!

 

Chuck

 

 

Outcomes