java.lang.SecurityException

com.trace.popo from uid 10096 not allowed to perform AUDIO_MEDIA_VOLUME

Samebug tips5

Android SDK 23 introduced a new way to handle permissions, so as a temporary workaround you can set it to build for SDK below 23. As a permanent solution you have to ask user during runtime for permissions with checkSelfPermission() or requestPermissions()


rafaelrafael

You need the permission android.permission.READ_EXTERNAL_STORAGE. Write <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> on the Android Manifest


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1297

Stack trace

  • java.lang.SecurityException: com.trace.popo from uid 10096 not allowed to perform AUDIO_MEDIA_VOLUME at android.os.Parcel.readException(Parcel.java:1465) at android.os.Parcel.readException(Parcel.java:1419) at android.media.IAudioService$Stub$Proxy.adjustSuggestedStreamVolume(IAudioService.java:1035) at android.media.AudioManager.adjustSuggestedStreamVolume(AudioManager.java:725) at android.media.AudioManager.handleKeyDown(AudioManager.java:576) at com.android.internal.policy.impl.PhoneWindow.onKeyDown(PhoneWindow.java:1737) at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2211) at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:5021) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4989) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4533) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4583) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4552) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4659) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4560) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4716) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4533) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4583) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4552) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4560) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4533) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4583) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4552) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4692) at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:4861) at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2247) at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1924) at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1915) at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2224) at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:140) at android.os.Looper.loop(Looper.java:150) at android.app.ActivityThread.main(ActivityThread.java:5348) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) at dalvik.system.NativeStart.main(Native Method)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown UserUnknown User
14 times, last one
PierrePierre
3 times, last one
Hiren AmaliyarHiren Amaliyar
669 times, last one
filipebatistafilipebatista
48 times, last one
SacchiSacchi
138 times, last one
232 more bugmates