GooglePlayServices.ResolverVer1_1.DoResolutionNoAndroidPackageChecks C# (CSharp) Method

DoResolutionNoAndroidPackageChecks() private method

Perform resolution with no Android package dependency checks.
private DoResolutionNoAndroidPackageChecks ( PlayServicesSupport svcSupport, string destinationDirectory, PlayServicesSupport handleOverwriteConfirmation ) : void
svcSupport Google.JarResolver.PlayServicesSupport
destinationDirectory string
handleOverwriteConfirmation Google.JarResolver.PlayServicesSupport
return void
        private void DoResolutionNoAndroidPackageChecks(
            PlayServicesSupport svcSupport, string destinationDirectory,
            PlayServicesSupport.OverwriteConfirmation handleOverwriteConfirmation)
        {
            try
            {
                // Get the collection of dependencies that need to be copied.
                Dictionary<string, Dependency> deps =
                    svcSupport.ResolveDependencies(true);
                // Copy the list
                svcSupport.CopyDependencies(deps,
                                            destinationDirectory,
                                            handleOverwriteConfirmation);

            }
            catch (Google.JarResolver.ResolutionException e)
            {
                Debug.LogError(e.ToString());
                return;
            }

            // we want to look at all the .aars to decide to explode or not.
            // Some aars have variables in their AndroidManifest.xml file,
            // e.g. ${applicationId}.  Unity does not understand how to process
            // these, so we handle it here.
            ProcessAars(destinationDirectory);

            SaveAarExplodeCache();
        }