Build fails: couldn't find libcocos2dcpp.so

I have experienced this same error on Mac and Windows. I used Cocos to create a project for Android Studio and when I run it I get an error saying, couldn’t find “libcocos2dcpp.so”. I have done this several times on both platforms and consistently get this error.

mmmm it works better on Eclipse or maybe you should use the cocos console. Did you setup the android ndk and apache ant ?

Yes, they are set up correctly. There is a project that is created for Android Studio now, so I should be able to use it rather than Eclipse.