- Home /
Question by
EternalLife · Sep 11, 2015 at 04:52 PM ·
unity 5shaderbuild-errorandroid-manifest
I get this error when try to build only at Unity 5.0 or higher.
Hello, Can you help me? I get this error when try to build only at Unity 5.0 or higher.
CommandInvokationFailure: Failed to re-package resources. AndroidManifest.xml -S "res" -I "/Users/koretsky/android-sdks/platforms/android-22/android.jar" -F bin/resources.ap_
Error: String types not allowed (at 'theme' with value 'style/GCOverlay').
Error: String types not allowed (at 'theme' with value 'style/GCAlert').
Lines of AndroidManifest.xml ->
<activity android:name="com.amazon.ags.html5.overlay.GameCircleUserInterface"
android:theme="@style/GCOverlay" android:hardwareAccelerated="false">
</activity>
<activity android:name="com.amazon.ags.html5.overlay.GameCircleAlertUserInterface"
android:theme="@style/GCAlert" android:hardwareAccelerated="false">
</activity>
my file styles:
<resources>
<style name="GCOverlay">
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowAnimationStyle">@null</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
</style>
<style name="GCAlert">
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowAnimationStyle">@null</item>
</style>
</resources>
Comment
Your answer
Follow this Question
Related Questions
Unity 5 bug standard cutout shader and light mapping 2 Answers
U5 shader coming out solid black on newer iOS devices (iPad 2 Air / iPhone 6) 1 Answer
Failed to re-package resources 3 Answers
I have an error 0 Answers
UNITY build Error windows !!! 2 Answers