Skip to content

parkingwang/tencent-library

 
 

Repository files navigation

Tencent Library

Library Latest Version
CrashReport Download
CrashReport Upgrade Download
TBS Download
Mid 已停止维护,请使用官方的库。
MTA Download

用于将腾讯的一些公共第三方库打包为AAR并上传,以方便集成。 需要添加repository声明:

    jcenter()
    maven { url 'https://dl.bintray.com/msdx/maven'} // use this if the artifact wasn't included in jcenter.

CrashReport

Bugly的升级包虽然出了aar包及依赖,但是里面并没有打包所需的AndroidManifest及其他资源文件,所以这里对其再次打包并发布。

Gradle 依赖:

    compile 'com.githang.tencent:crashreport:2.4.0'

注意:上面的依赖不包含nativecrashreport,如果需要,请添加以下依赖:

    compile 'com.tencent.bugly:nativecrashreport:3.1.2'

CrashReport Upgrade

Bugly的升级sdk依赖虽然包含了AndroidManifest及其他资源文件,但是没有包含混淆规则,所以这里对其再次打包并发布。

Gradle 依赖:

    compile 'com.githang.tencent:crashreport_upgrade:1.3.5'

注意:上面的依赖不包含nativecrashreport,如果需要,请添加以下依赖:

    compile 'com.tencent.bugly:nativecrashreport:3.1.0'

TBS x5内核

    implementation 'com.githang.tencent:tbs:3.6.0.1371'

Mid

请使用如下官方地址,目前最新版本为: Download

compile 'com.tencent.mid:mid:3.72.4-alpha'

MTA

so: arm64-v8a, armeabi, armeabi-v7a, mips, mips64, x86, x86_64

Gradle 依赖:

compile 'com.githang.tencent:mta:3.1.41-alpha'

AndroidManifest.xml

    <meta-data android:name="TA_APPKEY" android:value="ABCDEFG12233456"/>
    <!-- 请将value改为app发布对应的渠道,不同的发布渠道使用不同的名字 < -->
    <meta-data android:name="InstallChannel" android:value="play"/>
    <!-- 注意:若填写的渠道为纯数字字符串类型,请不要超过int表示的范围! < -->

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published