다음을 통해 공유


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.

문제

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

보고한 aapt 오류는 Android의 제어를 위해 .NET 외부에 있으므로 정확한 메시지를 보고하는 APT0000 일반적인 오류 코드가 aapt사용됩니다.

솔루션

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