NDK-Build fails on Android About Monkey 2 › Forums › Monkey 2 Programming Help › NDK-Build fails on Android Tagged: Android, build This topic contains 2 replies, has 2 voices, and was last updated by taiko000 8 months, 2 weeks ago. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts January 2, 2018 at 9:39 am #12569 taiko000Participant Did anyone manage to build Android apks with Monkey 2, 1.1.80? Building any example code in Ted2Go v2.7 with target Android always produces the following error: Android NDK: ERROR:jni/Android.mk:mx2_mojox: The LOCAL_SRC_FILES for a prebuilt library should only contain one item Build error: System command ‘ndk-build’ failed. Modules for Android have been rebuild inside Ted2Go. The NDK has been added to the PATH. I tried multiple NDK versions. 0 January 2, 2018 at 10:27 pm #12582 Mark SiblyKeymaster I assume you mean 1.1.08? I just quickly tested current develop branch and it’s working so perhaps give that a go? Note, sometimes it can be a good idea to delete .build* and .products directories – this performs a full ‘clean’ rebuild (and should really be a build option in the IDE!). My ndk version is 16.1.4479499 according to android studio. 0 January 3, 2018 at 10:08 am #12590 taiko000Participant Everything works fine now after I compiled the develop branch from source. Thanks! 0 Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic.