Foreword: many issues can be fixed by applying certain steps from the Getting Started guide.
- No Greeter.java (wrapper code)
Solution:
- Download Solicity compiler (check the .sol file for version, currently 0.4.25 is needed for the file) and web3j cli.
- Follow this guide to generate the Java code you need
- Cannot resolve 'ethLogFlowable'
Solution: add into build.gradle
compile ('org.web3j:core:4.1.0') (Java 8)
compile ('org.web3j:core:4.1.0-android') (Android)
- RxJava dependency missing
Solution: add into build.gradle
implementation "io.reactivex.rxjava2:rxjava:2.x.y"
With x and y replaced by the version number found here.
Foreword: many issues can be fixed by applying certain steps from the Getting Started guide.
Solution:
Solution: add into build.gradle
compile ('org.web3j:core:4.1.0')(Java 8)compile ('org.web3j:core:4.1.0-android')(Android)Solution: add into build.gradle
implementation "io.reactivex.rxjava2:rxjava:2.x.y"With x and y replaced by the version number found here.