Android issues

I’ve been trying to get my compiles of the Android port to work again for the past few days and I’ve finally figured out what is going. Everything compiles fine (except as noted later in this post), builds with Eclipse just fine, and launches just fine on both my Note 3 & Galaxy S4, but when I try to select a core it just crashes, and doing some digging around I finally figured out what is going on is that RGUI is trying to look into ‘/data/data/com.retroarch/cores’ every time it tries to look for the cores.

Interesting enuff, on a full wipe of RetroArch and reinstall, ‘retroarch.cfg’ still points to ‘/data/app-lib/com.retroarch-1’ but as soon as you have RGUI try to list the cores (even in TV Mode) it automagically tries to look into ‘/data/data/com.retroarch/cores’ and even changes ‘retroarch.cfg’ to ‘/data/data/com.retroarch/cores’. Even after manually changing it back to ‘/data/app-lib/com.retroarch-1’ it will still change it to ‘/data/data/com.retroarch/cores’ again.

The only way I got it to work was to create the ‘cores’ folder in ‘/data/data/com.retroarch’, set the folder permissions from ‘root’ back to ‘system’, copy over the cores to the ‘cores’ folder and set their permissions back to ‘system’ also.

I also just noticed that you can’t change any of the core options in ‘TV Mode’ in the Android port.

The last issue I’ve encountered with the Android port is that pcsx_rearmed’s Neon version of the GPU plugin fails to compile, I don’t know if that one is because I am using NDK9 or what.

There’s a big change happening in he android port right now to implement a core downloader and the ability to delete unwanted core libs. That’s likely what’s causing your issue with the core locations.

For pscx-rearmed, you may be right about the NDK version. I think v8-something is required for certain cores.

Thanks for the info, also I am an idiot as I did not notice the update to “Building in Eclipse.md”

Where do I place the built libretro cores?

Simply place all built libretro cores within the directory [phoenix root]/assets/cores. Create this directory if it doesn’t exist already. After placing your cores there, they should show up within the core selection screen of the front-end.

I was able to compile pcsx_rearmed Neon GPU plugin with NDK-8e, I’ve also update my compile environment to NDK-9b, but the Neon GPU plugin won’t compile with that either. So I have setup a compile script just for pcsx_rearmed and the rest for NDK-9b.