Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't run Ionic on Android: class not found exception IonicKeyboard

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

like image 327
edrian Avatar asked Oct 15 '14 13:10

edrian


2 Answers

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
like image 130
Tilo Avatar answered Nov 14 '22 02:11

Tilo


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
like image 1
bCliks Avatar answered Nov 14 '22 04:11

bCliks