If your Android version is below 7 you don't need to do this step. Google added extra security that doesn't allow man-in-middle-app to attack after Android 6. i.e unable to do MITM attack to android apps.
We don't bear any responsibility for problems due to rooting phones. So please follow the guide at your own risk.
Root your phone with magisk framework.
Install the Root file browser so you can copy and paste files in a restricted system folder.
Type the following script in the command line
$ cd ~/.proxyman
// We copy certificate to another file name just so we may need it later
If you go to ~/.proxyman folder you must notice a file name starting with numbers with extension
Copy that file to your Andriod.
Using root file browser transfer that file to /system/etc/security/cacerts/
When using Andriod phones, set gateway to any wrong IP just so you can be sure all your traffic goes from proxy man proxy only.
We can use the macOS sharing feature to create a mobile hotspot. And from an android phone, you can use Proxyman proxy easily. It is much better because sometimes the router can block requests between mobile and macOS.