build problem: Missing class com.linecorp.linesdk.BR
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?
run release build:
buildTypes {
getByName("release") {
isMinifyEnabled = false
isShrinkResources = false
isCrunchPngs = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
What did you expect?
build success
What happened actually?
build fail and show:
Missing class com.linecorp.linesdk.BR (referenced from: boolean com.linecorp.linesdk.databinding.OpenChatInfoFragmentBindingImpl.onChangeViewModelChatroomName(androidx.lifecycle.MutableLiveData, int) and 1 other context)
my solve way
add -dontwarn com.linecorp.linesdk.BR in proguard-rules.pro
environment
LINE SDK version:5.8.1
Android Studio version:Android Studio Flamingo | 2022.2.1
AGP:8.0
Gradle:8.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the release build with LINE SDK 5.8.1, AGP 8.0, and Gradle 8.0, then inspect the release configuration and proguard-rules.pro alongside the reported OpenChatInfoFragmentBindingImpl error. Done means the release build completes without the missing com.linecorp.linesdk.BR class error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100