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 problem: Missing class com.linecorp.linesdk.BR #142

Open
RavenLiao opened this issue Apr 20, 2023 · 0 comments
Open

build problem: Missing class com.linecorp.linesdk.BR #142

RavenLiao opened this issue Apr 20, 2023 · 0 comments

Comments

@RavenLiao
Copy link

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

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

1 participant