credebl / adeya-wallet

SSI Wallet App & SDK, built on the foundation of Hyperledger Aries Mobile Agent React Native (Bifold) project
https://credebl.id/adeya-wallet
Apache License 2.0
24 stars 8 forks source link

Failed to install the app #118

Closed himanshi4708 closed 2 weeks ago

himanshi4708 commented 8 months ago

I cloned this repo and tried to run it but its giving me the following error after "yarn run android":

error Failed to install the app. Command failed with exit code 1: gradlew.bat tasks Exception in thread "main" javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:349) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:292) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:287) at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1356) at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1231) at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1174) at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392) at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:443) at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:421) at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:182) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:171) at

Any idea what is the solution for this? How can this error be resolved?

sairanjit commented 8 months ago

@himanshi4708 Can you please verify that your JAVA_HOME path is set correctly? Looks like the issue is specific to android setup

himanshi4708 commented 8 months ago

hi @sairanjit, i have set the path for JAVA_HOME as C:\Program Files\RedHat\java-11-openjdk-11.0.10-1 Still facing this issue.

Apart from this, i have another doubt regarding import/export wallet feature. The export feature is working for me and i have a backup created in my phone directory. While performing the import feature, credential.id and credential.key are coming undefined in logs. This error is related to file "importwalletconfirmation.tsx". After clicking the verify button it just keeps on loading and does not import wallet.

sairanjit commented 7 months ago

@himanshi4708 Are you still facing the above issue ?

amitpadmani-awts commented 2 weeks ago

@himanshi4708 Closing this issue due to lack of response. Please reopen if further assistance is needed.