Announcement

Collapse
No announcement yet.

TappyChicken2 black screen on MALI-based android

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    There were a number of Android fixes made when we were shipping Tappy Chicken that unfortunately didn't make it into the 4.2 release in time (they'll be in the 4.3 release some time in July). You can try building from GitHub source (which has all the fixes) to see if that resolves your issues, or wait for 4.3 to release.
    Thanks for reply Michael! I saw somewhere on answerHub same advice, but link was broken and I skipped that path of searching solution, nah... I'm lazy guy

    Finnaly I solved this problem.
    I've created new directory "com.epicgames.TappyChicken2" on internal device memory card: \Android\obb\com.epicgames.TappyChicken2 and placed there "main.00001.com.epicgames.TappyChicken2.obb" file from PC folder. And that worked!
    (as seen in my previous post, there's quite clear error message in launching log saying "Obb directory not found")
    I've used this trick with "Cards" game. Even "Temple" launched succesfully with turned off HDR and 2-3fps.
    P.S.: I've tried to copy .obb earlier, but did it in wrong way, I just copied it to "com.epicgames.EpicCitadel" folder, ofcourse .obb was unrecognizable for app in that case.
    P.P.S.: can't find how to change topic's header to add [solved] to it
    Last edited by MrHappy; 06-25-2014, 03:03 PM.

    Leave a comment:


  • replied
    Hi MrHappy,

    There were a number of Android fixes made when we were shipping Tappy Chicken that unfortunately didn't make it into the 4.2 release in time (they'll be in the 4.3 release some time in July). You can try building from GitHub source (which has all the fixes) to see if that resolves your issues, or wait for 4.3 to release.

    Cheers,
    Michael Noland

    Leave a comment:


  • started a topic TappyChicken2 black screen on MALI-based android

    TappyChicken2 black screen on MALI-based android

    [SOLVED]
    Hello everyone!
    I am trying to launch "TappyChiken2" game on my android pad 4.2.2. But I only get black screen on start and after ~10 secs app minimizes to background processes.
    Android specs: model DNS E79, chipset Amlogic AML8726-M 2x1.2MHz, videoprocessor Mali-400MP2, 1024Mb RAM, 12800 Antutu rating.
    I know, this hardware is not powerfull, but it runs almost all 3D games nicely.
    Now I'll try to describe everything from very start
    Using latest for now UE4 ver 4.2.1 and 4.2ver of TappyChiken2.
    So, I've installed NDK, SDK, JDK etc via tadp-2.0r8-windows.exe. Then I've set up paths for them.
    Installed driver for droid, so when I type in "adb devices" it shows device with id "0123456789ABCDEF" and UE4 Editor recognizes it too.

    Code:
    C:\Users\suparlava>adb devices
    List of devices attached
    0123456789ABCDEF        device
    In "ProjectSettings" -> "Rendering" HDR is off by default, so I don't change anything in settings and just choose "Package Project" -> "Android" or "Android ETC1", doesn't matter which one, result is the same.
    While cooking it shows log, I've searched there for "error" and "fail":
    Code:
    80:<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>6835A29EBD41C022</RequestId><HostId>IypYH3yYJqO6CulK1RhdQTCCtTSEKHxM6K6s9iBM1hq255yMyH+rckJyaStKOpjc</HostId></Error>
    LogAssetRegistry: Asset discovery search completed in 28.2187 seconds
    LogEpicSurvey:Warning: EnumerateFiles request failed. Invalid response. code=403 error=<?xml version="1.0" encoding="UTF-8"?>
    A lot of this kind of "fails":
    Code:
    LogPlayLevel:Display: UE4Editor-Cmd: [2014.06.22-16.22.30:606][  0]LogPackageDependencyInfo:Display:  Package Info not found for ../../../../../Users/suparlava/Documents/Unreal Projects/TappyChicken2/Content/Blueprints/BP_TappyChickenSaveGame!
    LogPlayLevel:Display: UE4Editor-Cmd: [2014.06.22-16.22.30:607][  0]LogCookCommandlet:Display: Failed to find dependency timestamp for: ../../../../../Users/suparlava/Documents/Unreal
    Then:
    Code:
    LogPlayLevel:Display: cmd: failed to copy 'E:\Users\suparlava\Documents\Unreal Projects\TappyChicken2\Saved\StagedBuilds\Android\Manifest_NonUFSFiles.txt' to '/mnt/sdcard/TappyChicken2/Manifest_NonUFSFiles.txt': No such file or directory
    Also, same "failed to copy":
    failed to copy E:\...\UE4CommandLine.txt No such file or directory
    failed to copy E:\...\build.properties No such file or directory
    failed to copy E:\...\TappyChicken2-Android.pak No such file or directory
    All these files exist on PC in specified directiories.
    Full cook log file is here.

    Then I launch "Install_TappyChicken2_Development.bat" and it installs app on device.

    And then, before launching on device, in cmd i type in "adb logcat -s UE4 -s Debug".
    Here's log:
    Code:
    D/UE4     ( 4460): In the JNI_OnLoad function
    D/UE4     ( 4460): Path found as '/storage/sdcard0'
    D/UE4     ( 4460): Entering native app glue main function
    D/UE4     ( 4460): Created event thread
    D/UE4     ( 4460): Entered AndroidMain()
    D/UE4     ( 4460): Controller interface supported
    D/UE4     ( 4460): Entering event processing thread engine entry point
    D/UE4     ( 4460): Prepared looper for event thread
    D/UE4     ( 4460): Setting screen orientation to landscape because it's a Sheild
    
    D/UE4     ( 4460): Passed callback initialization
    D/UE4     ( 4460): Passed sensor initialization
    D/UE4     ( 4460): App is running in Portrait
    D/UE4     ( 4460): ==================================> Inside onStart function i
    n GameActivity
    D/UE4     ( 4460): OnAppCommandCB cmd: 10
    D/UE4     ( 4460): LogAndroidEvents: EnqueueAppEvent : 9, 0
    D/UE4     ( 4460): OnAppCommandCB cmd: 11
    D/UE4     ( 4460): LogAndroidEvents: EnqueueAppEvent : 7, 0
    D/UE4     ( 4460): OnAppCommandCB cmd: 0
    D/UE4     ( 4460): OnAppCommandCB cmd: 8
    D/UE4     ( 4460): OnAppCommandCB cmd: 1
    D/UE4     ( 4460): LogAndroidEvents: EnqueueAppEvent : 0, 1735846880
    D/UE4     ( 4460): LogAndroidEvents: EnqueueAppEvent : 2, 1735846880
    D/UE4     ( 4460): OnAppCommandCB cmd: 6
    D/UE4     ( 4460): LogAndroidEvents: EnqueueAppEvent : 11, 0
    D/UE4     ( 4460): Final commandline:
    D/UE4     ( 4460): Obb directory not found
    D/UE4     ( 4460): Obb directory not found
    D/UE4     ( 4460): Cannot display dialog box on this platform: Message : Failed
    to open descriptor file '../../../TappyChicken2/TappyChicken2.uproject'
    D/UE4     ( 4460): D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.2\Engine\Sou
    rce\Runtime\Core\Private\Misc\OutputDevice.cpp(176): Fatal error:
    D/UE4     ( 4460): Assertion failed: Class [File:D:/BuildFarm/buildmachine_++dep
    ot+UE4-Releases+4.2/Engine/Source/Runtime/CoreUObject/Public/UObject\Class.h] [L
    ine: 2377]
    D/UE4     ( 4460): ConstructObject called with a NULL class object
    D/UE4     ( 4460): Stack:
    D/UE4     ( 4460): [Callstack] 0x00000000
    D/UE4     ( 4460):
    D/UE4     ( 4486): In the JNI_OnLoad function
    D/UE4     ( 4486): Path found as '/storage/sdcard0'
    D/UE4     ( 4486): Setting screen orientation to landscape because it's a Sheild
    
    D/UE4     ( 4486): Entering native app glue main function
    D/UE4     ( 4486): Created event thread
    D/UE4     ( 4486): Entered AndroidMain()
    D/UE4     ( 4486): Controller interface supported
    D/UE4     ( 4486): Entering event processing thread engine entry point
    D/UE4     ( 4486): Prepared looper for event thread
    D/UE4     ( 4486): Passed callback initialization
    D/UE4     ( 4486): Passed sensor initialization
    D/UE4     ( 4486): App is running in Portrait
    D/UE4     ( 4486): ==================================> Inside onStart function i
    n GameActivity
    D/UE4     ( 4486): OnAppCommandCB cmd: 10
    D/UE4     ( 4486): LogAndroidEvents: EnqueueAppEvent : 9, 0
    D/UE4     ( 4486): OnAppCommandCB cmd: 11
    D/UE4     ( 4486): LogAndroidEvents: EnqueueAppEvent : 7, 0
    D/UE4     ( 4486): OnAppCommandCB cmd: 0
    D/UE4     ( 4486): OnAppCommandCB cmd: 8
    D/UE4     ( 4486): OnAppCommandCB cmd: 1
    D/UE4     ( 4486): LogAndroidEvents: EnqueueAppEvent : 0, 1735846880
    D/UE4     ( 4486): LogAndroidEvents: EnqueueAppEvent : 2, 1735846880
    D/UE4     ( 4486): OnAppCommandCB cmd: 6
    D/UE4     ( 4486): LogAndroidEvents: EnqueueAppEvent : 11, 0
    D/UE4     ( 4486): Final commandline:
    D/UE4     ( 4486): Obb directory not found
    D/UE4     ( 4486): Obb directory not found
    D/UE4     ( 4486): Cannot display dialog box on this platform: Message : Failed
    to open descriptor file '../../../TappyChicken2/TappyChicken2.uproject'
    D/UE4     ( 4486): D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.2\Engine\Sou
    rce\Runtime\Core\Private\Misc\OutputDevice.cpp(176): Fatal error:
    D/UE4     ( 4486): Assertion failed: Class [File:D:/BuildFarm/buildmachine_++dep
    ot+UE4-Releases+4.2/Engine/Source/Runtime/CoreUObject/Public/UObject\Class.h] [L
    ine: 2377]
    D/UE4     ( 4486): ConstructObject called with a NULL class object
    D/UE4     ( 4486): Stack:
    D/UE4     ( 4486): [Callstack] 0x00000000
    D/UE4     ( 4486):
    P.S.: TappyChicken from market runs well.
    Last edited by MrHappy; 06-25-2014, 08:56 AM.
Working...
X