Forum: Android

Here is a forum space for SDK: Android.

43. ProPTT2 android SDK not working in Emulator on Windows

Hello, when I try to run my app built in Android Studio on a phone, it works fine, but when I run in the Android emulator (Pixel 2 emulator), it crashes on startup.  It seems that it can't find the libDenoiser.so file.  I looked in the AAR library file, and it contains some a few x86 jni libraries, but not as many as for armeabi-v7a.  See snippet of error message below.

Does the Android SDK support the emulator?  How can I get it to work on my Windows emulator instance?

thanks
Jason Reich.

07-24 21:22:59.873 4038-4038/com.idwtechnologies.groupride E/AndroidRuntime: FATAL EXCEPTION: main
                                                                             Process: com.idwtechnologies.groupchat, PID: 4038
                                                                             java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[  ]]] couldn't find "libDenoiser.so"
                                                                                 at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
                                                                                 at java.lang.System.loadLibrary(System.java:1657)
                                                                                 at com.imptt.propttsdk.media.dsp.Denoiser.(Unknown Source:2)
                                                                                 at com.imptt.propttsdk.media.capturer.AudioCapturer.getInstance(Unknown Source:13)
                                                                                 at com.imptt.propttsdk.media.MediaController.(Unknown Source:167)
                                                                                 at com.imptt.propttsdk.media.MediaController.getInstance(Unknown Source:6)
                                                                                 at com.imptt.propttsdk.core.d.(Unknown Source:270)
                                                                                 at com.imptt.propttsdk.core.d.a(Unknown Source:6)
                                                                                 at com.imptt.propttsdk.api.PTTClient.(Unknown Source:6)
                                                                                 at com.imptt.propttsdk.api.PTTClient.getInstance(Unknown Source:6)

Jul 24 '18 at 21:27 (GMT0) created by Jason Reich

 
Dear Jason Reich,
ProPTT2 SDK is using several tool-chains.
So now it can not support the emulator.
Thanks,
ProPTT2.

Jul 25 '18 at 00:38 (GMT0) created by ProPTT2 dev