Home > Back-end >  Cannot vibrate even if already set in AndroidManifest.xml
Cannot vibrate even if already set in AndroidManifest.xml

Time:03-04

I'm having an error:

java.lang.SecurityException: vibrate: Neither user 10544 nor current process has android.permission.VIBRATE

After searching I found that I need to add this, but still won't work.

    <uses-permission android:name="android.permission.INTERNET"/>

Then after more searching, I found this but still won't work.

    <uses-permission-sdk-23 android:name="android.permission.VIBRATE"/>

Any advice on how will I make it work? Thanks!

CodePudding user response:

Are you using vibration package?

  • Related