I'd suggest you to have some invisible sprite with the platformer behavior.
This will be the sprite you will be controlling, and add the animations in another sprite which position you set to the invisible sprite each tick.
The "controlling sprite" will be a "blank" sprite, but it won't get confused as either it is on ground or falling because of changing animations.
The "animation sprite" itself will be purely visual.
A bit like what's advised in CC really. I hope I'm being clear and you know what I mean.