Closed superkartoffel closed 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.
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.
Nice, thanks.
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:
wine jdk-7u76-windows-i586.exe
.SDK Manager.exe
. Use that tool to install/update whatever Android SDK components you need. It's pretty simple to use.sdk/build-tools/[any of these directories]/zipalign.exe
into sdk/tools/
. If you get errors about "zipalign" when you try to build, then you know you need to do this ;)Hi Abscissa,
I finally found the time to try out your how-to. And it totally works :) Thank you very much!
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.