daohen / WbLibrary

针对微博常用的分享和登陆功能进行的二次封装

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

使用方法

首先在build.gradle中配置如下

allprojects {
    repositories {
        jcenter()
        maven { url 'https://jitpack.io' }
        maven { url "https://dl.bintray.com/thelasterstar/maven/" }
    }
}
dependencies {
    compile 'com.github.daohen:personalToolboxLibrary:xx'
    compile 'com.github.daohen:thirdPartyLibrary:xx'
    compile 'com.github.daohen:WbLibrary:xx'
}

上面依赖的其它两个libray详情可参照

personalToolboxLibrary

thirdPartyLibrary

关于所需要的so文件,已经放在根目录下的so文件夹下,需要哪些可自行添加,为避免与其它包so产生问题,就没有放到lib里面,需要自己放到主的项目的libs下面,不要忘记指定so的位置,如下

sourceSets{
    main{
        jniLibs.srcDirs = ['libs']
    }
}

关于混淆

-keep class com.sina.weibo.sdk.** { *; }

About

针对微博常用的分享和登陆功能进行的二次封装

License:Apache License 2.0


Languages

Language:Java 100.0%