Skip to content

Building .NET 7 android binding gives error APT2144: invalid file path '(...)/obj/Debug/net7.0-android/lp/149.stamp' #7660

Closed
@F-Goncalves

Description

@F-Goncalves

Android application type

Android for .NET (net6.0-android, etc.)

Affected platform version

VS 2022 17.4.2, .NET 7.0.101, Xamarin Android 13.1.0.1

Description

Hi,

I am trying to migrate a Xamarin Android binding to .NET 7 and am seeing following errors during build time:

/usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/33.0.4/tools/Xamarin.Android.Aapt2.targets(123,3): error APT2144: invalid file path '(...)/obj/Debug/net7.0-android/lp/149.stamp
/usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/33.0.4/tools/Xamarin.Android.Aapt2.targets(123,3): error APT2144: invalid file path '(...)/obj/Debug/net7.0-android/lp/158.stamp'

But the files that cannot be found do exist.

Any help on this issue would be appreciated.

Steps to Reproduce

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

Area: Android ResourcesIssues with Android Resources (aapt, etc)need-attentionA xamarin-android contributor needs to review

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions