Bug 43775 - Building android app never ends
Summary: Building android app never ends
Status: VERIFIED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: 7.1 (C9)
Assignee: dean.ellis
URL:
Depends on:
Blocks:
 
Reported: 2016-08-26 06:50 UTC by softlion
Modified: 2016-09-29 18:38 UTC (History)
6 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
VERIFIED FIXED

Description softlion 2016-08-26 06:50:19 UTC
Visual Studio 2015 / Xamarin 6.1.2.21

Building again an android app never ends.
Detailed build log errors after i cancelled the build:

...
1>  Extracted 9 of 9 files (TaskId:77)
1>    Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r24.zip into C:\Users\benjamin\AppData\Local\Xamarin\zips (TaskId:77)
1>  	(1921/70735645b), total 0,0% (TaskId:77)
1>  	(7086080/70735645b), total 10,0% (TaskId:77)
1>  	(14147584/70735645b), total 20,0% (TaskId:77)
1>  	(21225472/70735645b), total 30,0% (TaskId:77)
1>  	(28303360/70735645b), total 40,0% (TaskId:77)
1>  	(35381248/70735645b), total 50,0% (TaskId:77)
1>  	(42442752/70735645b), total 60,0% (TaskId:77)
1>  	(49520640/70735645b), total 70,0% (TaskId:77)
1>  	(56598528/70735645b), total 80,0% (TaskId:77)
1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(387,2): error : Le processus ne peut pas accéder au fichier 'C:\Users\benjamin\AppData\Local\Xamarin\zips\CAA441D76F04E0D57C4110F8A00CDA7A.zip', car il est en cours d'utilisation par un autre processus.
...


1>Target Performance Summary:
1>        0 ms  _AddMultiDexDependencyJars                 1 calls
1>        0 ms  _GenerateAndroidAssetsDir                  1 calls
1>        0 ms  AfterResolveReferences                     1 calls
1>        0 ms  _CheckForContent                           1 calls
1>        0 ms  GetFrameworkPaths                          1 calls
1>        0 ms  _SetupDesignTimeBuildForBuild              1 calls
1>        0 ms  ResolveProjectReferences                   1 calls
1>        0 ms  _ReadPropertiesCache                       1 calls
1>        0 ms  _SeparateAppExtensionReferences            1 calls
1>        0 ms  _ValidateResourceCache                     1 calls
1>        0 ms  _CreatePropertiesCache                     1 calls
1>        0 ms  _ResolveMonoAndroidFramework               1 calls
1>        0 ms  GetReferenceAssemblyPaths                  1 calls
1>        0 ms  GetInstalledSDKLocations                   1 calls
1>        0 ms  _SetupDesignTimeBuildForIntellisense       1 calls
1>        0 ms  _SplitProjectReferencesByFileExistence     1 calls
1>        0 ms  ResolveSDKReferences                       1 calls
1>        0 ms  _GetReferenceAssemblyPaths                 1 calls
1>        0 ms  _ComputeAndroidResourcePaths               1 calls
1>        0 ms  ExpandSDKReferences                        1 calls
1>        0 ms  PrepareForBuild                            1 calls
1>        0 ms  _CheckForDeletedResourceFile               1 calls
1>        0 ms  BeforeResolveReferences                    1 calls
1>        0 ms  ModifyUnitTestPlatformVersion              1 calls
1>        0 ms  EnsureNuGetPackageBuildImports             1 calls
1>        0 ms  _CheckTargetFramework                      1 calls
1>        0 ms  BeforeBuild                                1 calls
1>        0 ms  _ComputeAndroidAssetsPaths                 1 calls
1>        0 ms  ProcessGoogleServicesJsonChecks            1 calls
1>        0 ms  _ExtractLibraryProjectImports              1 calls
1>        0 ms  BuildOnlySettings                          1 calls
1>        0 ms  UpdateAndroidAssets                        1 calls
1>        1 ms  _GetLibraryImports                         1 calls
1>        2 ms  _CheckDuplicateJavaLibraries               1 calls
1>        2 ms  _CheckProjectItems                         1 calls
1>        4 ms  _ValidateAndroidPackageProperties          1 calls
1>       16 ms  _CheckForInvalidConfigurationAndPlatform   1 calls
1>       16 ms  AssignProjectConfiguration                 1 calls
1>       18 ms  _ResolveMonoAndroidSdks                    1 calls
1>       20 ms  _SetLatestTargetFrameworkVersion           1 calls
1>       65 ms  _BuildLibraryImportsCache                  1 calls
1>      116 ms  _BuildSdkCache                             1 calls
1>     1566 ms  ResolveAssemblyReferences                  1 calls
1>     2032 ms  _ResolveLibraryProjectImports              1 calls
1>    366878 ms  _BuildAdditionalResourcesCache             1 calls


1>Task Performance Summary:
1>        0 ms  FindAppConfigFile                          1 calls
1>        0 ms  GetReferenceAssemblyPaths                  2 calls
1>        0 ms  GetAppSettingsDirectory                    1 calls
1>        0 ms  WriteLinesToFile                           1 calls
1>        0 ms  MakeDir                                    2 calls
1>        0 ms  AndroidComputeResPaths                     2 calls
1>        0 ms  ReadLibraryProjectImportsCache             1 calls
1>        0 ms  Message                                   13 calls
1>        1 ms  CreateItem                                 1 calls
1>        1 ms  GetJavaPlatformJar                         1 calls
1>        1 ms  ReadImportedLibrariesCache                 1 calls
1>        2 ms  GetAndroidDefineConstants                  1 calls
1>        2 ms  CheckDuplicateJavaLibraries                1 calls
1>        2 ms  CheckProjectItems                          1 calls
1>        3 ms  GetAndroidPackageName                      1 calls
1>       16 ms  AssignProjectConfiguration                 1 calls
1>       17 ms  CreateProperty                            39 calls
1>       19 ms  ReadResolvedSdksCache                      1 calls
1>       65 ms  GetImportedLibraries                       1 calls
1>      100 ms  ResolveSdks                                1 calls
1>     1550 ms  ResolveAssemblyReference                   1 calls
1>     2032 ms  ResolveLibraryProjectImports               1 calls
1>    366878 ms  GetAdditionalResourcesFromAssemblies       1 calls


There is enough disk space.
The app references HockeySDK, Google Play Cast, Google Play analytics
Comment 1 softlion 2016-09-29 15:07:51 UTC
seems fixed in 4.2.0.695
Comment 2 Naqeeb 2016-09-29 18:38:18 UTC
As per comment 1, closing this issue.