Ďalšou alternatívou je zapnutie USB debuggingu na tvojom telefóne a spúšťať tvoju aplikáciu priamo na fyzickom telefóne.
To vieme spraviť troma krokmi:
Číslo zostavy sa môže nachádzať na rôznych miestach v závislosti od tvojho telefónu:
Napríklad:
| Zariadenie | Umiestnenie |
|---|---|
| Google Pixel | Settings > About phone > Build number |
| Google Pixel Watch | Settings > System > About > Versions > Build number |
| Samsung Galaxy S8 and later | Settings > About phone > Software information > Build number |
| LG G6 and later | Settings > About phone > Software info > Build number |
| HTC U11 and later | Settings > About > Software information > More > Build number or Settings > System > About phone > Software information > More > Build number |
| OnePlus 5T and later | Settings > About phone > Build number |
Na niektorej obrazovke v nastaveniach sa ti zobrazí menu položka s názvom “Developer Options” alebo “Nastavenia vývojára”
Jedná sa o nebezpečné nastavenie. Po povolení USB debugging by totiž útočník mohol ľahko získať plnú kontrolu nad tvojim zariadením. Preto musíš manuálne cez telefón povoliť danému PC aby mohol s tvojim zariadením komunikovať.