{"id":1291,"date":"2023-03-18T10:18:09","date_gmt":"2023-03-18T02:18:09","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1291"},"modified":"2023-04-29T09:19:19","modified_gmt":"2023-04-29T01:19:19","slug":"android-references-dynamic-link-so-library","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/18\/android-references-dynamic-link-so-library\/","title":{"rendered":"Android\u5f15\u7528\u52a8\u6001\u94fe\u63a5so\u5e93\u8e29\u5751\u8bb0\u5f55"},"content":{"rendered":"<h2>libcrypto.so<\/h2>\n<p>\u5de8\u5751\uff1a\u5728Android 5.0\u53ca\u4ee5\u4e0b\u7cfb\u7edf\u4e2d\uff0c\u52a8\u6001\u94fe\u63a5\u5e93\u7684\u540d\u79f0\u4e0d\u80fd\u4f7f\u7528crypto\uff0c\u5426\u5219<\/p>\n<pre><code>No implementation found for java.lang.String me.yezhou.libc.crypto.Crypto.getSecret() (tried Java_me_yezhou_libc_crypto_Crypto_getSecret and Java_me_yezhou_libc_crypto_Crypto_getSecret__)<\/code><\/pre>\n<p><!-- more --><\/p>\n<p>\u8fd9\u662f\u56e0\u4e3a\u5728Android 5.0\u53ca\u4ee5\u4e0b\u7cfb\u7edf\u4e2d\u81ea\u5e26<code>libcrypto.so<\/code>\uff0cApp\u4f1a\u53bb\u8c03\u7528\u7cfb\u7edf\u7684<code>libcrypto.so<\/code><\/p>\n<h2>release\u914d\u7f6e<\/h2>\n<p>\u5728debug\u4e2d\u7684ndk\u914d\u7f6e\uff0c\u4e0d\u8981\u5fd8\u8bb0\u5728release\u4e2d\u4e5f\u914d\u7f6e\u4e00\u4efd<\/p>\n<pre><code class=\"language-java\">buildTypes {\n    release {\n        minifyEnabled true\n        zipAlignEnabled true\n        signingConfig signingConfigs.releaseConfig\n        proguardFiles getDefaultProguardFile(&#039;proguard-android.txt&#039;), &#039;proguard-rules.pro&#039;\n        ndk {\n            abiFilters &quot;armeabi&quot;, \/*&#039;armeabi-v7a&#039;, &quot;arm64-v8a&quot;, *\/&#039;x86&#039;\n        }\n    }\n    debug {\n        ndk {\n            abiFilters &quot;armeabi&quot;, \/*&#039;armeabi-v7a&#039;, &quot;arm64-v8a&quot;, *\/&#039;x86&#039;\n        }\n    }\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>libcrypto.so \u5de8\u5751\uff1a\u5728Android 5.0\u53ca\u4ee5\u4e0b\u7cfb\u7edf\u4e2d\uff0c\u52a8\u6001\u94fe\u63a5\u5e93\u7684\u540d\u79f0\u4e0d\u80fd\u4f7f\u7528crypto\uff0c\u5426 [&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":[324],"class_list":["post-1291","post","type-post","status-publish","format-standard","hentry","category-android-ndk","tag-so"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1291","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=1291"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1291\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}