Android -Kaltura SDK集成

时间:2016-01-28 08:26:28

标签: android kaltura

我已经下载了Kaltura SDK并集成到我的项目中,我收到了以下错误,但是当我运行演示应用程序时,我可以运行它。

    Error:Execution failed for task ':playerSDK:transformNative_libsWithSyncJniLibsForRelease'.
> java.io.FileNotFoundException: /Users/aaaa/AndroidWorkplace/MediaShare/playerSDK/build/intermediates/bundles/release/jni/lib/armeabi/libHLSPlayerSDK.so (No such file or directory)

这是我的gradle文件:

 buildscript {
    repositories {
        maven { url 'https://maven.fabric.io/public' }
    }

    dependencies {
        classpath 'io.fabric.tools:gradle:1.+'
    }
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

repositories {
    maven { url 'https://maven.fabric.io/public' }
}


android {
    compileSdkVersion 23
    buildToolsVersion "23.0.0"

    defaultConfig {
        applicationId "com.aaaa.testSample"
        minSdkVersion 19
        targetSdkVersion 23
        versionCode 1
        versionName "0.1"
        multiDexEnabled true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    useLibrary 'org.apache.http.legacy'
    packagingOptions {
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
        exclude 'META-INF/ASL2.0'
    }


}


dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile project(':playerSDK')
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.0.0'

    compile 'com.android.support:design:23.0.0'

    compile ('org.apache.httpcomponents:httpmime:4.5'){
        exclude group: 'org.apache.httpcomponents', module: 'httpclient'
    }

    compile('com.crashlytics.sdk.android:crashlytics:2.5.5@11sd') {
        transitive = true;
    }
    compile files('libs/gson-2.2.4.jar')

}

对此有何支持?

0 个答案:

没有答案