Syntax error on android studio – Macbook M2. Trying to add an APK to the virtual device but it never works

So I am trying to run a runescape bot. I have downloaded Android studio and followed this guide:

Disclaimer: for Linux, you might be able to get this to work – I assume you already have a desktop environment and are not running headless. If not, you are going to have to install a desktop GUI. (eg if you are using an ARM-powered VPS), you also have to find a way to get android studio running & the SDK manager.

REMEMBER: If you are using an intel mac, you should be bootcamping and not trying to get around it by going this route.

You can get it working by going this route, just remember that when you are creating your device, you need to create an android 8.1 x86 device instead (and not an ARM one.)

Step 1: Getting ADB installed
Open up a terminal and follow these steps:
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”
brew install android-platform-tools

Lastly, check if ADB is installed and working by typing:
adb devices

Step 2: Install Android Studio
https://developer.android.com/studio#downloads

make sure you download the ARM version of android studio and go through with the installation.

When Android Studio has been downloaded, just create a new project, the name of it and the setup doesn’t matter, just go through the dialogues.

Step 3: Setup of your AVD manager
Once you have Android studio running, you need to open up both “Device Manager” and the “Emulator” tab
From the device manager, click on “Create Device”

From the Virtual Device Configuration window, click on “New Hardware Profile”

Device Name: OSMB
Screen size: 4 inches (IMPORTANT)
Resolution: 894×540 (IMPORTANT)
Memory: 1024MB (Recommended, can be more if youd like)

Once done, click “Finished”

Now find your hardware profile in the Virtual Device Configuration window and press “Next”

From the recommended tab, download the “Pie” version of Android (API Level 28).

Once you’ve finished the download, you can choose the “Pie”-version and press “Next”

From the Verify Configuration screen, you can give your device a name, and then press “Finish”.

Your AVD is now setup and ready! Only thing missing now, is installing OSRS and Brave browser. to launch ur AVD simply press the “play” button on the Device Manager tab

Step 4: Installing OSRS and Brave Browser
To install OSRS, go to https://www.apkmirror.com/?post_type=app_release&searchtype=apk&s=runescape

From here, choose the latest OSRS version

scroll down a bit, and choose the universal version of OSRS. Press the download button. Once downloaded, simply drag & drop the file into ur emulator

Install brave browser
to install the browser, go to https://www.apkmirror.com/?post_type=app_release&searchtype=apk&s=Brave+browser

Get the latest build

scroll down a bit, and make sure you download the arm64-v8a + armeabi-v7a version of the browser.
once downloaded, drag and drop the file into your emulator.

Your AVD is now fully set up, and you can launch OSRS and log in!

So, I cannot drag and drop any apk into the emulator. It gives me this error:

Error code: ‘UNKNOWN’, message=’Unknown failure: ‘/system/bin/sh: syntax error: unexpected ‘(”’

Could anybody please help me?

So I am trying to run a runescape bot. I have downloaded Android studio and followed this guide:

New contributor

charles lancashire is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật