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.
Steps to reproduce:
1. Open Android GooglePlayServices sample.
2. Follow README.
3. Build the project.
Actual Result: I have followed all steps mentioned in README. I have observed one more thing here, In GooglePlayService project there is a Docs folder which name starts in uppercase however in Android sdk there is docs folder which name starts in lower case. So there is Issue when I am copying docs folder in GooglePlayServices project because Docs folder already exists and it is not replacing it. To resolve this Issue I have Added existing folder (Right click on Docs->Add->Add Existing Folder) then chooses 'Assets' and 'reference' and then I have build it and I am getting build error
Expected Result: GooglePlayServices should build successfully.
Build error: https://gist.github.com/saurabh360/78b6f56b5b900bbdc73d
Build Output: https://gist.github.com/saurabh360/b4eedb3fcaf304cce2cb
X.S 5.0 (Build 749)
Git revision: 4edec38a55200f50e1bb8657b120adb2e64f64c8
Mono 3.4.0 ((no/585aa54)
REGRESSION: This Issues was verified in Bug 12844
I'm unable to build google play services using the instructions in the readme:
> $(ANDROID_SDK)/tools/android update project -p .
> ant debug
update project fails with: Error: The project either has no target set or the target is invalid.
ant fails because build.xml does not exist
Atsushi, is this still expected to build correctly?
Better yet, can we just update this sample to use the GooglePlayService (froyo) component? I will update the sample to use the component if that is ok with you Atsushi.
I am fine with it. It's good to have this closer to whatever the component team has. Thanks Peter.
This has been done in https://github.com/xamarin/monodroid-samples/commit/1be38c07916d1fc30adfcd5247e141ea9daa5da2
I have checked this issue with latest Android sample "GooglePlayServices". I have observed that when I am opening this sample in XS, Only GooglePlayServicesTest appears in Solution. I have added GooglePlayServicesFroyo in component then I have build project. It is giving me 6 build errors: https://gist.github.com/saurabh360/a4c82fadc0039eec4fca
Please look into it and let me know have I missed anything here?
The missing types are from Xamarin.Android.Support.V4.dll. How does the Reference for that assembly look like in your GooglePlayServicesTest project? I believe it is added as part of GooglePlayServicesFroyoLib.dll.
I built it without problem on XA 4.12.4 but might fail with later dev. versions.
I have tried this with both staging and production environment and I am getting same 6 build errors.
Build Output: https://gist.github.com/saurabh360/9dc62b9f9a883c4ce194
=== Xamarin Studio ===
Version 5.1 (build 462)
Installation UUID: 2591d519-875d-4afe-a3d9-5fcf391bbd2d
Mono 3.6.0 ((no/f6ef3e7)
GTK+ 2.24.23 (Raleigh theme)
Package version: 306000000
=== Apple Developer Tools ===
Xcode 4.6.3 (2068)
=== Xamarin.iOS ===
Version: 188.8.131.52 (Starter Edition)
Build date: 2014-06-12 05:06:44-0400
=== Xamarin.Android ===
Version: 4.14.0 (Starter Edition)
Android SDK: /Users/nischal/Desktop/android-sdk-macosx
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
3.2 (API level 13)
4.0 (API level 14)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
4.4 (API level 19)
Java SDK: /usr
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11M3811)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode)
=== Xamarin.Mac ===
=== Build Information ===
Release ID: 501000462
Git revision: b10ce21781bf0fcf528343fc5360198532b5e98c
Build date: 2014-06-12 15:34:39-04
Xamarin addins: 328061aea1cc3bbc194d2dde593ddaee613e7b41
=== Operating System ===
Mac OS X 10.7.4
Darwin nischals-Mac-mini.local 11.4.0 Darwin Kernel Version 11.4.0
Mon Apr 9 19:32:15 PDT 2012
Created attachment 7079 [details]
I also attached my project
As I earlier mentioned on comment #6, those missing types are from support.v4.dll. GooglePlayServicesFroyo seems to explicitly reference Mono.Android.Support.v4.dll, so it must be also referenced in your project. Or the component store and IDE support must have "dependency resolution" functionality.
(resetting assignee to default.)
Starting from the attachment 7079 [details] when I add in Google Play Services (Froyo) version 12.0.3, I can build and successfully launch the project. When I use version GPS (Froyo) version 7, I get the same 6 build errors.
What version of the GPS are you using?
Xamarin Studio: Version 5.0.1 (build 3)
Xamarin.Android: Version: 4.12.5 (Trial Edition)
I have also observed that with component GooglePlayServices(Froyo) version 12.0.3 application working fine However, with version 7 I am getting 6 build errors.
XS 5.1 (build 479)
Git revision: e5a428cec75d4cc7e6e3ccd8192a3660d013e7dc
Use the production version of the component only. 12.0.3 is the stable version, 7 is very old.
I know the situation with the staging component store is not ideal, but we'll have to work around it for now.
RESOLVING as FIXED because the issue is fixed in the latest version of the component.