line / line/line-sdk-android

Build failed on AGP 4.2.2 when target/compileSdkVersion 34

Open
#157 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
149
Forks
54
PR merge metrics
No merged PRs in 30d

Description

What did you do?

I change targetSdkVersion and compileSdkVersion 33 to 34.

What did you expect?

Build Successful.

What happened actually?

Build failed when I changed targetSdkVersion and compileSdkVersion 33 to 34.

Your environment?

LINE SDK version: 5.7.0
Android Studio Version: Giraffe 2022.3.1 Patch 3
Android Version: android 14(API level 34)
AGP 4.2.2 / gradle 6.7.1 / targetSdkVersion 34 / compileSdkVersion 34 / buildToolsVersion 30.0.3

Sample project

Set environment to

AGP 4.2.2 / gradle 6.7.1 / targetSdkVersion 34 / compileSdkVersion 34 / buildToolsVersion 30.0.3

At build.gradle(app) file
Add dependency

implementation ('com.linecorp.linesdk:linesdk:5.7.0')

It's the same even if I change to the latest version

implementation 'com.linecorp.linesdk:linesdk:latest.release'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the app/build.gradle dependency declaration and reproduce the build using AGP 4.2.2, Gradle 6.7.1, compileSdkVersion 34, and the listed LINE SDK versions. Capture the exact build failure and determine whether the requested configuration can build successfully or requires a documented compatibility constraint.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.