I recently purchased a macbook air M3.
After configuring basic android developer setup.
I am running into a problem where I am not able to install any .APK file using adb install
.
I believe android studio internally also uses ADB CLI to ‘run and launch’ any application which is also not working for me.
When I do ‘adb devices’ on terminal. My physical device is listed.
The same applications, I am able to install and run on an emulator either by terminal or using android studio directly.
I have two physical/real devices and I have tested on both of them. The is persists on both.
When I try adb shell input text
on any application, it works.
I have an older M1 Macbook pro in which I am able to run and launch any application which rules out that the cable is faulty.
When I used wireless debugging option. I am able to run and launch the application.
The things that I have already tried to resolve the issue.
- Turning off and on the USB debugging option from developer tools in phone setting.
- Restart my laptop, restart my phones, restart ADB.
- Reinstall ADB.
- Reinstall and update android studio.
- Reinstall SDK and SDK related platform-tools.
Android studio version — Android Studio Jellyfish | 2023.3.1 Patch 2
Any insight on how to resolve this weird problem?