我从官方GitHub的资源创建了一个WhatsApp Sticker App,现在在从Google Play安装它时遇到了一些问题。
我从那里修改了代码,将其清理干净,如果您是从Google Play或Android Studio安装的,它可以正常工作。 几天前,我添加了一些新标签,并尝试首先在Android Studio中安装它,以查看是否存在一些错误。一切正常,所以我在Google Play上发布了它。现在,当您从Google Play安装它时,它会崩溃。 我在Google上搜索后发现了一些东西,但没有任何帮助(https://medium.com/mobiwise-blog/unsatisfiedlinkerror-problem-on-some-android-devices-b77f2f83837d)
我不知道为什么只能通过从Google Play安装它来实现 崩溃表明有一个缺少的库。
这是完整的源代码 https://drive.google.com/open?id=1WR0ch7wjftfXcEQy_acBeKCBoqNfXga8
以及来自Google Dev Console和Android Studios logcat的错误
java.lang.RuntimeException:
at android.os.AsyncTask$3.done (AsyncTask.java:365)
at java.util.concurrent.FutureTask.finishCompletion (FutureTask.java:383)
at java.util.concurrent.FutureTask.setException (FutureTask.java:252)
at java.util.concurrent.FutureTask.run (FutureTask.java:271)
at android.os.AsyncTask$SerialExecutor$1.run (AsyncTask.java:257)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
at java.lang.Thread.run (Thread.java:784)
Caused by: java.lang.UnsatisfiedLinkError:
at com.facebook.soloader.SoLoader.b (Unknown Source:254)
at com.facebook.soloader.SoLoader.a (Unknown Source:106)
at com.facebook.soloader.SoLoader.a (Unknown Source:94)
at com.facebook.soloader.SoLoader.a (Unknown Source:1)
at com.facebook.imagepipeline.nativecode.d.a (Unknown Source:20)
at com.facebook.animated.webp.WebPImage.a (Unknown Source)
at de.anteiku.ministickers.b.a (Unknown Source:17)
at de.anteiku.ministickers.b.a (Unknown Source:19)
at de.anteiku.ministickers.b.a (Unknown Source:155)
at de.anteiku.ministickers.b.c.a (Unknown Source:109)
at de.anteiku.ministickers.activities.EntryActivity$a.a (Unknown Source:11)
at de.anteiku.ministickers.activities.EntryActivity$a.doInBackground (Unknown Source:2)
at android.os.AsyncTask$2.call (AsyncTask.java:345)
at java.util.concurrent.FutureTask.run (FutureTask.java:266)
2019-02-02 23:57:16.304 4428-4452/? E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
Process: de.anteiku.ministickers, PID: 4428
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:365)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
at java.util.concurrent.FutureTask.run(FutureTask.java:271)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:257)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:784)
Caused by: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libstatic-webp.so
at com.facebook.soloader.SoLoader.b(Unknown Source:254)
at com.facebook.soloader.SoLoader.a(Unknown Source:106)
at com.facebook.soloader.SoLoader.a(Unknown Source:94)
at com.facebook.soloader.SoLoader.a(Unknown Source:1)
at com.facebook.imagepipeline.nativecode.b.a(Unknown Source:20)
at com.facebook.animated.webp.WebPImage.a(Unknown Source:0)
at de.anteiku.ministickers.b.a(Unknown Source:17)
at de.anteiku.ministickers.b.a(Unknown Source:19)
at de.anteiku.ministickers.b.a(Unknown Source:155)
at de.anteiku.ministickers.b.c.a(Unknown Source:109)
at de.anteiku.ministickers.activities.EntryActivity$a.a(Unknown Source:11)
at de.anteiku.ministickers.activities.EntryActivity$a.doInBackground(Unknown Source:2)
at android.os.AsyncTask$2.call(AsyncTask.java:345)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:257)�
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)�
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)�
at java.lang.Thread.run(Thread.java:784)�