我在创建包含依赖项的aar文件时遇到问题。我的库有两种类型的依赖项。第一个是jar文件,第二个是spongycastle项目,它作为模块添加到我的项目中。 jar文件没问题,但是spongycastle模块不行。当第三方应用程序从使用spongycastle函数之一的aar文件调用函数时,它会冻结。当我从我的aar文件函数评论spongycastle函数调用时,它的工作原理。任何人都可以帮我解决我的问题? 我的aar文件gradle脚本:
Sub Macro6()
'
' Macro6 Macro
'
'
Sheets("Midwest Log").Select
Range("A1").Select
Selection.SpecialCells(xlCellTypeVisible).Select
Selection.Copy
Sheets.Add After:=Sheets(Sheets.Count)
Sheets(Sheets.Count).Name = "MW Log"
Application.CutCopyMode = False
Sheets("MW Log").Paste
Columns("A:I").Select
Columns("A:I").EntireColumn.AutoFit
Rows("4:4").Select
ActiveWindow.FreezePanes = True
Range("A1").Select
End Sub
pkix gradle script:
apply plugin: 'com.android.library'
android {
compileSdkVersion 21
buildToolsVersion "23.0.3"
defaultConfig {
minSdkVersion 13
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:21.0.3'
compile project(':pkix')
compile files('libs/ccidlib-v1.2.3.jar')
}
核心:
apply plugin: 'java'
dependencies {
//compile project(':extern:spongycastle:core')
//compile project(':extern:spongycastle:prov')
compile project(':core')
compile project(':prov')
compile files('libs/ccidlib-ASR18U-v1.2.5.jar')
}
sourceCompatibility = 1.5
targetCompatibility = 1.5
version = '1.51.0.0'
省:
apply plugin: 'java'
dependencies {
}
sourceCompatibility = 1.5
targetCompatibility = 1.5
version = '1.51.0.0'
PG:
apply plugin: 'java'
dependencies {
//compile project(':extern:spongycastle:core')
compile project(':core')
}
sourceCompatibility = 1.5
targetCompatibility = 1.5
version = '1.51.0.0'
提前致谢。
穆赫辛