meshenger-app / meshenger-android

P2P Voice/Video phone App for local networks.
GNU General Public License v3.0
659 stars 106 forks source link

Meshenger Version 4.2.8. Calling from Android 6.0 to Android 11.0 throws an error. #141

Open barkoder opened 4 months ago

barkoder commented 4 months ago

To reproduce.

  1. Install Meshenger 4.2.8 on Android 6.0 device and Android 11.0 device and scan QR codes and Add to Contacts.

  2. Notice Green Circle indicator on both devices.

  3. Call from Android 6.0 to Android 11.0 .

  4. Meshenger on Android 11.0 exits immediately, and the Android 6.0 device throws an error.

barkoder commented 4 months ago

Also after it errors, when I reopen Meshenger on the Android 11.0 device, the indicator on both the Android 6.0 device and 11.0 device doesn't turn green automatically. I have to open the app switcher on the Android 6.0 device, click on Meshenger again to get the contact indicators on both devices to turn green.

barkoder commented 4 months ago

Also calling from Android 11.0 to the Android 6.0 device immediately crashes the app on the Android 11.0 device.

Also even after Meshenger crashes on the Android 11.0 device, the contact indicator(for the Android 11.0 device) on the Android 6.0 device continues to stay green, when it should turn red immediately.

mwarning commented 3 months ago

Hi, are you using a dedicated hotspot / access point? If one of the devices creates a hotspot, then it would be a known problem.

barkoder commented 3 months ago

I can confirm that hotspot is off on both devices. I'm using my Local Wifi to get the devices to see each other.

mwarning commented 3 months ago

The current problem is that I do not have an Android 6 phone for testing.

iddq commented 2 months ago

I got this error on Android 6 with 4.3.1

Caused by: java.lang.ClassNotFoundException: Didn't find class "java.util.Optional" on path: DexPathList[[zip file "/data/app/d.d.meshenger-1/base.apk"],nativeLibraryDirectories=[/data/app/d.d.meshenger-1/lib/arm64, /data/app/d.d.meshenger-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]

mwarning commented 2 months ago

@iddq what Meshenger release is this? Please also try Meshenger 4.3.0 and the 4.3.2-pre (from here https://github.com/meshenger-app/meshenger-android/releases/tag/v4.3.1)

iddq commented 2 months ago

4.3.2 is ok on Android 6. what was the solution? did you remove Optional class?

mwarning commented 2 months ago

@iddq 4.3.1 uses a self compile WebRTC, maybe other build flags are needed. In general I like to not have to compile WebRTC myself. That 4.3.2-pre package uses WebRTC compiled by some other open source project.