-
Notifications
You must be signed in to change notification settings - Fork 566
Closed
Labels
Area: Android ResourcesIssues with Android Resources (aapt, etc)Issues with Android Resources (aapt, etc)Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.
Description
Android framework version
Other
Affected platform version
VS 17.13.0 Preview 4.0
Description
Trying net10 MAUI branch to launch the device tests on Android emulator, I m getting this error when trying to build the son
Steps to Reproduce
1 - checkout net10 branch maui
2 - terminal do dotnet tool restore
3 - terminal to launch VS dotnet cake --target=VS
4 - Set Controls.DeviceTests as start project and try to deploy the app.
Did you find any workaround?
No response
Relevant log output
System.IO.IOException: The process cannot access the file 'C:\Users\rumar\AppData\Local\Temp\Microsoft.Maui.Cache\NuGet\packages\xamarin.androidx.core\1.15.0.2\aar\androidx.core.core.aar' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Xamarin.Android.Tasks.FileResourceParser.Parse(String resourceDirectory, IEnumerable`1 additionalResourceDirectories, IEnumerable`1 aarLibraries, Dictionary`2 resourceMap) in /Users/runner/work/1/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Utilities/FileResourceParser.cs:line 82
at Xamarin.Android.Tasks.GenerateRtxt.RunTask() in /Users/runner/work/1/s/xamarin-android/src/Xamarin.Android.Build.Tasks/Tasks/GenerateRtxt.cs:line 35
at Microsoft.Android.Build.Tasks.AndroidTask.Execute() in /Users/runner/work/1/s/xamarin-android/external/xamarin-android-tools/src/Microsoft.Android.Build.BaseTasks/AndroidTask.cs:line 25Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: Android ResourcesIssues with Android Resources (aapt, etc)Issues with Android Resources (aapt, etc)Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.