nrikiji / cordova-line-login-plugin

A cordova plugin for easy implementation of LINE login using LineSDK.
Apache License 2.0
21 stars 23 forks source link

Android build error #10

Closed felaray closed 6 years ago

felaray commented 6 years ago

Hi, I can't build on andorid and error on "LineAccessToken" ( LineLogin.java line53) please add "import com.linecorp.linesdk.LineAccessToken;" into LineLogin.java

thanks!

nrikiji commented 6 years ago

Please tell me the development environment and version of various tools.

felaray commented 6 years ago

Tools: CLI: Command for windows10 IDE: vscode 1.26.1 Device: Android phone

>cordova -v
8.0.0
>cordova create CordovaLineLogin
>cordova plugin add https://github.com/nrikiji/cordova-line-login-plugin.git --variable LINE_CHANNEL_ID=xxx

>cordova plugin
cordova-line-login-plugin 0.3.3 "Line Login"
>cordova platform add android
Saving android@~7.0.0 into config.xml file ...

I used VScode to build and run on my phone. Then I got an error on line53. So I modified the java file,It's working.

nrikiji commented 6 years ago

Thanks. Is this issue settled? In my mac environment it did not reproduce with cordova 8.

Is it specific to windows? I have no windows terminal at hand and I can not verify it...

Please tell me if there is a solution.

felaray commented 6 years ago

I am not sure, because I am not an Ionic project. And my solution is just to add that code. If there is no problem, maybe I am a special case.

nrikiji commented 6 years ago

sorry. I could confirm it even in my environment. There was an error in the verification method. I modified it so I will close it.

https://github.com/nrikiji/cordova-line-login-plugin/commit/9c86d00c97f5415752f7727444877c55f0bf38b3

thanks.