我剛剛在Windows 8上安裝了Xamarin工作室,我創建了一個C#android項目,並嘗試編譯它沒有運氣。卡住Xamarin AAPT錯誤
我得到的錯誤是在AAPT工具,但即使從MSBuild的詳細輸出我得到的是在輸出窗口如下:
Task "Aapt"
Aapt Task
AssetDirectory:
ManifestFile: C:\Users\Giuseppe\AppData\Local\Temp\i4va1gur.y4b\AndroidManifest.xml
ResourceDirectory: obj\Debug\res\
JavaDesignerOutputDirectory: C:\Users\Giuseppe\AppData\Local\Temp\i4va1gur.y4b
PackageName: AndroidLocationLogger.AndroidLocationLogger
UncompressedFileExtensions:
ExtraPackages:
AdditionalResourceDirectories:
LibraryProjectJarsWildcard: obj\Debug\__library_projects__\*.jar
ExtraArgs:
C:\Users\Giuseppe\AppData\Local\Android\android-sdk\platform-tools\aapt.exe package -f -m -M C:\Users\Giuseppe\AppData\Local\Temp\i4va1gur.y4b\AndroidManifest.xml -J C:\Users\Giuseppe\AppData\Local\Temp\i4va1gur.y4b --custom-package androidlocationlogger.androidlocationlogger -F C:\Users\Giuseppe\AppData\Local\Temp\i4va1gur.y4b\resources.apk.bk -S obj\Debug\res -I C:\Users\Giuseppe\AppData\Local\Android\android-sdk\platforms\android-8\android.jar --auto-add-overlay
C:\Program Files\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(707,2): error MSB6006: "aapt.exe" exited with code -1073741816.
Done executing task "Aapt" -- FAILED.
Done building target "_UpdateAndroidResgen" in project "AndroidLocationLogger.csproj" -- FAILED.
我真的不知道如何調試這一點,給有多少數據給我...
嗨,我從頭開始創建一個項目,直接編譯。沒有新文件或任何東西。資源目錄是不變的! –