Android Process 'command 'D:\android_studio3\android studio3.1.2-sdk\Android\Android Studio\jre\bin\

1.错误如下:

Process 'command 'D:\android_studio3\android studio3.1.2-sdk\Android\Android Studio\jre\bin\java.exe'' finished with non-zero exit value 1

翻译:

进程“命令”D:\ANDROIDIOStudio3\Android Studio3.1.2-SDK\ Android \Android Studio jR\bin \java.exe’完成非零退出值1

我解决的方法是加上下面的:

compile 'com.android.support:appcompat-v7:27.0.2'

这是集成百家云时报的错,还添加了下面的代码:

implementation ('com.baijia.player:VideoplayerCore:2.0.0'){
        exclude group: 'com.android.support'
    }
maven { url 'http://git.baijiashilian.com/open-android/maven/raw/master/' }
 dexOptions {
        incremental true
        javaMaxHeapSize "4g"
    }
defaultConfig {
        multiDexEnabled true
        minSdkVersion 16
        targetSdkVersion 23
     
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        signingConfig signingConfigs.release
        ndk {
            //设置支持的SO库架构
//            abiFilters 'armeabi-v7a' , 'x86'//, 'armeabi-v7a', 'x86_64', 'arm64-v8a'
            abiFilters 'armeabi-v7a', 'armeabi', 'x86' //x86虚拟机测试用,发版可去掉
        }
        packagingOptions {
            exclude 'META-INF/rxjava.properties'
        }
//        multiDexEnabled true
    }
    dexOptions {
        incremental true
        javaMaxHeapSize "4g"
    }

百家云相关链接:百家云集成文档    文档

你可能感兴趣的:(Android常用的技术)