line / line-sdk-unity

Provides a modern way of implementing LINE APIs in Unity games, for iOS and Android.
https://developers.line.biz/
Apache License 2.0
117 stars 24 forks source link

Gradle build failed. linesdk:5.1.1 #51

Closed app-chain-hagio closed 1 year ago

app-chain-hagio commented 1 year ago

pelase help me. I was able to build without problems until yesterday.

onevcat commented 1 year ago

@plateaukao I guess this is a similar case as https://github.com/line/flutter_line_sdk/issues/78

Can you also check and give it a fix? Thanks!

onevcat commented 1 year ago

Version 1.2.2 was released and should contain the fix for this issue. Please try to upgrade from the release page.

coly-yabuhana-365 commented 1 year ago

@onevcat I am having the same problem. I have updated to Version 1.2.2, but the 'line-sdk-unity-wrapper-release.aar' has not been updated, so I am still getting the same error in Unity as I did before the fix.

Also, when I try to build 'line-sdk-unity-wrapper' myself using AndroidStudio, I get the error 'Failed to resolve: com.linecorp:linesdk:5.8.1'.

I checked https://repo.maven.apache.org/maven2/com/linecorp/ and the path is 'com/linecorp/linesdk/linesdk/5.8.1'. In mainTemplate.gradle, do I have to specify 'implementation com.linecorp.linesdk:linesdk:5.8.1'?

onevcat commented 1 year ago

Another fix should be applied to 1.3.0 and now the build passes without issues. Ref: https://github.com/line/line-sdk-unity/releases/tag/1.3.0