Skip to content

New APT0000 msbuild errors are being reported from aapt output parsing #1134

Description

@pjcollins

This was previously discussed, however there still appear to be some corner cases that weren't addressed by the latest relevant change in commit 2135856e.

Steps to Reproduce

  1. Build tests/CodeGen-Binding/Xamarin.Android.JcwGen-Tests/Xamarin.Android.JcwGen-Tests.csproj with msbuild.

Expected Behavior

Build should succeed without incorrectly reporting aapt warnings as msbuild errors.

Actual Behavior

Build fails with the following:

Executing package -f -m -M /Users/xamarinqa/agent/_work/_temp/r0o3reuu.zcl/manifest/AndroidManifest.xml -J /Users/xamarinqa/agent/_work/_temp/r0o3reuu.zcl --custom-package xamarin.android.jcwgen_tests -F /Users/xamarinqa/agent/_work/_temp/r0o3reuu.zcl/resources.apk.bk -S obj/Release/res/ -S /Users/xamarinqa/agent/_work/r5/a/xamarin-android/tests/CodeGen-Binding/Xamarin.Android.JcwGen-Tests/obj/Release/lp/3/jl/res -S /Users/xamarinqa/agent/_work/r5/a/xamarin-android/tests/CodeGen-Binding/Xamarin.Android.JcwGen-Tests/obj/Release/lp/5/jl/res -S /Users/xamarinqa/agent/_work/r5/a/xamarin-android/tests/CodeGen-Binding/Xamarin.Android.JcwGen-Tests/obj/Release/resourcecache/6ECC701C56CAE8576696DE7B3605BB4A/res -j obj/Release/lp/4/jl/__reference__empty-1.jar -j obj/Release/lp/4/jl/__reference__empty-2.jar -j obj/Release/lp/4/jl/xamarin-test.jar -I /Users/xamarinqa/Library/Developer/Xamarin/android-sdk-macosx/platforms/android-10/android.jar --auto-add-overlay --max-res-version 10 (TaskId:1230)
aapt : error APT0000: max res 10, skipping values-sw720dp-land-v13 "max res 10, skipping values-sw720dp-land-v13". [/Users/xamarinqa/agent/_work/r5/a/xamarin-android/tests/CodeGen-Binding/Xamarin.Android.JcwGen-Tests/Xamarin.Android.JcwGen-Tests.csproj]
Done executing task "Aapt" -- FAILED. (TaskId:1230)

Version Information

XA 8.2.0.0.

Log File

http://xqa.blob.core.windows.net/gist/log-f69375a71be042929c3d54c25ecfd34b.txt

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions