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

build error

Open lateforwork1000 opened this issue 10 years ago • 7 comments

hay I'm having troubles building this app I'm currently using Androidstudio 1.5.1 and its is giving me this error

Execution failed for task ':app:ndkBuild'. A problem occurred starting process 'command 'null\ndk-build.cmd''

is there a way that I can fix this ? thanks

lateforwork1000 avatar Feb 24 '16 15:02 lateforwork1000

You need to set the 'ndk.dir' variable in your local.properties file.

cgutman avatar Feb 24 '16 17:02 cgutman

ok I downloaded the ndk files and this is what i tried

ndk.dir=C:\android\ndk ndk.dir=C:\Users\desktop\AppData\Local\Android\ndk ndk.dir=C:\Programs Files\android\ndk

Am i doing this correct ?

lateforwork1000 avatar Feb 24 '16 19:02 lateforwork1000

You need to set the path to the location where the NDK was extracted.

cgutman avatar Feb 24 '16 19:02 cgutman

omg thank you

lateforwork1000 avatar Feb 24 '16 20:02 lateforwork1000

would it be possible to add mouse forward and back buttons?

muffinmannameistaken avatar Feb 26 '16 18:02 muffinmannameistaken

i had the sam problem on my mac os x 10.11, android studio 1.5.1 my local.properties ndk.dir=/Users/ahmed/Library/Android/sdk/ndk-bundle sdk.dir=/Users/ahmed/Library/Android/sdk

I installed ndk using SDK Manager

ahmedNY avatar Mar 21 '16 21:03 ahmedNY

I successfully build the app on MAC the problem was enet files which are located on app/src/main/jni/jnienet/enet where missing and not cloned because they are git submodules !!! using the following commands fixed the problem git submodule update --init --recursive

ahmedNY avatar Mar 23 '16 00:03 ahmedNY