无法构建 Rocket.Chat.Android:任务“:app:compileSdk”失败
Cannot build the Rocket.Chat.Android: fails at task ':app:compileSdk'
尝试构建应用程序时,它在构建过程中失败并出现错误
Execution failed for task ':app:compileSdk'.
Process 'command 'cmd'' finished with non-zero exit value -1073741819
只有在 Git Bash window 弹出窗口后才会发生这种情况,其中看起来像是 build-sdk.sh 脚本输出的开始。
同时使用 Android Studios Run > Run app
和命令 ./gradlew assembleDebug
时会发生这种情况。我已经构建了 sdk,生成的文件位于 app/libs.
我正在使用 Rocket.Chat.Android 的开发分支,Android Studio Preview 的最新版本,我的 gradle 版本是 4.9。
为什么会发生这种情况,有什么办法可以解决吗?
问题是因为 Git Bash 的版本过时(Git 对应 Windows)。
更新到最新版本后 (version 2.19.0.windows.1
) 我可以编译 运行 应用程序
尝试构建应用程序时,它在构建过程中失败并出现错误
Execution failed for task ':app:compileSdk'.
Process 'command 'cmd'' finished with non-zero exit value -1073741819
只有在 Git Bash window 弹出窗口后才会发生这种情况,其中看起来像是 build-sdk.sh 脚本输出的开始。
同时使用 Android Studios Run > Run app
和命令 ./gradlew assembleDebug
时会发生这种情况。我已经构建了 sdk,生成的文件位于 app/libs.
我正在使用 Rocket.Chat.Android 的开发分支,Android Studio Preview 的最新版本,我的 gradle 版本是 4.9。
为什么会发生这种情况,有什么办法可以解决吗?
问题是因为 Git Bash 的版本过时(Git 对应 Windows)。
更新到最新版本后 (version 2.19.0.windows.1
) 我可以编译 运行 应用程序