android - Getting error: Execution failed for task : myApp:compileDebugNdk' -


hi trying run app created cocos2d-x 2.5 android studio keep getting error when running project:

:myapp:compiledebugndk agpbi: {"kind":"error","text":"*** android ndk: aborting... . stop.","sourcepath":"/mypath/ndk/android-ndk-r10d/build/core/add-application.mk","position":{"startline":199},"original":""}

failed execution failed task ':myapp:compiledebugndk'.

building works ok. have android studio 1.1.0 , mac os x yosemite 10.10.

do guys have idea wrong?

i have seen similar error being discussed here execution failed task ':app:compiledebugndk' when trying compile android studio project ndk source code

but solution doesn't work me (created empty .c file in jni folder). looks happens on windows , use mac.

i solved adding build.gradle file:

sourcesets.main {    jni.srcdirs = [] } 

Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -