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 | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 66#240152903

    GitHub | 8 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.

    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