I figured that beside LINE Messaging API SDK, I need to add okhttp3, retrofit, okio, etc ( about 17 additional libraries). After included all of additional libraries, it works.
@ksyt: Thank for reply me.
what happens if you write channel-access-token directly in the code? It is same result. There is still 502 error.
did you read error message? I cannot see any error message except 502 error of nginx. Is there any way to catch error when run build()?
LineMessagingClient.builder(channel_token).build();Is that enough if I config only channel_token for connect to LINE server?
- what happens if you write channel-access-token directly in the code?
- did you read error message?