`java.lang.RuntimeException: Unable to create application com.myapp.MainApplication: java.security.InvalidParameterException: Key size must be either 128, 192, or 256 bits
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6730)
at android.app.ActivityThread.access$1500(ActivityThread.java:247)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2053)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Caused by: java.security.InvalidParameterException: Key size must be either 128, 192, or 256 bits
at com.android.org.conscrypt.KeyGeneratorImpl$AES.checkKeySize(KeyGeneratorImpl.java:187)
at com.android.org.conscrypt.KeyGeneratorImpl.engineInit(KeyGeneratorImpl.java:68)
at javax.crypto.KeyGenerator.init(KeyGenerator.java:589)
at com.nain.securerealmdb.key.SecureKeyProvider.createSecureKey(SecureKeyProvider.java:66)
at com.nain.securerealmdb.key.SecureKeyProvider.getSecureKey(SecureKeyProvider.java:47)
at com.nain.securerealmdb.key.RealmEncryptionKeyProvider.getSecureRealmKey(RealmEncryptionKeyProvider.java:35)
at com.myapp.MainApplication.initializeRealmConfig(MainApplication.java:107)
at com.myapp.MainApplication.onCreate(MainApplication.java:89)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1211)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6725)
at android.app.ActivityThread.access$1500(ActivityThread.java:247)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2053)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) `