A problem occurred starting process 'command aidl'

環境:Ubuntu 16.04(64位)
今天在 jenkins 上構建android項目的時候,報錯了:

11:56:42 * What went wrong:
11:56:42 Execution failed for task ':framework:DroidPlugin:compileReleaseAidl'.
11:56:42 > java.lang.RuntimeException: org.gradle.process.internal.ExecException: A problem occurred starting 
process 'command '/XXXXXX/android/android-sdk-linux/build-tools/23.0.2/aidl''

百度:得到的結果是說 compileSdkVersion 和 buildToolsVersion 不匹配導致的,但是我查看了我的 build.gradle 文件它們是匹配的。然後我就想起了強大的google


Google:http://stackoverflow.com/questions/36823360/android-studio-2-0-errorexecution-failed-for-task-appcompiledebugaidl

原因:因爲我的系統是64位的Ubuntu,需要安裝幾個32位的庫纔可以。


隨後我又想起了,我在Ubuntu電腦上下載Android Studio的時候看到過這個東東(安裝說明下拉選擇Linux)
https://developer.android.google.cn/studio/install.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章