Search code examples
androiddelphixiaomi

Delphi - Android development on XIAOMI Pocophone F1


Got myself a Xiaomi Pocophone F1. However, I cannot compile android application on the phone, because it won't let me.

It seems I must specify explicitly the source of the installation media and Delphi is not on the list :)

So, does anybody know perhaps what I must do to get the compiler working ?

USB debugging is on and developer options are visible.


Solution

  • Thank you all for suggestions.

    The issue on that particular phone is that you have to (in developer options under debugging) enable "Install via USB" and "USB debugging - security settings").

    It is not as simple as it sounds because you have to create an account on their site (https://account.xiaomi.com/) first. Creating the account for this particular options implies that you can not change the phone's region any more. Why they chose to do this,I do not know.