Emulator issues on M1 MacBook

https://community.appinventor.mit.edu/t/emulator-on-macs-with-apple-silicon/23780/2

so I am using m1 MacBook now, and I've got the same issues in the above article ,and I'm wonder that what do I exactly need to do to change the line that says ADB=... cuz I'm not well at coding and I have to conquer this issue for homework .