小编Har*_*tti的帖子

com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable

当我尝试构建 APK 时会出现此问题。否则,当我运行该应用程序时,它运行时不会出现任何问题。

这是详细信息的 logcat:

Execution failed for task ':app:packageGeneralQaDebug'.
> Multiple task action failures occurred:
   > A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
      > java.io.IOException: Failed to create '/Users/muhammad/Documents/Example/app/build/outputs/apk/appGeneralQa/debug/example.apk'
   > A failure occurred while executing

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Run Code Online (Sandbox Code Playgroud)

android build gradle apk android-studio

6
推荐指数
1
解决办法
3572
查看次数

无法解决:com.google.firebase:firebase-auth:11.0.2

我刚刚更新了sdk,google play服务和google存储库,但仍然发生了这个错误.请帮忙,我想使用电话号码整合身份验证.

SDK Manager

logcat的

Build.gradle模块:项目

    // Top-level build file where you can add configuration options common to all sub-projects/module
return
 buildscript {
    ext.kotlin_version = '1.1.3-2'
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.2'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.google.gms:google-services:3.1.0'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}
allprojects {
    repositories {
        jcenter()
    }
}
task clean(type: Delete) {
    delete rootProject.buildDir
}
Run Code Online (Sandbox Code Playgroud)

Build.gradle模块:App

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'


android …
Run Code Online (Sandbox Code Playgroud)

android firebase build.gradle android-gradle-plugin firebase-authentication

-1
推荐指数
1
解决办法
2206
查看次数