Quantcast
Channel: Questions in topic: "android sdk"
Viewing all articles
Browse latest Browse all 455

CommandInvokationFailure: String types not allowed at 'configChanges'

$
0
0
Hi everyone! This error pops up whenever I want to build my scene for testing on my Android device. I've searched for hours and tried numerous solutions but was unable to find the right one. If there's any kind soul who'd be able to find the solution I'd be forever grateful!
CommandInvokationFailure: Failed to re-package resources. F:\Program Files\sdk-tools-windows-4333796\build-tools\25.0.2\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "F:\Program Files\sdk-tools-windows-4333796\platforms\android-23\android.jar" -F bin/resources.ap_ stderr[ AndroidManifest.xml:5: error: Error: String types not allowed (at 'configChanges' with value 'mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density'). ] stdout[ Configurations: (default) v14 v21 mdpi-v4 xhdpi-v4 Files: drawable\app_banner.png Src: (xhdpi-v4) res\drawable-xhdpi\app_banner.png drawable\app_icon.png Src: (mdpi-v4) res\drawable-mdpi\app_icon.png values\strings.xml Src: () res\values\strings.xml values\styles.xml Src: () res\values\styles.xml Src: (v14) res\values-v14\styles.xml Src: (v21) res\values-v21\styles.xml AndroidManifest.xml Src: () AndroidManifest.xml Resource Dirs: Type drawable drawable\app_banner.png Src: (xhdpi-v4) res\drawable-xhdpi\app_banner.png drawable\app_icon.png Src: (mdpi-v4) res\drawable-mdpi\app_icon.png Type values values\strings.xml Src: () res\values\strings.xml values\styles.xml Src: () res\values\styles.xml Src: (v14) res\values-v14\styles.xml Src: (v21) res\values-v21\styles.xml Including resources from package: F:\Program Files\sdk-tools-windows-4333796\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 Processing image: res\drawable-xhdpi\app_banner.png Processing image: res\drawable-mdpi\app_icon.png (processed image res\drawable-mdpi\app_icon.png: 90% size of source) (processed image res\drawable-xhdpi\app_banner.png: 93% size of source) (new resource id app_banner from xhdpi-v4\drawable\app_banner.png #generated) (new resource id app_icon from mdpi-v4\drawable\app_icon.png #generated) ] exit code: 1 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) 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) UnityEditor.Android.PostProcessor.Tasks.BuildResources.CompileResources (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.Tasks.BuildResources.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks

Viewing all articles
Browse latest Browse all 455

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>