アンドロイドをビルドしてエミュレータで実行する環境をセットアップしようとしています。最近私はAOSPに入って、それについていくつかの本を読んでいます。間でテキストを、これらのエラーの合計12で-makeを使ってAOSPをビルドする際のエラー
external/libcxx/include/cmath:1345:9: error: no member named 'llrint' in the global namespace; did you mean 'lrint'?
external/libcxx/include/cmath:1348:91: error: use of undeclared identifier 'llrintf'
external/libcxx/include/cmath:1349:91: error: use of undeclared identifier 'llrintl'
external/libcxx/include/cmath:1358:9: error: no member named 'llround' in the global namespace; did you mean 'lround'?
12 errors generated.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/hash.o] Error 1
make: *** Waiting for unfinished jobs....
12 errors generated.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/debug.o] Error 1
12 errors generated.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/random.o] Error 1
12 errors generated.
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/algorithm.o] Error 1
が、それらは全く同じですので、私はそれらすべてをコピーしていない:それを周りの混乱に自分自身を望む私は、次のエラーを得ました。 (これらのすべてがエラーです:{double L} [SOMETHING] "という意味のエラーはありませんでした);
これは、1:source build/envsetupの実行結果です。 sh 2:lunch 3:sudo make -j4
私はエルキャピタンを使用しており、the official instructionsに従っています。私が遭遇した唯一の問題は、XCodeが適切なSDKを含む/ developer/SDKsフォルダを作成しないため、SDKをGithubから手動でダウンロードしてSDKフォルダに入れたことです。これが問題である可能性はありますか?
ビルドしようとしているコードは、アンドロイド6.0.1_r1の未修正です。私はrepo-initとrepo syncを実行してみましたが(コードを修正するために)、効果はありませんでした。
私はそれが非常にわかりやすいと思っていますが、私はこれをどのように修正するのか手がかりがありません。前もって感謝します。