RemoteMonster Community

UnpackAecdump 에러 문의

UnpackAecdump 를 통해 인코딩 진행시, 아래와 같은 에러가 발생합니다.

firestore 와 충돌을 일으키는 듯 합니다.
다른사람과 영통을 하고 생긴 원본 녹음파일을 UnpackAecdump.run 할때 아래 에러가 발생하는 듯 보입니다.

커뮤니티에 Chance 님이 답주신대로
configurations {
implementation.exclude module:‘protobuf-java’
}

를 하면 빌드는 되지만, UnpackAecdump.run 을 하면 아래의 에러가 뜹니다.
조언을 얻을 수 있을까요.

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/protobuf/GeneratedMessageV3;

Caused by: java.lang.ClassNotFoundException: Didn’t find class “com.google.protobuf.GeneratedMessageV3” on path: DexPathList[[zip file “/data/app/com.insiar.translator-7icK1zOtHSllPokxIxdJRg==/base.apk”],nativeLibraryDirectories=[/data/app/com.insiar.translator-7icK1zOtHSllPokxIxdJRg==/lib/arm64, /data/app/com.insiar.translator-7icK1zOtHSllPokxIxdJRg==/base.apk!/lib/arm64-v8a, /system/lib64]]

gradle 세팅입니다.

apply plugin: ‘com.android.application’
apply plugin: ‘kotlin-android’
apply plugin: ‘kotlin-android-extensions’
apply plugin: ‘kotlin-kapt’

android {
compileSdkVersion rootProject.compileSdkVersion
buildToolsVersion “29.0.3”

defaultConfig {
    applicationId "com.insiar.translator"
    minSdkVersion 19
    targetSdkVersion rootProject.targetSdkVersion
    versionCode rootProject.versionCode
    versionName rootProject.versionName

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    vectorDrawables.useSupportLibrary = true
    multiDexEnabled true

}



buildTypes {

    debug {
        versionNameSuffix = '-debug'
    }

    staging {
        versionNameSuffix = '-staging'
    }
    release {
        minifyEnabled true
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
    }
}

dataBinding {
    enabled true
}

compileOptions {
    sourceCompatibility 1.8
    targetCompatibility 1.8
}

kotlinOptions { jvmTarget = "1.8" }

configurations {
    implementation.exclude module:'protobuf-java'
}

}

dependencies {
implementation fileTree(dir: ‘libs’, include: [’*.jar’])

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$rootProject.kotlinVersion"

// UI
implementation "androidx.appcompat:appcompat:$rootProject.appcompatVersion"
implementation "androidx.fragment:fragment-ktx:$rootProject.fragmentVersion"
implementation "androidx.constraintlayout:constraintlayout:$rootProject.constraintLayoutVersion"
implementation "com.google.android.material:material:$rootProject.materialVersion"

// Architecture Components
implementation "androidx.lifecycle:lifecycle-extensions:$rootProject.lifecycleVersion"
kapt "androidx.lifecycle:lifecycle-compiler:$rootProject.lifecycleVersion"
implementation "androidx.navigation:navigation-fragment-ktx:$navigationVersion"
implementation "androidx.navigation:navigation-ui-ktx:$navigationVersion"

// Kotlin
implementation "androidx.core:core-ktx:$rootProject.coreVersion"
implementation "org.jetbrains.anko:anko:$rootProject.ankoVersion"

// Glide
implementation "com.github.bumptech.glide:glide:$rootProject.glideVersion"
annotationProcessor "com.github.bumptech.glide:compiler:$rootProject.glideVersion"

// Koin AndroidX Scope features
implementation "org.koin:koin-androidx-scope:$koin_version"
// Koin AndroidX ViewModel features
implementation "org.koin:koin-androidx-viewmodel:$koin_version"
// Koin AndroidX Fragment features
implementation "org.koin:koin-androidx-fragment:$koin_version"
// Koin AndroidX Experimental features
implementation "org.koin:koin-androidx-ext:$koin_version"

implementation "io.reactivex.rxjava2:rxjava:$rootProject.rxJavaVersion"
implementation "io.reactivex.rxjava2:rxkotlin:$rootProject.rxJavaVersion"
implementation "io.reactivex.rxjava2:rxkotlin:$rootProject.rxKotlinVersion"
implementation "io.reactivex.rxjava2:rxandroid:$rootProject.rxAndroidVersion"
implementation "com.jakewharton.rxbinding2:rxbinding:$rxBindingVersion"


// RemoteMonster SDK
api "com.remotemonster:sdk:$remoteMonster_version"

//  MultiDex
api "androidx.multidex:multidex:$multuDex_version" // min 21 이상이면 지워야함.

// retrofit
implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
implementation "com.squareup.retrofit2:converter-gson:$retrofitGsonVersion"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitRx_version"
implementation "com.google.code.gson:gson:$gsonVersion"
implementation("com.squareup.okhttp3:logging-interceptor:$retrofitLoggingVersion")

// sendbird
implementation "com.sendbird.sdk:sendbird-android-sdk:$rootProject.sendbirdVersion"

// ViewPager Indicator
implementation 'com.pm10:indicator:1.0.2'

// RecyclerView
implementation "androidx.recyclerview:recyclerview:$recyclerView_version"

// Firebase
implementation "com.google.firebase:firebase-analytics:$rootProject.firebaseAnalyticsVersion"
implementation "com.google.firebase:firebase-messaging:$rootProject.firebaseMessagingVersion"
implementation "com.google.firebase:firebase-firestore:$rootProject.firebaseFirestoreVersion"

// coroutines
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleRuntimeVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutineVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutineVersion"

// room
implementation "androidx.room:room-ktx:$roomVersion"
kapt "androidx.room:room-compiler:$roomVersion"

// stetho
implementation "com.facebook.stetho:stetho:$rootProject.stethoVersion"
implementation "com.facebook.stetho:stetho-okhttp3:$rootProject.stethoOkHttp"

// timber
api "com.jakewharton.timber:timber:$rootProject.timberVersion"

testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

}

apply plugin: ‘com.google.gms.google-services’