首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >android imsdk4.4.479更新4.9.1呼叫getSDKVersionStr()崩潰?

android imsdk4.4.479更新4.9.1呼叫getSDKVersionStr()崩潰?

提问于 2020-08-18 16:02:02
回答 0关注 0查看 337

我根據這邊的方法一做更新套件

https://cloud.tencent.com/document/product/269/32679

想從com.tencent.imsdk:imsdk:4.4.479' 更新到4.9.1

但改版本號sync 一跑起來就crash了

2020-08-14 18:42:24.110 14794-14794/com.baulong.phonelive E/CrashReport: java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String com.tencent.liteav.basic.util.TXCCommonUtil.nativeGetSDKVersion() (tried Java_com_tencent_liteav_basic_util_TXCCommonUtil_nativeGetSDKVersion and Java_com_tencent_liteav_basic_util_TXCCommonUtil_nativeGetSDKVersion__)

        at com.tencent.liteav.basic.util.TXCCommonUtil.nativeGetSDKVersion(Native Method)

        at com.tencent.liteav.basic.util.TXCCommonUtil.getSDKVersionStr(TXCCommonUtil.java:55)

        at com.tencent.rtmp.TXLiveBase.getSDKVersionStr(TXLiveBase.java:177)

我那個module的gradle apply plugin: 'com.android.library' android { compileSdkVersion rootProject.ext.android.compileSdkVersion buildToolsVersion rootProject.ext.android.buildToolsVersion compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } defaultConfig { minSdkVersion rootProject.ext.android.minSdkVersion targetSdkVersion rootProject.ext.android.targetSdkVersion versionCode rootProject.ext.android.versionCode versionName rootProject.ext.android.versionName manifestPlaceholders = rootProject.ext.manifestPlaceholders ndk { abiFilters "armeabi-v7a", "arm64-v8a" } javaCompileOptions { annotationProcessorOptions { arguments = [AROUTER_MODULE_NAME: project.getName()] } } } buildFeatures { viewBinding true } buildTypes { debug { ext.alwaysUpdateBuildId = false } release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } aaptOptions { cruncherEnabled = false useNewCruncher = false } } repositories { flatDir { dirs 'libs', '../libs' } } dependencies { implementation 'androidx.constraintlayout:constraintlayout:1.1.3' compile fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.12' //common compile project(':common') //腾讯IM implementation('com.tencent.imsdk:imsdk:4.4.479') annotationProcessor rootProject.ext.dependencies["arouter-compiler"] implementation 'com.github.cfw1992:SoundPlayer:1.0.0' }

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档