package com.test.loginlibrary;
import android.content.Context;
import com.tencent.tendinsv.OneKeyLoginManager;
import com.tencent.tendinsv.listener.InitListener;
public class LoginManager {
private static volatile LoginManager instance = null;
public static LoginManager getInstance() {
if (instance == null) {
synchronized (LoginManager.class) {
if (instance == null) {
instance = new LoginManager();
}
}
}
return instance;
}
private LoginManager() {
}
public void init(Context context) {
OneKeyLoginManager.getInstance().setDebug(true);
OneKeyLoginManager.getInstance().init(context, "121", new InitListener() {
@Override
public void getInitStatus(int i, String s) {
}
});
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
aar包合并打包;module引用第三方aar包;library依赖aar包
共110个文件
bin:19个
xml:17个
lock:12个
需积分: 1 14 下载量 175 浏览量
2022-12-13
16:25:14
上传
评论
收藏 2.26MB ZIP 举报
温馨提示
本示例主要解决module中引用aar包依赖报错的问题,及aar包合并打成新aar包的问题。aar合并打包报错解决方案,library、module集成aar包报Execution failed for task ':app:mergeDebugNativeLibs、Could not resolve all dependencies for configuration 。如果你想将module打成aar包供其他项目使用,可以使用本示例解决。将aar包集成改为jar包集成。即将aar后缀改为zip,解压出jar包及资源文件(如果有),将jar包及资源文件(如果有)复制到相应的目录,按照jar包的方式集成。如果aar包中有通过R.id./R.layout.等方式调用资源文件,这种集成方式可能会报资源文件找不到。module中引用aar包,需要在project的build中配置路径,flatDir { dirs '../mylibrary/libs' }或者flatDir { dirs project(':mylibrary').file('libs') },需要注意的是,如果你更新了新版
资源推荐
资源详情
资源评论
收起资源包目录
aar包合并打包;module引用第三方aar包;library依赖aar包 (110个子文件)
test.aar 448KB
gradlew.bat 2KB
classAnalysis.bin 1.41MB
executionHistory.bin 1.25MB
executionHistory.bin 812KB
fileHashes.bin 243KB
classAnalysis.bin 102KB
jarAnalysis.bin 94KB
fileHashes.bin 90KB
outputFiles.bin 53KB
taskHistory.bin 40KB
sha1-checksums.bin 37KB
jarAnalysis.bin 27KB
taskHistory.bin 26KB
md5-checksums.bin 20KB
resourceHashesCache.bin 19KB
resourceHashesCache.bin 18KB
fileHashes.bin 18KB
last-build.bin 1B
last-build.bin 1B
last-build.bin 1B
.gitignore 240B
.gitignore 50B
.gitignore 6B
.gitignore 6B
build.gradle 713B
build.gradle 689B
build.gradle 688B
settings.gradle 68B
gradlew 5KB
AarTest.app.main.iml 4KB
AarTest.mylibrary.main.iml 4KB
AarTest.mylibrary.androidTest.iml 3KB
AarTest.app.androidTest.iml 3KB
AarTest.mylibrary.iml 3KB
AarTest.app.iml 3KB
AarTest.mylibrary.unitTest.iml 3KB
AarTest.app.unitTest.iml 3KB
AarTest.iml 946B
gradle-wrapper.jar 53KB
LoginManager.java 910B
ExampleInstrumentedTest.java 769B
ExampleInstrumentedTest.java 761B
MainActivity.java 421B
ExampleUnitTest.java 390B
ExampleUnitTest.java 382B
fileHashes.lock 17B
buildOutputCleanup.lock 17B
executionHistory.lock 17B
dependencies-accessors.lock 17B
fileHashes.lock 17B
checksums.lock 17B
executionHistory.lock 17B
javaCompile.lock 17B
fileContent.lock 17B
fileHashes.lock 17B
executionHistory.lock 17B
javaCompile.lock 17B
.name 7B
ic_launcher_round.png 16KB
ic_launcher_round.png 12KB
ic_launcher.png 10KB
ic_launcher.png 8KB
ic_launcher_round.png 7KB
ic_launcher_round.png 5KB
ic_launcher.png 5KB
ic_launcher.png 4KB
ic_launcher_round.png 3KB
ic_launcher.png 3KB
proguard-rules.pro 770B
proguard-rules.pro 750B
consumer-rules.pro 0B
gradle.properties 1KB
local.properties 419B
gradle-wrapper.properties 238B
cache.properties 51B
gc.properties 0B
gc.properties 0B
gc.properties 0B
gc.properties 0B
gc.properties 0B
gc.properties 0B
build_file_checksums.ser 0B
libCtaApiLib.so 507KB
libCtaApiLib.so 498KB
libCtaApiLib.so 491KB
libCtaApiLib.so 290KB
libCtaApiLib.so 274KB
libShanYCore.so 17KB
libShanYCore.so 17KB
libShanYCore.so 10KB
libShanYCore.so 10KB
libShanYCore.so 9KB
workspace.xml 11KB
ic_launcher_background.xml 6KB
ic_launcher_foreground.xml 2KB
modules.xml 2KB
Project_Default.xml 1KB
jarRepositories.xml 1KB
gradle.xml 939B
共 110 条
- 1
- 2
资源评论
BeyMyth
- 粉丝: 104
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功