I hope this saves someone some hours of pain. Step 1 :- Enable Android Debug Bridge (ADB) in BlueStacks :- Go to Settings / Preferences and Scroll Down to last and you find the ADB option. If you are still having problems, you may need to set the Project SDK. Steps to Connect Bluestacks to Android Studio or VS Code. after sync is complete, go back and check the box of android sdk platform-tools (this will install a fresh one with new adb.exe) wait till it is done and sync project and then you are good to go.(this will uninstall the platform tools from your ide) wait till it is done and then your gradle will sync. uncheck android sdk platform-tools and select ok.go back to android studio and from where you left off navigate to sdk tools (this should be right under android sdk location).close Android Studio, open the Task Manager and finish the ADB.exe process if it's running and then delete the platform tools folder. Debugging to the emulator is as simple as selecting one of our device profiles from the debug target dropdown and hitting the play button.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |