moonlight-android icon indicating copy to clipboard operation
moonlight-android copied to clipboard

compile help

Open muffinmannameistaken opened this issue 10 years ago • 4 comments

hay I'm having some problems compiling I get this error when doing so

Error:Execution failed for task ':app:ndkBuild'.

Process 'command 'C:\Users\thiscomputer\Downloads\android-ndk-r10e\ndk-build.cmd'' finished with non-zero exit value 2

any ideas how to fix this ?

muffinmannameistaken avatar Apr 07 '16 15:04 muffinmannameistaken

make sure you have android NDK installed. and make sure you had fetched enet which is located on moonlight-android/app/src/main/jni/jnienet/enet you cat fetch enet by executing git submodule update --init --recursive

ahmedNY avatar Apr 09 '16 02:04 ahmedNY

ok, ndk files are installed i can rebuild the older versions moonlight but not the newer one, when i go to moonlight-android/app/src/main/jni/jnienet/enet not sure what to do next

muffinmannameistaken avatar Apr 09 '16 17:04 muffinmannameistaken

o nvm the enet files are not included

muffinmannameistaken avatar Apr 09 '16 17:04 muffinmannameistaken

"enet" is 3rd party library in which moonlight depends on, make sure enet files does exist before compiling the app, if enet doesn't exist try execute git submodule update --init --recursive in the root directory of the app to download enet files

ahmedNY avatar Apr 12 '16 11:04 ahmedNY