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"

No android build option?

alt text

Ok so I just got UE4, which I forked from GitHub, I wanted to make my game for android but I cant seem to locate any trace of android support.

This is a big file and my capped internet wont let me download again, any way to compile the source code with android?

[Running Windows 8.1]

Help?

Product Version: Not Selected
Tags:
more ▼

asked Mar 23 '14 at 03:17 PM in Packaging & Deployment

avatar image

Vishahan
63 4 6 11

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

5 answers: sort voted first

Your setup is probably wrong. Make sure you specified the right paths - **read this**

It's not strictly required to use TADP, but try to use the latest android ndk and sdk then. (I had an old one which didn't had ndk-build.cmd file but cygwin's ndk-build - it didn't work with the engine)

You must run GenerateProjectFiles.bat again, otherwise your solution configuration will be wrong and it won't build android binaries at all (though you'll see android device inside UEditor but you won't be able to deploy without .apk).

If everything is done right, you'll see 'Android' target platform inside Visual Studio toolbar.

more ▼

answered Mar 24 '14 at 12:28 PM

avatar image

gogiii
96 1 3 7

avatar image BKremnev Mar 24 '14 at 09:02 PM

thanks for details

avatar image Vishahan Mar 27 '14 at 01:44 PM

It worked! You sir... Deserve a cookie!

avatar image kalikin May 18 '14 at 07:41 AM

Running GenerateProjectFiles.bat and rebuilding Unreal Engine fixed problem for me. But I had to perform this step to get packging actually work: build Unreal Engine one more time with target "Development" and platform "Android".

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

Seeing as you got iOS under platforms I am going to assume you are on a mac right now. UE4 does not support android development on a mac at the moment. That might change in the future though.

Source: https://forums.unrealengine.com/showthread.php?590-Android-Development-using-a-MAC

more ▼

answered Mar 23 '14 at 03:21 PM

avatar image

DRungelrath
86 2 3 9

avatar image Vishahan Mar 23 '14 at 03:23 PM

Actually, surprisingly, I'm on windows 8.1!

avatar image BKremnev Mar 23 '14 at 03:53 PM

me too on 8.1 I and did not get android option. But I installed tadp after I've build engine. I am rebuilding engine now in hope that it will help. And btw also gettin iOS option

avatar image joshbadams STAFF Mar 26 '14 at 10:57 PM

Rebuilding the engine won't help, you just need to regenerate projects after installing TADP.

avatar image Michael Hamburger Apr 16 '14 at 07:30 PM

Do you mean with "regenerate project" to create a new project?

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

where do you run GenerateProjectFiles.bat from?

more ▼

answered Mar 24 '14 at 11:45 PM

avatar image

jldevoy
56 2 3 7

avatar image joshbadams STAFF Mar 26 '14 at 10:58 PM

Root of the engine installation from where you cloned GitHub to.

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

Rebuild is work :)

more ▼

answered Jun 06 '14 at 02:13 PM

avatar image

paperq
1

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

Hi, May I know how to install the android sdk to work with Unreal Engine 4? I have seen the documentation but it used nvidia sdk.I already have the android sdk in my c drive. what to do next? Please give a step by step answer asap...

more ▼

answered Jul 18 '14 at 11:17 AM

avatar image

AgentGhost
1 1 4 6

avatar image gogiii Jul 18 '14 at 11:52 AM

Exactly the same way as it's done with tdk. The official guide has all the required info about this.

You need both android-sdk and android-ndk, jdk and ant, then you must setup all environment variables in your OS, here is the guide.

avatar image AgentGhost Jul 19 '14 at 11:34 AM

Thank you for the help . I have followed the steps all I missed was nvidia sdk because I thought It was not needed . When I installed it i got android in package options.

avatar image gogiii Jul 19 '14 at 12:17 PM

Well you really don't need the tegra sdk if you have all required parts installed already. Probably you just forgot to install some of the requred tools or your NDK was too old or your environment variables were wrong, so tdp just installed everything on top and everything is working now.

avatar image AgentGhost Jul 19 '14 at 12:53 PM

Oh ya may be...... But now I cant Package apk It gives this error "can't make an apk without the compiled .so"..... any idea how to fix this??? Thanks

avatar image astearon Nov 05 '14 at 02:13 AM

can't make an apk without the compiled .so <-- same thing happens to me as well and compiling undeal solution for Development Android fails.

avatar image astearon Nov 06 '14 at 09:05 PM

uninstalled everything, reinstalled the latest NVPACK from Nvidia site no the bundled one with custom instalation according to the getting started website and the updated with Android SDK Manager. Built solutions again. This time i could build the Developer Android Solution and then the Editor. I now have the .so file and everything is working fine.

(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