PDA

View Full Version : سوال: ارور در unity 5



asadsheidaharzand
شنبه 16 مرداد 1395, 22:17 عصر
سلام من شروع کردم با یونیتی کار کنم و تازه کارم
من یه بازی ساده رو میخوام خروجی اندروید بگیرم اما در هنگام خروجی با این ارور مواجه میشم:

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)\Android\android-sdk\build-tools\android-6.0\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Program Files (x86)/Android/android-sdk\platforms\android-10\android.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 'banner' 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-v4


Files:
drawable\app_banner.png
Src: (xhdpi-v4) res\drawable-xhdpi\app_banner.png
drawable\app_icon.png
Src: () res\drawable\app_icon.png
values\strings.xml
Src: () res\values\strings.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: () res\drawable\app_icon.png
Type values
values\strings.xml
Src: () res\values\strings.xml
Including resources from package: C:\Program Files (x86)\Android\android-sdk\platforms\android-10\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\app_icon.png
(processed image res\drawable\app_icon.png: 94% 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 drawable\app_icon.png #generated)
]




چکار باید بکنم؟
sdk نصبه و همه چیزش درسته
build-tools : android-6.0
Platforms: android-10
platform tools

sdk هم آخرین نسخه‍س