程式筆記
Javascript
NDK編譯動態庫.so錯誤 executing external native build for cmake
K
kidneyweakx
April 11, 2020 (Updated: December 17, 2025)
剛好在把C++的動態庫加入flutter中,想說寫個Native Java版試試看,結果遇到了這種鬼問題😱😱😱。
Java
bug: Error > "executing external native build for cmake"
本來以為是CMakeLists.txt裡面有一些語法問題,結果仔細改寫了一下,問題依舊。
參考了這篇 想說有可能會改善,結果還是執行到一半報相同的錯誤。
HMMMM🤔......中間又各種改build.gradle和cmake,發現怎麼解都無法編譯成功。
翻了一下留言看到這個解法 。
把我的gradle版本降級到3.2.1竟然就可以編譯了
我猜是因為SDK工具缺少一些依賴的工具吧~不過也沒有想要釐清的意思,繼續當搬磚仔,解決這個問題才是惡夢的開始呢。
Related Articles
→
LOG-DC6
No File is an Island: Unraveling Swift Dependencies and Architecture
> > In the world of Swift, we are accustomed to the power of Xcode and clean syntax. However, as a project's scale grows, an invisible monster begins to haunt the...
[程式筆記][Swift]
@kidneyweakx→
LOG-FE5
Saved by the Logs: How to Recover a Forgotten Keystore Password via IDE Build Logs.
> > The greatest distance in the world is when the password is right in the IDE, but I can't see it
[程式筆記][Android]
@kidneyweakx→
LOG-912
Hexo升級V5排除疑難雜症
> 因為剛好把電腦重灌,然後這個blog就躺在D槽等著我幫他換新的環境,然後他就被我快樂的升級了。
[程式筆記][Javascript][hexo]
@kidneyweakx