-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual updates and fix for issue 1041 androidx.camera
#1042
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Moved to other PR Unit Test errors ========================================
all-packages-tests
========================================
Determining projects to restore...
Restored ./tests/allpackages/AllPackagesTests.csproj (in 10,18 sec).
AllPackagesTests -> ./tests/allpackages/bin/Debug/net8.0/AllPackagesTests.dll
Test run for ./tests/allpackages/bin/Debug/net8.0/AllPackagesTests.dll (.NETCoreApp,Version=v8.0)
VSTest version 17.11.1 (arm64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Failed TestAndroidDotNetAllPackages [1 m 29 s]
Error Message:
Command 'build -c Release -bl' failed with exit code 1.
Errors:
AMM0000: ./output/tests/allpackages/android/AllPackagesTest/obj/Release/net8.0-android/lp/920/jl/AndroidManifest.xml Warning: [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
AMM0000: Namespace 'org.chromium.net' used in: AndroidManifest.xml, AndroidManifest.xml, AndroidManifest.xml, AndroidManifest.xml. [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
AMM0000: ./output/tests/allpackages/android/AllPackagesTest/obj/Release/net8.0-android/lp/877/jl/AndroidManifest.xml Warning: [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
AMM0000: Namespace 'org.tensorflow.lite.support' used in: AndroidManifest.xml, AndroidManifest.xml. [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
AMM0000: [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
AMM0000: Attribute meta-data#androidx.car.app.CarAppMetadataHolderService.CAR_HARDWARE_MANAGER@value value=(androidx.car.app.hardware.AutomotiveCarHardwareManager) from AndroidManifest.xml:43:17-87 [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
AMM0000: is also present at AndroidManifest.xml:33:17-86 value=(androidx.car.app.hardware.ProjectedCarHardwareManager). [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
AMM0000: Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml to override. [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
AMM0000: Directory 'obj/Release/net8.0-android/lp/920' is from 'cronet-embedded.aar'. [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
AMM0000: Directory 'obj/Release/net8.0-android/lp/877' is from 'tensorflow-lite-support-api.aar'. [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
Warnings:
APT2000: warn: removing resource com.companyname.AllPackagesTest:string/action_bar_expand_collapse_button without required default value. [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
: [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
: [./output/tests/allpackages/android/AllPackagesTest/AllPackagesTest.csproj]
Stack Trace:
at AllPackagesTests.TestAllIndividualPackages.RunAndAssertSuccess(String arguments, String workingDir, Boolean isMSBuild) in ./tests/allpackages/TestAllIndividualPackages.cs:line 296
at AllPackagesTests.TestAllIndividualPackages.TestAllPackages(String template, Boolean isGps) in ./tests/allpackages/TestAllIndividualPackages.cs:line 176
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)
Failed TestMauiAllPackages [1 m 33 s]
Error Message:
Command 'build -c Release -bl' failed with exit code 1.
Errors:
AMM0000: ./output/tests/allpackages/maui/AllPackagesTest/obj/Release/net8.0-android/lp/931/jl/AndroidManifest.xml Warning: [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
AMM0000: Namespace 'org.chromium.net' used in: AndroidManifest.xml, AndroidManifest.xml, AndroidManifest.xml, AndroidManifest.xml. [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
AMM0000: ./output/tests/allpackages/maui/AllPackagesTest/obj/Release/net8.0-android/lp/889/jl/AndroidManifest.xml Warning: [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
AMM0000: Namespace 'org.tensorflow.lite.support' used in: AndroidManifest.xml, AndroidManifest.xml. [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
AMM0000: [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
AMM0000: Attribute meta-data#androidx.car.app.CarAppMetadataHolderService.CAR_HARDWARE_MANAGER@value value=(androidx.car.app.hardware.ProjectedCarHardwareManager) from AndroidManifest.xml:33:17-86 [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
AMM0000: is also present at AndroidManifest.xml:43:17-87 value=(androidx.car.app.hardware.AutomotiveCarHardwareManager). [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
AMM0000: Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml to override. [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
AMM0000: Directory 'obj/Release/net8.0-android/lp/931' is from 'cronet-embedded.aar'. [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
AMM0000: Directory 'obj/Release/net8.0-android/lp/889' is from 'tensorflow-lite-support.aar'. [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
Warnings:
APT2000: warn: removing resource com.companyname.allpackagestest:string/action_bar_expand_collapse_button without required default value. [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
: [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
: [./output/tests/allpackages/maui/AllPackagesTest/AllPackagesTest.csproj::TargetFramework=net8.0-android]
Stack Trace:
at AllPackagesTests.TestAllIndividualPackages.RunAndAssertSuccess(String arguments, String workingDir, Boolean isMSBuild) in ./tests/allpackages/TestAllIndividualPackages.cs:line 296
at AllPackagesTests.TestAllIndividualPackages.TestAllPackages(String template, Boolean isGps) in ./tests/allpackages/TestAllIndividualPackages.cs:line 176
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)
Failed! - Failed: 2, Passed: 2, Skipped: 0, Total: 4, Duration: 5 m 19 s - AllPackagesTests.dll (net8.0)
An error occurred when executing task 'all-packages-tests'.
Error: .NET CLI: Process returned an error (exit code 1).
do |
moljac
changed the title
Manual updates and fix for issue 1041 `androidx.camera
Manual updates and fix for issue 1041 Nov 12, 2024
androidx.camera
…github.com/dotnet/android-libraries into mu-20241112-issue-1041-camera-mlkit-vision
jpobst
reviewed
Nov 13, 2024
published-namespaces.txt
Outdated
AndroidX.Camera.Extensions | ||
AndroidX.Camera.Extensions.Internal | ||
AndroidX.Camera.Extensions.Internal.Compat.Quirk | ||
AndroidX.Camera.Extensions.Internal.Compat.Workaround | ||
AndroidX.Camera.Lifecycle | ||
AndroidX.Camera.Mlkit.Vision |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MLKit
published-namespaces.txt
Outdated
@@ -288,11 +288,15 @@ AndroidX.Camera.Core.Processing.Concurrent | |||
AndroidX.Camera.Core.Processing.Util | |||
AndroidX.Camera.Core.ResolutionSelector | |||
AndroidX.Camera.Core.StreamSharing | |||
AndroidX.Camera.Effects | |||
AndroidX.Camera.Effects.Internal | |||
AndroidX.Camera.Effects.Opengl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OpenGL
…github.com/dotnet/android-libraries into mu-20241112-issue-1041-camera-mlkit-vision
jpobst
approved these changes
Nov 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix for #1041