سلام من شروع کردم با یونیتی کار کنم و تازه کارم
من یه بازی ساده رو میخوام خروجی اندروید بگیرم اما در هنگام خروجی با این ارور مواجه میشم:
Failed to re-package resources. See the Console for details.
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.C:Program Files (x86)Androidandroid-sdkbuild-toolsandroid-6.0aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Program Files (x86)/Android/android-sdkplatformsandroid-10android.jar" -F bin/resources.ap_stderr[
AndroidManifest.xml:4: error: No resource identifier found for attribute 'isGame' in package 'android'AndroidManifest.xml:4: error: No resource identifier found for attribute 'baer' in package 'android'
AndroidManifest.xml:5: error: Error: String types not allowed (at 'configChanges' with value 'mcc|mnc|locale|touchscreen|keyboard|keyboardHidde n|navigation|orientation|screenLayout|uiMode|scree nSize|smallestScreenSize|fontScale').
]
stdout[
Configurations:
(default)
xhdpi-v4Files:
drawableapp_baer.png
Src: (xhdpi-v4) resdrawable-xhdpiapp_baer.png
drawableapp_icon.png
Src: () resdrawableapp_icon.png
valuesstrings.xml
Src: () resvaluesstrings.xml
AndroidManifest.xml
Src: () AndroidManifest.xmlResource Dirs:
Type drawable
drawableapp_baer.png
Src: (xhdpi-v4) resdrawable-xhdpiapp_baer.png
drawableapp_icon.png
Src: () resdrawableapp_icon.png
Type values
valuesstrings.xml
Src: () resvaluesstrings.xml
Including resources from package: C:Program Files (x86)Androidandroid-sdkplatformsandroid-10android.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: resdrawable-xhdpiapp_baer.png
Processing image: resdrawableapp_icon.png
(processed image resdrawableapp_icon.png: 94% size of source)
(processed image resdrawable-xhdpiapp_baer.png: 93% size of source)
(new resource id app_baer from xhdpi-v4drawableapp_baer.png #generated)
(new resource id app_icon from drawableapp_icon.png #generated)
]
چکار باید بکنم؟
sdk نصبه و همه چیزش درسته
build-tools : android-6.0
Platforms: android-10
platform tools
sdk هم آخرین نسخهu200dس
برچسب:
نویسنده: محمد رضا جوادیان