Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
The folloing error appears when building an Application with the Google Play Services (Gingerbread) component added.
Error 1 The "exists" function only accepts a scalar value, but its argument "@(_AdditionalAndroidResourceManifests)" evaluates to "C:\Users\Tomasz\Documents\Visual Studio 2013\Projects\AppCompat\Components\googleplayservicesgingerbread-13.0\lib\android\13\content\google-play-services/libproject/google-play-services_lib\AndroidManifest.xml;C:\Users\Tomasz\Documents\Visual Studio 2013\Projects\AppCompat\Components\googleplayservicesgingerbread-13.0\lib\android\18\content\support/v7/appcompat\AndroidManifest.xml" which is not a scalar value.
I am running Xamarin.Android 4.11.00217 (c789d807) and it happens in either VS2012, VS2013 or XS (tried both 4.1.1 and 4.2.2).
It can be replicated by creating a new Android Application project, then simply adding the Google Play Services component to the project. I have verified the error on two different machines with the same result.
Just like reported here: http://forums.xamarin.com/discussion/12030/error-building-project-with-play-services-component it strikes me that the paths have mixed forward and backward slashes. This should however not be a problem in Windows where the file system ignores it, however it could be a problem on unix type filesystems.
I'm having the same issue with an app with the following settings:
- Compile using API Level 15
- Minimum Android to target Level 8
- Target Android version use compile using SDK version.
I'm using Support.V4, SUpport.v7.AppCompat.
Any Play Services component will trigger the issue.
Works OK for me with 4.12-series build, I believe it was fixed by commit 58522ad69ba280a0fbb4a0734daef14e59bfd3cd in 4.12-series branch.
I have checked this issue with following builds:
X.S 4.2.3(build 54)
To check this issue I have created an Android template application and then added 'Google Play Services' component in this project. When I build the project, it is giving me two build errors. This is the gist for the same: https://gist.github.com/saurabh360/db40dd9824db55a0e7d5
I am not sure am I missing any step over here. Please let me know is it correct or not?