折騰了好久好久的Qt,原本配好的android sdk,在我更新組件后,居然又崩了?。。I目,
?出現(xiàn)的問題如下:
×Android SDK Command-line Tools run.
×Android Platform-Tools installed.
問題顯示,cmdline tools工具已經(jīng)安裝,但是沒有運(yùn)行,androidplatformsdk沒有安裝,,
翻遍了csdn,多次嘗試無果,最終參考記錄:Qt Creator 10配置安卓開發(fā)環(huán)境_qt安卓開發(fā)_龔建波的博客-CSDN博客一文發(fā)現(xiàn),是由于Command-line Tools (latest) 版本過高導(dǎo)致報(bào)錯(cuò),聯(lián)想到剛剛更新了組件,想到有些道理,解決方案如下:
重新下載舊版本的cmdtools 替換最新版本,問題得到解決。
具體操作:
在SDK安裝目錄找到cmdline-tools,進(jìn)入,點(diǎn)擊latest,進(jìn)入。
從以下網(wǎng)址選擇對應(yīng)的cmdline tools版本,
"sdk_tools_url": {
"linux": "https://dl.google.com/android/repository/commandlinetools-linux-9123335_latest.zip",
"linux_sha256": "0bebf59339eaa534f4217f8aa0972d14dc49e7207be225511073c661ae01da0a",
"windows": "https://dl.google.com/android/repository/commandlinetools-win-9123335_latest.zip",
"windows_sha256": "8a90e6a3deb2fa13229b2e335efd07687dcc8a55a3c544da9f40b41404993e7d",
"mac": "https://dl.google.com/android/repository/commandlinetools-mac-9123335_latest.zip",
"mac_sha256": "d0192807f7e1cd4a001d13bb1e5904fc287b691211648877258aa44d1fa88275"
}
我的是windows,所以選擇“https://dl.google.com/android/repository/commandlinetools-win-9123335_latest.zip”,下載后解壓縮,替換掉之前l(fā)atest中的文件。文章來源:http://www.zghlxwxcb.cn/news/detail-718659.html
重新打開Qt安卓環(huán)境配置界面,顯示更新,完畢!?。?!折磨了三天的error終于解決了!?。。。?!文章來源地址http://www.zghlxwxcb.cn/news/detail-718659.html
到了這里,關(guān)于Qt安裝安卓環(huán)境報(bào)錯(cuò)!??!解決方案!折磨了兩天終于解決了!??!的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!