java.lang.NoSuchMethodError: android.security.KeyPairGeneratorSpec$Builder.setKeySize

GitHub | tchabaud | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JellyBean compatibility

    GitHub | 11 months ago | tchabaud
    java.lang.NoSuchMethodError: android.security.KeyPairGeneratorSpec$Builder.setKeySize
  2. 0

    App Crash on Android 4.3, Galaxy S3

    GitHub | 5 months ago | AAUBSS
    java.lang.NoSuchMethodError: android.security.KeyPairGeneratorSpec$Builder.setKeySize

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      android.security.KeyPairGeneratorSpec$Builder.setKeySize

      at com.crypho.plugins.RSA.createKeyPair()
    2. com.crypho.plugins
      SecureStorage$1.run
      1. com.crypho.plugins.RSA.createKeyPair(RSA.java:43)
      2. com.crypho.plugins.SecureStorage$1.run(SecureStorage.java:32)
      2 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
      3. java.lang.Thread.run(Thread.java:841)
      3 frames