Unity3D-Wine-Support / Unity3D-on-Wine

Scripts for making Unity3D run on Wine.
GNU General Public License v2.0
102 stars 59 forks source link

Building for Android #44

Closed superkartoffel closed 9 years ago

superkartoffel commented 9 years ago

Has anyone tried building for android in unity using wine? I ran into several issues because my linux-jdk was not properly recognized by unity (aapt.exe was in the wrong folder for example) and windows-jdk could not be installed using wine (installer segfaults).

I just wanted to ask if anyone has even tried to build for android in wine, because I couldn't find any information.

jurf commented 9 years ago

Nope, sorry, but I think someone got it working. Not sure who or where, but you might want to check the issues here and the forum thread.

Abscissa commented 9 years ago

It's a little bit tricky, but I've done it. My brain's falling asleep for the night at the moment, but I'll dig up my notes on it tomorrow.

jurf commented 9 years ago

Nice, thanks.

Abscissa commented 9 years ago

Note that I haven't attempted any of this with 64-bit versions yet since Unity3D didn't support 64-bit until very recently (and I haven't actually needed 64-bit Unity3D just yet). So all this uses 32-bit versions of Java SDK/Android SDK/Unity3D which has worked for me.

One of the keys here is that (in my experience) just for this initial setup, you do temporarily need access to Windows, either in a VM (such as VMware Player) or any normal installation. But then, after setup you won't need Windows anymore, at least until you want to update the Android SDK.

Steps To Setup Unity3D Under Wine to Build For Android:

superkartoffel commented 9 years ago

Hi Abscissa,

I finally found the time to try out your how-to. And it totally works :) Thank you very much!