java.lang.RuntimeException: Unable to start activity ComponentInfo{atoa.roomates/com.auth0.lock.sms.LockSMSActivity}: java.lang.IllegalStateException: Android Application object must implement LockProvider interface

Stack Overflow | or am-shalem | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Application subclass implements the required interface but system says no

    Stack Overflow | 7 months ago | or am-shalem
    java.lang.RuntimeException: Unable to start activity ComponentInfo{atoa.roomates/com.auth0.lock.sms.LockSMSActivity}: java.lang.IllegalStateException: Android Application object must implement LockProvider interface

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Android Application object must implement LockProvider interface

      at com.auth0.lock.Lock.getLock()
    2. com.auth0.lock
      LockSMSActivity.onCreate
      1. com.auth0.lock.Lock.getLock(Lock.java:314)
      2. com.auth0.lock.sms.LockSMSActivity.getLock(LockSMSActivity.java:184)
      3. com.auth0.lock.sms.LockSMSActivity.onCreate(LockSMSActivity.java:95)
      3 frames
    3. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6221)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2611)
      3 frames