1 ) Download andriod https://developer.android.com/studio
Now run it. When it booted go to step 2
2 ) Download rootAVD https://github.com/newbit1/rootAVD/archive/refs/heads/master.zip
.\rootAVD.bat ListAllAVDs
.\rootAVD.bat %LOCALAPPDATA%\Android\Sdk\system-images\android-30\google_apis_playstore\x86\ramdisk.img
3 ) Download magisk-frida https://github.com/ViRb3/magisk-frida/releases
on emulator and install it with Magisk Modules
And it will look like this when it done
frida -Uf learn.frida.unity --realm=emulated --no-pause
You can test it with
Module.findBaseAddress("libil2cpp.so")