Building C++ libraries for Android, whether static or dynamic, is currently not supported.
The reason is that a lot of JUCE functionality on Android relies on our JUCE AppActivity class written in Java. But if you are building a library, you don't have that activity class.
I'll put an assert or error message into the Introjucer making clear that this is not supposed to work.