Just because Udacity is withdrawing their app, it does not mean that mobile apps are dying, or should die. I have passed several courses on Udacity and other MOOCs, and I cannot imagine following a programming course from a mobile device. I need to try out the things by myself, eg.: type code in an actual IDE, install a server on your machine, use command line tools, etc, things that you can't do from a mobile app.
"ultimately, ten percent of Udacity students downloaded the app". - this makes sense, why to develop and maintain an app that is barely used?