x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

I can no longer build on Android.

Hello. I started having a recent issue with UE4. I can no longer build for Android by using Project Launcher... I have my sdk updated, I run VS 2017 and I have the binary version of the engine. This used to work until 2 days ago when it started to give me these errors in the log: ProjectLauncher.log

What I tried so far: Deleting intermediate and saved folders, verify engine files, downloading and installing the engine again, generating VS files again, FILE->Refresh Visual Studio files.

I tried to build and launch it from Project Launcher but on a different platform like Windows and builds just fine.The issue also appears when I try to package for Android. I hope somebody can help me. Thank you in advance!

EDIT: A slightly different log: [ProjectLauncher.log][2]

Product Version: UE 4.15
Tags:
more ▼

asked Apr 29 '17 at 03:07 PM in Packaging & Deployment

avatar image

ArmainAP
5 1 6 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

From the log, it looks like you are including a Windows header.

In "SCUE4.h" on line 30, "WindowsPlatformProcess.h" is being included. That is hitting a #error because a define is missing. Don't include that file when you're building for android.

Before the error is a warning that the same define is missing but it shouldn't be a problem. If you want to get rid of it, just define "PLATFORM_WINDOWS" as zero yourself explicitly -- before the include statements.

more ▼

answered Apr 29 '17 at 04:06 PM

avatar image

Jin_VE
4.4k 32 77 42

avatar image ArmainAP Apr 29 '17 at 06:06 PM

Thank you!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question