flipper icon indicating copy to clipboard operation
flipper copied to clipboard

Failed to start client connection: Failed to exchange certificate with /APP_NAME/ in android real device

Open NagVuddi opened this issue 10 months ago • 3 comments

I am getting the below error after adding Flipper to the Android application, "Failed to start client connection: Failed to exchange certificate with /APP_NAME/ on Device- 11 - API 30: Error: No matching device found for app"

Below are the connectivity logs from Flipper desktop client,

Certificate Signing Request being processed Ensure OpenSSL is available Obtain CA certificate Deploy CA certificate to application sandbox Deploying file 'sonarCA.crt' to device at '/data/user/0/package_name/files/sonar/' Query available devices via adb cat '/data/user/0/package_name/files/sonar/app.csr' Unable to find a matching device for the incoming request Failed to exchange certificate,Error: No matching device found for app: /package_name/ Insecure websocket connection attempt: /app_name/ on unknown. Insecure connection attempt

Note: The device is not rooted and the application is installed in "system/priv-app" folder

OpenSSL was installed and the same application worked on rooted devices.

Android studio-generated APK is working as expected. .\gradlew build generated APK with singing is not working as expected.

Android version: 11 Windows: 10 Flipper desktop version: 0.239.0 Flipper Android version: 0.190.0

Please provide a solution for this issue.

NagVuddi avatar Apr 08 '24 10:04 NagVuddi

We have the same issue. Any updates here???

TReX24 avatar Jul 03 '24 09:07 TReX24

Any progress?

diskree avatar Jul 10 '24 14:07 diskree

I was getting kind of similar issue, when I was debugging my app from my Android device's work profile. On personal profile, it is working fine.

kj71 avatar Jul 30 '24 09:07 kj71