Open wangsuicheng opened 3 years ago
I am testing this demo getting this issue:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.voronsky.androidhttpserver/com.voronsky.androidhttpserver.MainActivity}: java.io.FileNotFoundException: /storage/emulated/0/Download/demo_keystore.bks: open failed: ENOENT (No such file or directory)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3616)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3780)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2251)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:233)
at android.app.ActivityThread.main(ActivityThread.java:8068)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
Caused by: java.io.FileNotFoundException: /storage/emulated/0/Download/demo_keystore.bks: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:492)
at java.io.FileInputStream.
@wangsuicheng @kambojumang hello guys! You need to generate your certs to make it work
I test verison 1.6.2, cause the above problems Caused by: java.lang.NullPointerException: connector.keyStore.getCertificateChain(connector.keyAlias) must not be null