java.lang.RuntimeException: Runtime access to android.permission.RECORD_AUDIO is not enabled. You must request this permission at runtime with targetSDKVersion 23 or higher.

GitHub | fedxgibson | 5 months ago
  1. 0

    GitHub comment 66#240152903

    GitHub | 5 months ago | fedxgibson
    java.lang.RuntimeException: Runtime access to android.permission.RECORD_AUDIO is not enabled. You must request this permission at runtime with targetSDKVersion 23 or higher.
  2. 0
    Switch to Android Build Tools 23.0.3
  3. 0
    SMS Emulator caused this error. abortBroadcast only works with broadcasts sent through Context.sendOrderedBroadcast.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    I did this as root, and works dpkg --add-architecture i386 apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
  6. 0
    If the decompile process didn't work properly, try the Android APK Decompiler.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Runtime access to android.permission.RECORD_AUDIO is not enabled. You must request this permission at runtime with targetSDKVersion 23 or higher.

      at com.twilio.client.impl.TwilioImpl.initialize()
    2. com.twilio.client
      Twilio.initialize
      1. com.twilio.client.impl.TwilioImpl.initialize(TwilioImpl.java:143)
      2. com.twilio.client.Twilio.initialize(Twilio.java:37)
      2 frames
    3. com.phonegap.plugins
      TCPlugin.execute
      1. com.phonegap.plugins.twilioclient.TCPlugin.initTwilio(TCPlugin.java:158)
      2. com.phonegap.plugins.twilioclient.TCPlugin.execute(TCPlugin.java:104)
      2 frames
    4. org.apache.cordova
      SystemExposedJsApi.exec
      1. org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
      2. org.apache.cordova.PluginManager.exec(PluginManager.java:133)
      3. org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
      4. org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
      4 frames
    5. org.chromium.base
      SystemMessageHandler.handleMessage
      1. org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
      2. org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)
      2 frames
    6. Android Platform
      HandlerThread.run
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:148)
      3. android.os.HandlerThread.run(HandlerThread.java:61)
      3 frames