{"id":1228,"date":"2023-03-18T09:15:53","date_gmt":"2023-03-18T01:15:53","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1228"},"modified":"2023-04-29T09:35:52","modified_gmt":"2023-04-29T01:35:52","slug":"atlas-plugin-called-so-dynamic-link-library-and-reported-an-error-libxxx-so-is-a-32-bit-install-of-64-bit","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/18\/atlas-plugin-called-so-dynamic-link-library-and-reported-an-error-libxxx-so-is-a-32-bit-install-of-64-bit\/","title":{"rendered":"Atlas\u63d2\u4ef6\u8c03\u7528so\u52a8\u6001\u94fe\u63a5\u5e93\u62a5\u9519libxxx.so is 32-bit instead of 64-bit\u89e3\u51b3"},"content":{"rendered":"<p>\u572864\u4f4d\u7684Android\u673a\u5668\u4e0a\uff0c\u4f1a\u670932\u4f4d\u7684\u865a\u62df\u673a\u548c64\u4f4d\u7684\u865a\u62df\u673a\uff0c\u542f\u52a8apk\u7684\u65f6\u5019\uff0c\u865a\u62df\u673a\u4f1a\u6839\u636eapk\u4e2d\u7684so\u7684\u4f4d\u6570\u542f\u52a8\u5bf9\u5e94\u7684\u865a\u62df\u673a\u3002<\/p>\n<p>\u53c2\u8003\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/github.com\/singwhatiwanna\/dynamic-load-apk\/issues\/113\">https:\/\/github.com\/singwhatiwanna\/dynamic-load-apk\/issues\/113<\/a><\/p>\n<p>\u9519\u8bef\u539f\u56e0\uff1aAtlas host\u4e2d\u5305\u542b<code>arm64-v8a<\/code>\u67b6\u6784\u7684so\u5e93\uff0c\u56e0\u6b64app\u8fd0\u884c\u52a0\u8f7d64\u4f4d\u865a\u62df\u673a\uff0c\u800cAtlas bundle\u4e2d\u9ed8\u8ba4\u52a0\u8f7d\u7684\u662f32\u4f4dso\u5e93<\/p>\n<p><!-- more --><\/p>\n<p>\u89e3\u51b3\u65b9\u6848\uff1a\u8bbe\u7f6eAtlas host\u548cbundle\u5747\u9ed8\u8ba4\u53ea\u52a0\u8f7d32\u4f4dso\u5e93\uff0c\u901a\u5e38\u53ea\u52a0\u8f7d<code>armeabi<\/code>\u67b6\u6784\u52a8\u6001\u94fe\u63a5\u5e93\u5373\u53ef<\/p>\n<pre><code class=\"language-java\">android.defaultConfig.ndk {\n    abiFilters  &quot;armeabi&quot;, \/*&#039;armeabi-v7a&#039;, &quot;arm64-v8a&quot;, *\/&#039;x86&#039;\n}\n\nandroid.sourceSets {\n    main {\n        jniLibs.srcDirs = [&#039;libs&#039;]\n    }\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u572864\u4f4d\u7684Android\u673a\u5668\u4e0a\uff0c\u4f1a\u670932\u4f4d\u7684\u865a\u62df\u673a\u548c64\u4f4d\u7684\u865a\u62df\u673a\uff0c\u542f\u52a8apk\u7684\u65f6\u5019\uff0c\u865a\u62df\u673a\u4f1a\u6839\u636eapk\u4e2d\u7684s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[275],"tags":[],"class_list":["post-1228","post","type-post","status-publish","format-standard","hentry","category-atlas"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1228","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=1228"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1228\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}