我尝试在我的项目中包含kaltura/player-sdk-native-android库。
kaltura 在 maven 不提供编译版本。所以我尝试通过jitpack.io包含它
allprojects {
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.github.kaltura:player-sdk-native-android:v2.5.4'
}
但我收到此错误消息
/Users/ralphbergmann/development/android/frameworks/MyApplication/app/build.gradle
Error:Module 'com.github.kaltura:player-sdk-native-android:v2.5.4'
depends on one or more Android Libraries but is a jar
当我打开构建日志时,我可以看到子模块是作为 aar 构建的,但是如何通过 jitpack 加载它们?