java.lang.RuntimeException: Unable to start activity ComponentInfo{cz.master.lois/cz.master.annie.ui.landingpage.ActivityMain}: java.lang.RuntimeException: java.security.NoSuchAlgorithmException: SecureRandom SHA1PRNG implementation not found

GitHub | Pitel | 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 157#246593390

    GitHub | 7 months ago | Pitel
    java.lang.RuntimeException: Unable to start activity ComponentInfo{cz.master.lois/cz.master.annie.ui.landingpage.ActivityMain}: java.lang.RuntimeException: java.security.NoSuchAlgorithmException: SecureRandom SHA1PRNG implementation not found
  2. 0

    javaw.exe process hangs on applet start

    Stack Overflow | 3 years ago
    java.lang.RuntimeException: java.security.NoSuchAlgorithmException: class configured for SecureRandom(provider: SUN)cannot be found.
  3. 0

    Class not found loading deployJava.js

    Oracle Community | 3 years ago | bcomer
    java.lang.ExceptionInInitializerError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android - supported algorithms bug?

    Stack Overflow | 3 years ago | Tyler Davis
    java.lang.RuntimeException: java.security.NoSuchAlgorithmException: SecureRandom SHA1PRNG implementation not found

    Root Cause Analysis

    1. java.lang.InstantiationException

      can't instantiate class com.facebook.android.crypto.keychain.SecureRandomFix$LinuxPRNGSecureRandom; no empty constructor

      at java.lang.Class.newInstanceImpl()
    2. Java RT
      SecureRandom.<init>
      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:99)
      4 frames
    3. cz.master.annie
      ActivityMain.onCreate
      1. cz.master.annie.networking.rest.HttpsTrustManager.allowAllSSL(HttpsTrustManager.java:39)
      2. cz.master.annie.ui.landingpage.ActivityMain.onCreate(ActivityMain.java:188)
      2 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5032)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2153)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2216)
      5. android.app.ActivityThread.access$600(ActivityThread.java:149)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1305)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:153)
      9. android.app.ActivityThread.main(ActivityThread.java:5022)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1032)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:790)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame