先日UNITYで作りました3Dアプリケーションがandroid用にビルドできなくて困っています。
いろいろネットで見たのを試したのですが、結局できませんでした。
もちろんwindows向けのexeではビルドできました。
言語はJavascriptで書いてます。
エラーメッセージは以下です。
CommandInvokationFailure: Failed to re-package resources. See the Console for details. {/*省略*/}\Android\android-sdk\build-tools\23.0.3\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "{/*省略*/}/Android/android-sdk\platforms\android-23\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: {/*省略*/}\Android\android-sdk\platforms\android-23\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 mipmap ] UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.PostProcessAndroidPlayer.Exec (System.String command, System.String args, System.String workingdir, System.String[] progress_strings, Single progress_value, System.String errorMsg) UnityEditor.Android.PostProcessAndroidPlayer.CompileResources (System.String stagingArea, System.String packageName, UnityEditor.Android.AndroidLibraries androidLibraries) UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) UnityEditor.HostView:OnGUI()