Ionic4 permissions native api issue in android app

I am developing an ionic4 app and I integrated https://ionicframework.com/docs/native/android-permissions native API and when I run in my android app it is showing ‘java.lang.ClassNotFoundException: com.android.plugins.Permissions’ error can anyone provide me with the solution to solve this issue.