I have no problem building for Android until I start a C++ project or add a C++ class to an existing Blueprint project

Like the question says I can build and deploy to Android with no problem as long as it’s a pure Blueprint project. As soon as I start a C++ project or a C++ class to my Blueprint project I get crashes. The game says that it launches but my devices gets a black screen and crashes back to my home screen before I get any logs.

LogPlayLevel: adb: --------- beginning of main
LogPlayLevel: adb:
LogPlayLevel: adb: --------- beginning of system
LogPlayLevel: adb:
LogPlayLevel: adb: --------- beginning of crash
LogPlayLevel: adb:
LogPlayLevel: CommandUtils.Run: Run: Took 0.0820047s to run adb.exe, ExitCode=0
LogPlayLevel: CommandUtils.Run: Run: C:\\android-sdk-windows\platform-tools\adb.exe -s d0d0bee4 logcat -d
LogPlayLevel: CommandUtils.Run: Run: Took 0.122007s to run adb.exe, ExitCode=0

These are some of my the last logs. I’m using 4.15 and Andorid Codeworks 1r5. I’ve uninstalled both UE4 and Codeworks and re-installed them just to make sure it’s nothing there and I’m still getting the same problem.

FUNK_DADDY,

In order to better assist you, I’m going to need for you to provide me the logs from your mobile device.

  • Attach your phone to the computer
  • Go here: C:\android-sdk-windows\tools
  • Open up Monitor.bat
  • Launch the program and save the logs

If you cannot get Monitor.bat to open, please go to:

  • C:\android-sdk-windows\tools\lib\monitor-x86
  • Open up Monitor.exe
  • Follow the instructions above

Make sure that you highlight all of the logs, because they do not save unless they’re highlighted.

Thank you!

Hey FUNK_DADDY,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

Sorry, I just got back but I found the solution. My Java was out of date. Updated it and can build once again.

Thank you for giving me an update.