Android용 .NET 오류/경고 APT0000

메시지 예제

error APT0000: res\drawable\image (1).png: Invalid file name: must contain only [a-z0-9_.]
error APT0000: Resource entry resource_name is already defined.
error APT0000: No resource found that matches the given name (at 'resource_name' with value '@string/foo').
error APT0000: invalid resource directory name: obj\Debug\dir with spaces "dir with spaces".
warning APT0000: warning: string 'resource_name' has no default translation.

Issue

이 메시지는 (Android 자산 패키징 도구)에서 오류 또는 경고를 보고했음을 나타냅니다 aapt . aapt 는 Android SDK의 일부이며 Android용 .NET에서 내부적으로 리소스를 처리하고 이진 자산으로 컴파일하는 데 사용됩니다.

aapt에서 보고되는 오류는 .NET for Android의 통제 범위를 벗어나므로, aapt에서 오는 정확한 메시지를 보고하기 위해 일반 오류 코드인 APT0000을 사용합니다.

해결 방법

Android 리소스에 대해 aapt 자세히 알아보려면 Android 설명서를 참조하세요.