WavesSDK-android icon indicating copy to clipboard operation
WavesSDK-android copied to clipboard

Bad Domumentation

Open Almirant-fujhitora opened this issue 6 years ago • 0 comments

Im geting this error from wavesj " java.lang.NoSuchFieldError: No static field INSTANCE of type Lorg/apache/http/conn/ssl/AllowAllHostnameVerifier; in class Lorg/apache/http/conn/ssl/AllowAllHostnameVerifier; or its superclasses (declaration of 'org.apache.http.conn.ssl.AllowAllHostnameVerifier' appears in /system/framework/framework.jar:classes2.dex) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.(SSLConnectionSocketFactory.java:144) " on android studio, sdk 28.

I had to move from wavesj to waves android SDK, but the documentation is Bad! This is my 3 day and nothing is working, i found this domumentation error in the beguining and im giving up!

" fun seedPhraseGeneration() { // Generate or add your seed-phrase val newSeed: String = WavesCrypto.randomSeed() // Get address by seed-phrase val address: String = WavesCrypto.addressBySeed(newSeed) } "

but you get a error becose:

some thing is wrong here: WavesCrypto.addressBySeed(newSeed)

if you go to WavesCrypto methos you will find this: fun addressBySeed(seed: Seed, chainId: String?): Address

you have one parameter in the totorial, but 2 parameters on documentation!

please, update wavesj or write a tototial without error, or make it clear it.

I like waves, and i used it for my older apps becouse of it simplicty... help!

Almirant-fujhitora avatar Sep 25 '19 01:09 Almirant-fujhitora