{"id":984,"date":"2023-03-12T00:17:56","date_gmt":"2023-03-11T16:17:56","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=984"},"modified":"2023-04-29T13:24:09","modified_gmt":"2023-04-29T05:24:09","slug":"android-ndk-development-faqs","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/12\/android-ndk-development-faqs\/","title":{"rendered":"Android NDK\u5f00\u53d1\u5e38\u89c1\u95ee\u9898"},"content":{"rendered":"<h2>NDK\u8def\u5f84\u914d\u7f6e\u95ee\u9898<\/h2>\n<pre><code>ndk Error:A problem occurred configuring project &#039;:app&#039;.<\/code><\/pre>\n<p><!-- more --><\/p>\n<p>\u89e3\u51b3\u65b9\u6848\uff1a\u914d\u7f6e Android NDK location<\/p>\n<h2>native\u51fd\u6570\u8fd4\u56de\u503c\u95ee\u9898<\/h2>\n<p>C\u51fd\u6570\u7684\u8fd4\u56de\u503c\u7c7b\u578b\u4e00\u5b9a\u8981\u4e0enative\u51fd\u6570\u7684\u8fd4\u56de\u503c\u7c7b\u578b\u4e00\u81f4\uff0c\u5426\u5219\u62a5\u9519<\/p>\n<pre><code>Fatal signal 4 (SIGILL), code 1, fault addr 0xb34c2d62 in tid 10631 (.GaussBlurImage)<\/code><\/pre>\n<h2>error: unknown type name &#8216;JNIEXPORT&#8217;<\/h2>\n<p>c\/c++\u6587\u4ef6\u4e2d\u6ca1\u6709\u5bfc\u5165jni.h\u7684\u5934\u6587\u4ef6<\/p>\n<pre><code class=\"language-h\">#include &lt;jni.h&gt;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>NDK\u8def\u5f84\u914d\u7f6e\u95ee\u9898 ndk Error:A problem occurred configuring proj [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[269],"class_list":["post-984","post","type-post","status-publish","format-standard","hentry","category-android-ndk","tag-ndk"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=984"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/984\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}