Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle build failed. linesdk:5.1.1 #51

Closed
app-chain-hagio opened this issue Jun 23, 2023 · 4 comments
Closed

Gradle build failed. linesdk:5.1.1 #51

app-chain-hagio opened this issue Jun 23, 2023 · 4 comments
Assignees

Comments

@app-chain-hagio
Copy link

app-chain-hagio commented Jun 23, 2023

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

  • What went wrong:
    [2023-06-22T21:00:41Z - Unity] Could not determine the dependencies of task ':launcher:collectReleaseDependencies'.
    [2023-06-22T21:00:41Z - Unity] > Could not resolve all task dependencies for configuration ':launcher:releaseRuntimeClasspath'.
    [2023-06-22T21:00:41Z - Unity] > Could not find com.linecorp:linesdk:5.1.1.
    [2023-06-22T21:00:41Z - Unity] Searched in the following locations:
    [2023-06-22T21:00:41Z - Unity] - https://dl.google.com/dl/android/maven2/com/linecorp/linesdk/5.1.1/linesdk-5.1.1.pom
    [2023-06-22T21:00:41Z - Unity] - https://jcenter.bintray.com/com/linecorp/linesdk/5.1.1/linesdk-5.1.1.pom
    [2023-06-22T21:00:41Z - Unity] - file:/BUILD_PATH/pXXXXXXXXXX-release-android/unityFiles/PIA/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/linesdk-5.1.1.jar
    [2023-06-22T21:00:41Z - Unity] - file:/BUILD_PATH/XXXXXXXX-release-android/unityFiles/PIA/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/linesdk.jar
    [2023-06-22T21:00:41Z - Unity] - https://maven.google.com/com/linecorp/linesdk/5.1.1/linesdk-5.1.1.pom
    [2023-06-22T21:00:41Z - Unity] - file:/BUILD_PATH/XXXXXXXXX-release-android/unityFiles/PIA/Assets/GeneratedLocalRepo/Firebase/m2repository/com/linecorp/linesdk/5.1.1/linesdk-5.1.1.pom
    [2023-06-22T21:00:41Z - Unity] - file:/BUILD_PATH/.m2/repository/com/linecorp/linesdk/5.1.1/linesdk-5.1.1.pom
    [2023-06-22T21:00:41Z - Unity] - https://repo.maven.apache.org/maven2/com/linecorp/linesdk/5.1.1/linesdk-5.1.1.pom
    [2023-06-22T21:00:41Z - Unity] Required by:
    [2023-06-22T21:00:41Z - Unity] project :launcher > project :unityLibrary
@onevcat
Copy link
Member

onevcat commented Jun 27, 2023

@plateaukao I guess this is a similar case as line/flutter_line_sdk#78

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

@onevcat
Copy link
Member

onevcat commented Jul 4, 2023

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

@onevcat onevcat closed this as completed Jul 4, 2023
@shunsuke-yabuhana0coly-info
Copy link

shunsuke-yabuhana0coly-info commented Jul 4, 2023

@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
Copy link
Member

onevcat commented Sep 12, 2023

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

@onevcat onevcat closed this as completed Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants