gpt4 book ai didi

Android Studio 2.0 - 错误 :Execution failed for task app:compileDebugAidl

转载 作者:太空宇宙 更新时间:2023-11-03 12:48:40 26 4
gpt4 key购买 nike

将我的 Android Studio 1.5 升级到 2.0 并将我的 Android SDK 工具升级到 25.1.1 并将 Android SDK 构建工具 23.0.3 和 gradle 插件升级到版本 2.0.0 后,我收到此错误:

 Error:Execution failed for task ':app:compileDebugAidl'.
> java.lang.RuntimeException: org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/home/rasool/android/adt.../sdk/build-tools/23.0.3/aidl''

enter image description here

enter image description here

enter image description here

最佳答案

问题是我运行的是 64 位版本的 linux 并且最近更改了我的操作系统,我忘记安装必要的 32 位库。

在 Ubuntu 中:

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

在 Fedora 中:

sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686

如果你在 Ubuntu 中遇到这个错误:

E: Unable to locate package lib32bz2-1.0
E: Couldn't find any package by glob 'lib32bz2-1.0'
E: Couldn't find any package by regex 'lib32bz2-1.0'

你可以跳过这个库并使用这个命令:

sudo apt-get install lib32z1 lib32ncurses5 lib32stdc++6

关于Android Studio 2.0 - 错误 :Execution failed for task app:compileDebugAidl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36823360/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com