xamarin / GooglePlayServicesComponents

Other
315 stars 148 forks source link

Cake build script error #297

Closed gianlucaparadise closed 4 years ago

gianlucaparadise commented 4 years ago

Operating System & Version (eg: Mac OSX 10.11):

MacOS Mojave 10.14.6

Describe your Issue:

Right after clone, Cake build doesn't execute the binderate task correctly.

Steps to Reproduce (with link to sample solution if possible):

  1. Clone repository
  2. Download bootstrapper using curl -Lsfo build.sh https://cakebuild.net/download/bootstrapper/osx
  3. Run sh ./build.sh --target=binderate && sh ./build.sh --target=libs && sh ./build.sh --target=nuget

Include any relevant Exception Stack traces, build logs, adb logs:

Feeds used:
  /Users/g.paradiso/.nuget/packages/
  https://api.nuget.org/v3/index.json

All packages listed in /Users/g.paradiso/dev/GooglePlayServicesComponents/tools/packages.config are already installed.
XAMARIN_ANDROID_PATH: /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/xamarin.android/xbuild-frameworks/MonoAndroid
ANDROID_SDK_VERSION:  v9.0
BUILD_COMMIT:         DEV
BUILD_NUMBER:         DEBUG
BUILD_TIMESTAMP:      1/17/2020 5:03:39 PM

========================================
javadocs
========================================

========================================
binderate-config-verify
========================================
config.json verification...
groupId       = com.google.android.gms
artifactId    = play-services-ads
version       = 17.2.0
nuget_version = 71.1720.1
nugetId       = Xamarin.GooglePlayServices.Ads
groupId       = com.google.android.gms
artifactId    = play-services-ads-base
version       = 17.2.0
nuget_version = 71.1720.0
nugetId       = Xamarin.GooglePlayServices.Ads.Base
groupId       = com.google.android.gms
artifactId    = play-services-ads-identifier
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Ads.Identifier
groupId       = com.google.android.gms
artifactId    = play-services-ads-lite
version       = 17.2.0
nuget_version = 71.1720.1
nugetId       = Xamarin.GooglePlayServices.Ads.Lite
groupId       = com.google.android.gms
artifactId    = play-services-analytics
version       = 16.0.8
nuget_version = 71.1608.0
nugetId       = Xamarin.GooglePlayServices.Analytics
groupId       = com.google.android.gms
artifactId    = play-services-analytics-impl
version       = 16.0.8
nuget_version = 71.1608.0
nugetId       = Xamarin.GooglePlayServices.Analytics.Impl
groupId       = com.google.android.gms
artifactId    = play-services-appinvite
version       = 16.0.7
nuget_version = 71.1607.0
nugetId       = Xamarin.GooglePlayServices.AppInvite
groupId       = com.google.android.gms
artifactId    = play-services-audience
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Audience
groupId       = com.google.android.gms
artifactId    = play-services-auth
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Auth
groupId       = com.google.android.gms
artifactId    = play-services-auth-api-phone
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Auth.Api.Phone
groupId       = com.google.android.gms
artifactId    = play-services-auth-base
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Auth.Base
groupId       = com.google.android.gms
artifactId    = play-services-awareness
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Awareness
groupId       = com.google.android.gms
artifactId    = play-services-base
version       = 16.1.0
nuget_version = 71.1610.0
nugetId       = Xamarin.GooglePlayServices.Base
groupId       = com.google.android.gms
artifactId    = play-services-basement
version       = 16.2.0
nuget_version = 71.1620.0
nugetId       = Xamarin.GooglePlayServices.Basement
groupId       = com.google.android.gms
artifactId    = play-services-cast
version       = 16.0.2
nuget_version = 71.1602.0
nugetId       = Xamarin.GooglePlayServices.Cast
groupId       = com.google.android.gms
artifactId    = play-services-cast-framework
version       = 16.0.2
nuget_version = 71.1602.0
nugetId       = Xamarin.GooglePlayServices.Cast.Framework
groupId       = com.google.android.gms
artifactId    = play-services-clearcut
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Clearcut
groupId       = com.google.android.gms
artifactId    = play-services-drive
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Drive
groupId       = com.google.android.gms
artifactId    = play-services-fido
version       = 17.0.0
nuget_version = 71.1700.0
nugetId       = Xamarin.GooglePlayServices.Fido
groupId       = com.google.android.gms
artifactId    = play-services-fitness
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.GooglePlayServices.Fitness
groupId       = com.google.android.gms
artifactId    = play-services-flags
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.GooglePlayServices.Flags
groupId       = com.google.android.gms
artifactId    = play-services-games
version       = 17.0.0
nuget_version = 71.1700.1
nugetId       = Xamarin.GooglePlayServices.Games
groupId       = com.google.android.gms
artifactId    = play-services-gass
version       = 17.2.0
nuget_version = 71.1720.0
nugetId       = Xamarin.GooglePlayServices.Gass
groupId       = com.google.android.gms
artifactId    = play-services-gcm
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Gcm
groupId       = com.google.android.gms
artifactId    = play-services-identity
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Identity
groupId       = com.google.android.gms
artifactId    = play-services-iid
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Iid
groupId       = com.google.android.gms
artifactId    = play-services-instantapps
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.InstantApps
groupId       = com.google.android.gms
artifactId    = play-services-location
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Location
groupId       = com.google.android.gms
artifactId    = play-services-maps
version       = 16.1.0
nuget_version = 71.1610.0
nugetId       = Xamarin.GooglePlayServices.Maps
groupId       = com.google.android.gms
artifactId    = play-services-measurement-base
version       = 16.3.0
nuget_version = 71.1630.0
nugetId       = Xamarin.GooglePlayServices.Measurement.Base
groupId       = com.google.android.gms
artifactId    = play-services-measurement-api
version       = 16.3.0
nuget_version = 71.1630.0
nugetId       = Xamarin.GooglePlayServices.Measurement.Api
groupId       = com.google.android.gms
artifactId    = play-services-measurement-sdk-api
version       = 16.3.0
nuget_version = 71.1630.0
nugetId       = Xamarin.GooglePlayServices.Measurement.Sdk.Api
groupId       = com.google.android.gms
artifactId    = play-services-nearby
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Nearby
groupId       = com.google.android.gms
artifactId    = play-services-oss-licenses
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Oss.Licenses
groupId       = com.google.android.gms
artifactId    = play-services-panorama
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Panorama
groupId       = com.google.android.gms
artifactId    = play-services-phenotype
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Phenotype
groupId       = com.google.android.gms
artifactId    = play-services-places
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Places
groupId       = com.google.android.gms
artifactId    = play-services-places-placereport
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Places.PlaceReport
groupId       = com.google.android.gms
artifactId    = play-services-plus
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Plus
groupId       = com.google.android.gms
artifactId    = play-services-safetynet
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.SafetyNet
groupId       = com.google.android.gms
artifactId    = play-services-stats
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.GooglePlayServices.Stats
groupId       = com.google.android.gms
artifactId    = play-services-tagmanager
version       = 16.0.4
nuget_version = 71.1604.0
nugetId       = Xamarin.GooglePlayServices.TagManager
groupId       = com.google.android.gms
artifactId    = play-services-tagmanager-api
version       = 16.0.4
nuget_version = 71.1604.0
nugetId       = Xamarin.GooglePlayServices.TagManager.Api
groupId       = com.google.android.gms
artifactId    = play-services-tagmanager-v4-impl
version       = 16.0.8
nuget_version = 71.1608.0
nugetId       = Xamarin.GooglePlayServices.TagManager.V4.Impl
groupId       = com.google.android.gms
artifactId    = play-services-tasks
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.GooglePlayServices.Tasks
groupId       = com.google.android.gms
artifactId    = play-services-vision
version       = 17.0.2
nuget_version = 71.1702.1
nugetId       = Xamarin.GooglePlayServices.Vision
groupId       = com.google.android.gms
artifactId    = play-services-vision-common
version       = 17.0.2
nuget_version = 71.1702.0
nugetId       = Xamarin.GooglePlayServices.Vision.Common
groupId       = com.google.android.gms
artifactId    = play-services-vision-image-label
version       = 17.0.2
nuget_version = 71.1702.0
nugetId       = Xamarin.GooglePlayServices.Vision.ImageLabel
groupId       = com.google.android.gms
artifactId    = play-services-wallet
version       = 16.0.0
nuget_version = 71.1600.0
nugetId       = Xamarin.GooglePlayServices.Wallet
groupId       = com.google.android.gms
artifactId    = play-services-wearable
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.GooglePlayServices.Wearable
groupId       = com.google.firebase
artifactId    = firebase-abt
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.Firebase.Abt
groupId       = com.google.firebase
artifactId    = firebase-ads
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.Firebase.Ads
groupId       = com.google.firebase
artifactId    = firebase-ads-lite
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.Firebase.Ads.Lite
groupId       = com.google.firebase
artifactId    = firebase-analytics
version       = 16.3.0
nuget_version = 71.1630.0
nugetId       = Xamarin.Firebase.Analytics
groupId       = com.google.firebase
artifactId    = firebase-analytics-impl
version       = 16.3.0
nuget_version = 71.1630.0
nugetId       = Xamarin.Firebase.Analytics.Impl
groupId       = com.google.firebase
artifactId    = firebase-appindexing
version       = 16.0.2
nuget_version = 71.1602.0
nugetId       = Xamarin.Firebase.AppIndexing
groupId       = com.google.firebase
artifactId    = firebase-auth
version       = 16.0.5
nuget_version = 71.1605.0
nugetId       = Xamarin.Firebase.Auth
groupId       = com.google.firebase
artifactId    = firebase-auth-impl
version       = 16.1.0
nuget_version = 71.1610.0
nugetId       = Xamarin.Firebase.Auth.Impl
groupId       = com.google.firebase
artifactId    = firebase-auth-interop
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.Firebase.Auth.Interop
groupId       = com.google.firebase
artifactId    = firebase-common
version       = 16.1.0
nuget_version = 71.1610.0
nugetId       = Xamarin.Firebase.Common
groupId       = com.google.firebase
artifactId    = firebase-config
version       = 16.1.0
nuget_version = 71.1610.0
nugetId       = Xamarin.Firebase.Config
groupId       = com.google.firebase
artifactId    = firebase-core
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.Firebase.Core
groupId       = com.google.firebase
artifactId    = firebase-crash
version       = 16.2.1
nuget_version = 71.1621.0
nugetId       = Xamarin.Firebase.Crash
groupId       = com.google.firebase
artifactId    = firebase-database
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.Firebase.Database
groupId       = com.google.firebase
artifactId    = firebase-database-collection
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.Firebase.Database.Collection
groupId       = com.google.firebase
artifactId    = firebase-database-connection
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.Firebase.Database.Connection
groupId       = com.google.firebase
artifactId    = firebase-dynamic-links
version       = 16.1.5
nuget_version = 71.1615.0
nugetId       = Xamarin.Firebase.Dynamic.Links
groupId       = com.google.firebase
artifactId    = firebase-firestore
version       = 17.0.5
nuget_version = 71.1705.2
nugetId       = Xamarin.Firebase.Firestore
groupId       = com.google.firebase
artifactId    = firebase-functions
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.Firebase.Functions
groupId       = com.google.firebase
artifactId    = firebase-iid
version       = 17.1.0
nuget_version = 71.1710.0
nugetId       = Xamarin.Firebase.Iid
groupId       = com.google.firebase
artifactId    = firebase-iid-interop
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.Firebase.Iid.Interop
groupId       = com.google.firebase
artifactId    = firebase-invites
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.Firebase.Invites
groupId       = com.google.firebase
artifactId    = firebase-measurement-connector
version       = 17.0.1
nuget_version = 71.1701.0
nugetId       = Xamarin.Firebase.Measurement.Connector
groupId       = com.google.firebase
artifactId    = firebase-measurement-connector-impl
version       = 17.0.5
nuget_version = 71.1705.0
nugetId       = Xamarin.Firebase.Measurement.Connector.Impl
groupId       = com.google.firebase
artifactId    = firebase-messaging
version       = 17.4.0
nuget_version = 71.1740.0
nugetId       = Xamarin.Firebase.Messaging
groupId       = com.google.firebase
artifactId    = firebase-ml-common
version       = 16.1.2
nuget_version = 71.1612.0
nugetId       = Xamarin.Firebase.ML.Common
groupId       = com.google.firebase
artifactId    = firebase-ml-model-interpreter
version       = 16.2.0
nuget_version = 71.1620.0
nugetId       = Xamarin.Firebase.ML.Model.Interpreter
groupId       = com.google.firebase
artifactId    = firebase-ml-vision
version       = 17.0.0
nuget_version = 71.1700.0
nugetId       = Xamarin.Firebase.ML.Vision
groupId       = com.google.firebase
artifactId    = firebase-ml-vision-image-label-model
version       = 17.0.2
nuget_version = 71.1702.0
nugetId       = Xamarin.Firebase.ML.Vision.Image.Label.Model
groupId       = com.google.firebase
artifactId    = firebase-perf
version       = 16.2.0
nuget_version = 71.1620.1
nugetId       = Xamarin.Firebase.Perf
groupId       = com.google.firebase
artifactId    = firebase-storage
version       = 16.0.2
nuget_version = 71.1602.0
nugetId       = Xamarin.Firebase.Storage
groupId       = com.google.firebase
artifactId    = firebase-storage-common
version       = 16.0.2
nuget_version = 71.1602.0
nugetId       = Xamarin.Firebase.Storage.Common
groupId       = com.google.firebase
artifactId    = protolite-well-known-types
version       = 16.0.1
nuget_version = 71.1601.0
nugetId       = Xamarin.Firebase.ProtoliteWellKnownTypes
groupId       = com.android.support
artifactId    = support-v4
version       = 28.0.0.3
nuget_version = 
nugetId       = Xamarin.Android.Support.v4
groupId       = com.android.support
artifactId    = mediarouter-v7
version       = 28.0.0.3
nuget_version = 
nugetId       = Xamarin.Android.Support.v7.MediaRouter
groupId       = com.android.support
artifactId    = recyclerview-v7
version       = 28.0.0.3
nuget_version = 
nugetId       = Xamarin.Android.Support.v7.RecyclerView
groupId       = com.android.support
artifactId    = appcompat-v7
version       = 28.0.0.3
nuget_version = 
nugetId       = Xamarin.Android.Support.v7.AppCompat
groupId       = com.android.support
artifactId    = customtabs
version       = 28.0.0.3
nuget_version = 
nugetId       = Xamarin.Android.Support.CustomTabs
groupId       = android.arch.core
artifactId    = common
version       = 1.1.1.3
nuget_version = 
nugetId       = Xamarin.Android.Arch.Core.Common
groupId       = android.arch.core
artifactId    = runtime
version       = 1.1.1.3
nuget_version = 
nugetId       = Xamarin.Android.Arch.Core.Runtime
groupId       = android.arch.lifecycle
artifactId    = common
version       = 1.1.1.3
nuget_version = 
nugetId       = Xamarin.Android.Arch.Lifecycle.Common
groupId       = android.arch.lifecycle
artifactId    = runtime
version       = 1.1.1.3
nuget_version = 
nugetId       = Xamarin.Android.Arch.Lifecycle.Runtime
groupId       = com.squareup.okhttp
artifactId    = okhttp
version       = 2.7.2
nuget_version = 
nugetId       = Square.OkHttp
groupId       = org.tensorflow
artifactId    = tensorflow-lite
version       = 0.1.7
nuget_version = 
nugetId       = Xamarin.TensorFlow.Lite
groupId       = com.google.protobuf
artifactId    = protobuf-lite
version       = 3.0.1
nuget_version = 
nugetId       = Xamarin.Protobuf.Lite
groupId       = com.squareup.retrofit
artifactId    = retrofit
version       = 1.9.0
nuget_version = 
nugetId       = Square.Retrofit
groupId       = io.grpc
artifactId    = grpc-protobuf-lite
version       = 1.14.0.2
nuget_version = 
nugetId       = Xamarin.Grpc.Protobuf.Lite
groupId       = io.grpc
artifactId    = grpc-stub
version       = 1.14.0.2
nuget_version = 
nugetId       = Xamarin.Grpc.Stub
groupId       = io.grpc
artifactId    = grpc-okhttp
version       = 1.14.0.2
nuget_version = 
nugetId       = Xamarin.Grpc.OkHttp
groupId       = com.google.auto.value
artifactId    = auto-value-annotations
version       = 1.6.5
nuget_version = 
nugetId       = Xamarin.Google.AutoValue.Annotations

========================================
binderate
========================================
An error occurred when executing task 'binderate'.
Error: One or more errors occurred. (ApplicationName='xamarin-android-binderator', CommandLine='--config="/Users/g.paradiso/dev/GooglePlayServicesComponents/config.json" --basepath="/Users/g.paradiso/dev/GooglePlayServicesComponents"', CurrentDirectory='/Users/g.paradiso/dev/GooglePlayServicesComponents', Native error= Cannot find the specified file)
        ApplicationName='xamarin-android-binderator', CommandLine='--config="/Users/g.paradiso/dev/GooglePlayServicesComponents/config.json" --basepath="/Users/g.paradiso/dev/GooglePlayServicesComponents"', CurrentDirectory='/Users/g.paradiso/dev/GooglePlayServicesComponents', Native error= Cannot find the specified file
moljac commented 4 years ago

Next time turn on verbosity (diagnostic) and you will see that dotnet tool (CLI command is missing)

Do:

dotnet tool install -g xamarin.androidbinderator.tool --version 0.4.2

Close this one.