Question by
Mavi-Panda-TV · Jun 07, 2018 at 12:25 PM ·
androidunity 5buildandroid buildsdk
I am having trouble building the project for android
![CommandInvokationFailure: Failed to re-package resources.
C:\Game Development\Android Sdk\build-tools\27.0.3\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Game Development/Android Sdk\platforms\android-27\android.jar" -F bin/resources.ap_
stderr[
AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'theme' with value '@style/UnityThemeSelector').
AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/app_icon').
AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'label' with value '@string/app_name').
AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'banner' with value '@drawable/app_banner').
AndroidManifest.xml:5: error: Error: No resource found that matches the given name (at 'label' with value '@string/app_name').
]
stdout[
Configurations:
(default)
Files:
AndroidManifest.xml
Src: () AndroidManifest.xml
Resource Dirs:
Including resources from package: C:\Game Development\Android Sdk\platforms\android-27\android.jar
applyFileOverlay for drawable
applyFileOverlay for layout
applyFileOverlay for anim
applyFileOverlay for animator
applyFileOverlay for interpolator
applyFileOverlay for transition
applyFileOverlay for xml
applyFileOverlay for raw
applyFileOverlay for color
applyFileOverlay for menu
applyFileOverlay for font
applyFileOverlay for mipmap
]
exit code: 1
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.PostProcessor.Tasks.TasksCommon.Exec (System.String command, System.String args, System.String workingdir, System.String errorMsg, Int32 retriesOnFailure)
UnityEditor.HostView:OnGUI()][1]
[1]: /storage/temp/118449-2.png
Comment
Your answer
Follow this Question
Related Questions
Unity says that I'm missing my NDK and SDK libraries, but I have them installed via Unity hub? 1 Answer
Can't build apk getting error 0 Answers
"Gradle prewarm failed"--who faced this problem? 2 Answers
After compiling and installing apk game becomes transparent and you can see the mobile home screen 1 Answer