android - Xamarin.forms Build Error "aapt.exe" exited with code -1073741819 -
i using xamarin.forms, updated android sd manager eclipse following error:
xamarin.forms build error "aapt.exe" exited code -1073741819
error occurred on following file: \msbuild\xamarin\android\xamarin.android.common.targets
<!-- run aapt generate r.java --> <aapt condition="'$(_androidresourcedesignerfile)' != ''" importsdirectory="$(_libraryprojectimportsdirectoryname)" outputimportdirectory="$(intermediateoutputpath)__library_projects__\" useshortfilenames="$(useshortfilenames)" javaplatformjarpath="$(javaplatformjarpath)" manifestfile="$(resgentemporarydirectory)\androidmanifest.xml" packagename="$(_androidpackage)" applicationname="$(_androidpackage)" resourcedirectory="$(monoandroidresdirintermediate)" javadesigneroutputdirectory="$(resgentemporarydirectory)" resourceoutputfile="$(resgentemporarydirectory)\resources.apk" extrapackages="$(aaptextrapackages)" additionalresourcedirectories="@(libraryresourcedirectories)" libraryprojectjars="@(extractedjarimports)" extraargs="$(androidresgenextraargs)" toolpath="$(aapttoolpath)" toolexe="$(aapttoolexe)" additionalandroidresourcepaths="@(_additonalandroidresourcecachepaths)" apilevel="$(_androidtargetsdkversion)" androiduselatestplatformsdk="$(androiduselatestplatformsdk)" resourcenamecasemap="$(_androidresourcenamecasemap)" explicitcrunch="$(androidexplicitcrunch)" />
<aapt importsdirectory="$(_libraryprojectimportsdirectoryname)" outputimportdirectory="$(intermediateoutputpath)__library_projects__\" useshortfilenames="$(useshortfilenames)" javaplatformjarpath="$(javaplatformjarpath)" manifestfile="$(intermediateoutputpath)android\androidmanifest.xml" resourcedirectory="$(monoandroidresdirintermediate)" javadesigneroutputdirectory="$(aapttemporarydirectory)" resourceoutputfile="$(_packagedresources)" extrapackages="$(aaptextrapackages)" additionalresourcedirectories="@(libraryresourcedirectories)" extraargs="$(androidresgenextraargs)" packagename="$(_androidpackage)" applicationname="$(_androidpackage)" uncompressedfileextensions="$(androidstoreuncompressedfileextensions)" assetdirectory="$(monoandroidassetsdirintermediate)" toolpath="$(aapttoolpath)" toolexe="$(aapttoolexe)" additionalandroidresourcepaths="@(_additonalandroidresourcecachepaths)" apilevel="$(_androidtargetsdkversion)" androiduselatestplatformsdk="$(androiduselatestplatformsdk)" resourcenamecasemap="$(_androidresourcenamecasemap)" supportedabis="$(_buildtargetabis)" createpackageperabi="$(androidcreatepackageperabi)" explicitcrunch="$(androidexplicitcrunch)" />
verify you've got right target sdk framework levels installed in sdk manager. i've seen similar errors during build when of them missing.
Comments
Post a Comment