Android can't package inside .apk

I use UE 4.7.3.

I setting like first picture, but when I play in my Samsung Galaxy S5
It’s has problem.

my project is on svn https://talking-with-cat.googlecode.com/svn/trunk/

two file I modify.

https://github.com/damody/UE4-ThirdParty/blob/damody/Engine/Plugins/ScriptPlugin/Source/ScriptPlugin/Classes/ScriptPluginComponent.h

https://github.com/damody/UE4-ThirdParty/blob/damody/Engine/Plugins/ScriptPlugin/Source/ScriptPlugin/Private/ScriptPluginComponent.cpp

Howdy damody,

Thank you for reporting this issue. I am going to need a bit more information before I begin investigating this issue. Would you be using a binary build or a source build of UE4? Also, Have you been able to package your project in any previous build of UE4?

Can you test and see if you get the same error in a blank template project?

I have tried to open the link that you have provided for the project but have been unable to download. Would you be able to share a zip file of the project via Dropbox or Google Drive?

Any additional information would be greatly appreciated.

Thanks and have a great day!

OK, this is fail one.

and this is OK one.

I try the 4.7.4 all will fail.

Hey Damody,

Thank you for sharing your project. I have downloaded both projects and have seen no errors with either. I tested both builds just to be sure, and ran into no error messages. Would you be able to share Android version and model number of you Galaxy S5?

Also, Be careful with the 4.7.4 build of UE4. That is not a released build so it may still have issues associated with the build. Unreleased builds can be unstable.

Thanks!

I use Android 5.0, SM-G900I, but I try HTC M8 Android 4.4.4 also has another error like picture

I upload my project, because I can’t know which part is wrong.

I update to 4.7.4 because I need fix some bug In my project like

Howdy damody,

Sorry to get back to you so late. We have released the official 4.7.4 version of UE4 to the public and wanted to check in with you and see if you have tried your project on that version? The version that you have previously was a promoted build and not the release 4.7.4 version.

Be sure to let me know if the error is still occurring so I can further investigate.

Thanks!

still occurring, CDO constructor Failed
I try ETC2 is ok, but ATC Failed.

ok good. Can you attach logs for both the one that succeeded and the one that failed?

link text

link text

Ok, were both these attempts for packaging the same project? The ATC log looks like it’s unable to find many assets and materials that are used in the project. Have you recently deleted parts of your project? I don’t see the same ‘Unable to find/Can’t find file/Failed to load’ errors in the ETC2 log.

Yes, I packaging use same project same content.
you can download from MEGA

Hi damody,

Have you double checked all of the limitations on Mobile Game Development to make sure you aren’t using any assets that won’t work for mobile? Have you tried double checking your project to make sure that the assets referenced in the many ‘unable to find’ errors are no longer associated with your project?

Lastly, CDO errors are not easy for us to diagnose because they could be related to many problems. However, in this thread a dev walked another user through his problem which involved a bad path name. Please have a look at these and see if it relates to your issue.

Howdy wittlief,
I double checked today, it fine.
And I found if I use package obb inside .apk, it will crash in .
it’s crash log.
[link text][1]

If package use default setting, it’s fine no problem.

but when I use Launch, It’s always not found something.

37806-2015-04-08+01+26+53.png

Hi damody,

I just tried to reproduce this using Tappy Chicken packaged with the obb inside the apk option and it did not crash. I used the Galaxy Note 3 which is a somewhat older device than your SM-G900I. Have you checked that there’s not a driver conflict? We have noticed that sometimes the drivers for the Asia-specific devices (like the SM-G900I) have problems with the editor. Can you get the latest drivers for your device and see if that helps?

If you’re still seeing the device crash, can you include a fresh logcat attached to this thread? The previous one seems to cut off before it gets to an error, though that could be the point at which it crashed. Feel free to include both the UE4 filter and the unfiltered logs.

Can you also try again to add the error that you were getting on the HTC M8?

Thanks very much!

Hi wittlief,

I try HTC M8 inside the apk option and it did not crash.
but lanuch still crash.

My HTC M8 haven’t Root, I don’t know where can get log.
I just copy create apk log from computer.

[link text][1]
[1]: 38258-avg+launch.txt (366 KB)

I think we can close this thread, because other problem as same as Android crash on launch: Failed to find Roboto font - Rendering - Unreal Engine Forums

Ok, go ahead and check that thread for the instructions I gave him, and see if it helps.

We know 4.7.4 “Package” to android is ok. “Lanuch” to android is failed.
Lanuch problem please see this thread:
https://answers.unrealengine.com/questions/206066/android-crash-on-launch-failed-to-find-roboto-font.html

105651-android+banned.png

Got BANNED in Windows 10 to package Android after build