问题
After building and running android app it closes.
Viewing Eclipse logcat it shows a class not found exception com.ionic.keyboard.IonicKeyboard
I'm new with Ionic and I don't know how to make it work. Thanks in advance
回答1:
I had the same problems. In my case the plugin was already installed, so I had to remove and add it again:
Try this in your app-folder:
cordova plugin remove com.ionic.keyboard
and
cordova plugin add com.ionic.keyboard
回答2:
npm changed plugin names. Now it should be
cordova plugin add ionic-plugin-keyboard
Try this in your app-folder:
cordova plugin remove ionic-plugin-keyboard
and
cordova plugin add ionic-plugin-keyboard
回答3:
Seems that plugin not installed?
Try in cmd:
cordova plugin add com.ionic.keyboard
来源:https://stackoverflow.com/questions/26383949/cant-run-ionic-on-android-class-not-found-exception-ionickeyboard