Dolphin, the GameCube and Wii emulator - Forums

Full Version: Compiling the Android port
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've seen many issue reports here in the forum which ends with "May you try to change this line of the source code and try it again?" - and of course, with no further response. And indeed, compiling the android port was a pain (no windows, manually hacking a few config files, two build systems). But this changed yesterday asĀ 5.0-995 updated the android toolchain to android studio 2.2. One of the big improvements of 2.2 is the Improved C++ Support. Now we're able to build everything within a single IDE without any external tools.

So I want to encourage you to try it. What do you need?
- android studio >= 2.2

That's all.

On starting android studio, it will ask about downloading the SDK. Please select custom installation and also check following dependencies:
- NDK
- LLDB
- CMake
This will download ~2GB of data, this might take a while.

Within the "new project" tool, it will ask you if you want to import a project. Choose by "git":
- https://github.com/dolphin-emu/dolphin.git

Next, open the gradle project directory:
- Source/Android

Once this project is opened successfully, you should be able to just hit compile, run or debug.

Have fun Big Grin
this is the only build that work fine in marsmallow 4.0-9075 in galaxy s6 edge https://es.dolphin-emu.org/download/dev/f752c6e7044c9b391bb2c88a6114bd46ca43d09c/ How can ADD this changes dolphin-emu/dolphin#4236 in 4.0-9075 please?
(10-08-2016, 02:43 AM)nonexist Wrote: [ -> ]this is the only build that work fine in marsmallow 4.0-9075 in galaxy s6 edge https://es.dolphin-emu.org/download/dev/f752c6e7044c9b391bb2c88a6114bd46ca43d09c/
Very unlikely.

(10-08-2016, 02:43 AM)nonexist Wrote: [ -> ]How can ADD this changes dolphin-emu/dolphin#4236 in 4.0-9075 please?
git rebase, or git cherry-pick, ... Just lookup any git manual.

But this is the wrong question. Ask why isn't master working, and fix this instead.
thats right any build before or after 4.0-9075 does not work on stock rom. anyway CM13 beta dont have this bug and use the same mali drivers.
(10-08-2016, 03:00 AM)nonexist Wrote: [ -> ]thats right any build before or after 4.0-9075 does not work on stock rom. anyway CM13 beta dont have this bug and use the same mali drivers.

Yeah this is a huge issue too, someone needs to fix this
(10-08-2016, 08:34 AM)TheGamerPro Wrote: [ -> ]Yeah this is a huge issue too, someone needs to fix this
Feel free to do it. This thread is about compiling dolphin. If you don't want to do it, please stop spamming here.
(10-08-2016, 08:38 AM)degasus Wrote: [ -> ]Feel free to do it. This thread is about compiling dolphin. If you don't want to do it, please stop spamming here.

Yeah there's too many threads about this issue and no ddev has the knowledge to fix it anyways :^/. And yes, 9075 DOES fixes texture issues, so very likely.
You know, this is a voluntary driven project. No dev is motivated enough to fix this bugs. You're welcome to do this on your own. We're talking often about dropping the distribution of andorid builds, just because these "too many threads" are just annoying, not helpful in any way.
Thanks for this notice, I am a .net dev, so I am not used to android studio, but I'll try to find my way !

I won't promise anything, but if I can, I'll try to correct some things...
(10-17-2016, 07:32 PM)ninjaneko Wrote: [ -> ]Thanks for this notice, I am a .net dev, so I am not used to android studio, but I'll try to find my way !

I won't promise anything, but if I can, I'll try to correct some things...

You're welcome. Feel free to ask me anything if you need help. Also try to ask on #dolphin-emu @freenode, there you'll get answers much faster.
Pages: 1 2