Tutorials / Get started
Connect a device
Point an iOS Simulator, an Android emulator or a USB Android phone at Lynkei, with the certificate installed, in one click.
Before you start
- Boot the simulator or emulator, or plug in an Android phone with USB debugging on.
- Lynkei finds Android devices through
adband simulators through Xcode'ssimctl.
Connect it
- Click Connect device, or click the device in the sidebar. Every device Lynkei can see is shown as a card.
- Press Connect on the card. Lynkei sets the proxy and installs its certificate.
- Use your app. The card ticks off Proxy, Certificate trusted and Traffic seen, and calls appear in the list as they happen.

How each kind of device is set up
| Device | Proxy | Certificate |
|---|---|---|
| iOS Simulator | Uses your Mac's proxy setting, so it is shared by every booted simulator. | Installed into the simulator for you. |
| Android emulator or USB phone | adb reverse plus the device proxy, pointing at 127.0.0.1:8888. No Wi-Fi needed. | Installed for every app on emulators that allow root. Otherwise saved to Downloads for you to install (below). |
| Android phone over Wi-Fi | Scan the QR code on the Your Android phone card; the page shows the exact Wi-Fi proxy settings. | Downloaded from the same page. |
| iPhone or iPad | Set up by hand over Wi-Fi. See Real iPhone on Wi-Fi. | |
When the Android certificate needs you
Emulators with a Google Play image don't allow root, so Lynkei can't add its certificate for every app. It saves lynkei-ca.crt in Downloads and opens Settings. Install it from Security → Encryption & credentials → Install a certificate → CA certificate.
A certificate you install yourself is trusted by browsers and by apps that accept user certificates, which most debug builds do. Store apps usually don't. For those, create an emulator with a Google APIs image (no Play Store icon) in Android Studio's Device Manager, and Lynkei installs the certificate for every app.
No cable?
Pair with adb on the Android card pairs a phone over Wireless debugging, and it then shows up like a USB device.
Disconnect
Disconnect undoes every change Lynkei made to the device. To stop capturing for a while without undoing anything, use the per-device proxy switch.
From the command line or an agent
lynkei devices lynkei devices connect emulator-5554
Use Lynkei to connect my Android emulator, then tell me which calls fail.