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 - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -