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

Build failed on AGP 4.2.2 when target/compileSdkVersion 34 #157

Open
LeeSeungYun1020 opened this issue Nov 15, 2023 · 5 comments
Open

Build failed on AGP 4.2.2 when target/compileSdkVersion 34 #157

LeeSeungYun1020 opened this issue Nov 15, 2023 · 5 comments

Comments

@LeeSeungYun1020
Copy link

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'
@bf234511171
Copy link

same failed for me

@vincent-paing
Copy link

What was the error message you got in the log?

@UncleYuan
Copy link

same failed for me,sdk chang the compileSdkVersion 34 is err ,but now app on google play is must to support compileSdkVersion 34。

@forfungame
Copy link

forfungame commented Jan 13, 2025

same failed for me,sdk chang the compileSdkVersion 34 is err ,but now app on google play is must to support compileSdkVersion 34。
compile errors:
Execution failed for task ':Quick:processReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
AAPT2 aapt2-4.2.2-7147631-windows Daemon #0: Unexpected error during link, attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.

How to solve this problem, please help~

@forfungame
Copy link

What was the error message you got in the log?
compile errors:
Execution failed for task ':Quick:processReleaseResources'.
A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
AAPT2 aapt2-4.2.2-7147631-windows Daemon #0: Unexpected error during link, attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.

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

5 participants