Search Unity

Problems on Android with new version Unity 2017.1.1f1

Discussion in 'Android' started by sergienko88, Sep 20, 2017.

  1. sergienko88

    sergienko88

    Joined:
    Jul 22, 2013
    Posts:
    22
    Hello,I used 2017.0.1 so long time. Now I updated my Unity and there are many problems:

    Android:
    Add manifest file in Plugin/Android folder.Also add res/value folder with style.xml and color.xml
    in color.xml

    <?xml version="1.0" encoding="utf-8"?>
    <resources>
    <color name="bg">#FF5A7D7F</color>
    </resources>
    ------------------
    in style.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <resources>
    <style name="CustomTheme" parent="@android:style/Theme.Material.NoActionBar.Fullscreen">
    <item name="android:windowBackground">@color/bg</item>
    <item name="android:textColor">#000000</item>
    <item name="android:textColorPrimary">#000000</item>
    <item name="android:textColorSecondary">#000000</item>

    </style>
    </resources>

    ----------------------

    In manifest:
    ....
    <activity android:name="com.unity3d.player.UnityPlayerActivity" android:theme="@StyLe/CustomTheme"
    android:label="@String/app_name">
    ...

    on 2017.0.1 works!
    on 2017.1.1 started and look like maximize animation and on short moment blink black color.

    Where I may fix this problem?

    Second Problem: Font changed in keyboad's textfield.
    I try
    https://stackoverflow.com/questions...ustom-font-for-a-whole-application-in-android
    but Unity write:

    stderr[
    invalid resource directory name: F:\TESTPROJ\New Unity Project\Temp\StagingArea\android-libraries\unity-android-resources\res font
    ]
    stdout[

    ]

    HALP PLEASE