java.lang.RuntimeException: Unable to start activity ComponentInfo{br.com.projectname.dev/br.com.projectname.HostActivity}: java.lang.RuntimeException: java.security.NoSuchAlgorithmException: SecureRandom SHA1PRNG implementation not found

GitHub | heitorcolangelo | 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

    GitHub comment 105#242729581

    GitHub | 7 months ago | heitorcolangelo
    java.lang.RuntimeException: Unable to start activity ComponentInfo{br.com.projectname.dev/br.com.projectname.HostActivity}: java.lang.RuntimeException: java.security.NoSuchAlgorithmException: SecureRandom SHA1PRNG implementation not found

    Root Cause Analysis

    1. java.lang.InstantiationException

      can't instantiate class com.orhanobut.hawk.AesCbcWithIntegrity$PrngFixes$LinuxPRNGSecureRandom; no empty constructor

      at java.lang.Class.newInstanceImpl()
    2. Java RT
      UUID.randomUUID
      1. java.lang.Class.newInstanceImpl(Native Method)
      2. java.lang.Class.newInstance(Class.java:1319)
      3. java.security.Provider$Service.newInstance(Provider.java:989)
      4. java.security.SecureRandom.<init>(SecureRandom.java:100)
      5. java.util.UUID.randomUUID(UUID.java:127)
      5 frames
    3. com.bluelinelabs.conductor
      Controller.<init>
      1. com.bluelinelabs.conductor.Controller.<init>(Controller.java:136)
      1 frame
    4. br.com.projectname
      HostActivity.onCreate
      1. br.com.projectname.ui.viewcontroller.util.BaseViewController.<init>(BaseViewController.java:64)
      2. br.com.projectname.ui.viewcontroller.util.BaseViewController.<init>(BaseViewController.java:60)
      3. br.com.projectname.ui.viewcontroller.OnboardingViewController.<init>(OnboardingViewController.java:30)
      4. br.com.projectname.HostActivity.onCreate(HostActivity.java:49)
      4 frames
    5. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5008)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
      5. android.app.ActivityThread.access$600(ActivityThread.java:130)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:4745)
      9 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
      2 frames