当我试图构建APK时发生此问题。否则,当我运行应用程序时,它运行没有任何问题。
详细信息如下:
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.
FAILURE: Build failed with an exception.
- 哪里出错了:任务":app: packagerrelease"执行失败。
执行com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable时发生失败SigningConfig"release"缺少必需的属性"storeFile"
- 试题:使用——stacktrace选项运行以获取堆栈跟踪。使用——info或——debug选项运行以获得更多的日志输出。运行——scan以获得完整的见解。
- 在https://help.gradle.org获得更多帮助
simillar问题…