I can’t use mobile as emulator in android studio

Asked

Viewed 529 times

0

Good morning!! I’m new in programming, I’m starting now, I started a project in android studio 3.4, in note Samsung, processor intel I3, I went to test my project in emulator via USB on my mobile Samsung, only it does not appear the USB option on android virtual device manager. I’ve already activated the developer option on mobile, installed the adb driver, the USB Samsung, the intel haxm, put the code android:debuggable="true" in the androidManifest.xml, I uninstalled and installed android studio and even then does not appear the option of emulator via USB, created the virtual Nexus 4 api 27, android 8.1 on virtual android, I hope you can help me.

  • In the developer options you have enabled the USB debugging option ?

  • Yes, I did, but nothing

1 answer

0

First you must activate the developer mode on la mobile in the settings.

After that you should enable USB debugging mode in the developer tab (which was enabled in the previous step).

Make sure the Android version of your device is compatible with the version in which you developed your project.

Make sure your USB cable is contacting your device (I’ve had problems not getting due to this).

Make sure your Android Studio has any pending updates.

If nothing works, format your handset (in case you can do this).

The times I had the problem with the emulator on the mobile I solved these ways I reported.

I never had to install anything and I didn’t need to change anything on androidManifest.

I hope it helps.

  • so I’ve done all this, and nothing, I’ll try or Caba USB, thanks

  • If the problem isn’t the cable, take a look at these links, it might help something. https://developer.android.com/studio/run/device and no https://developer.android.com/studio/command-line/adb are better talking about execution services and about ADB

  • will have to enable something in bios?

  • Enabling in the BIOS would be for you to use the emulator of Android Studio, but it would be nice to check yes. Open your BIOS and search for the virtualization tab and turn it on if it is disabled.

  • could be the android version? because I used android 2.1, so I had to format my note and installed the 3.4.

  • Yes can be, as I said above, check the android version.

  • thanks for your help

Show 2 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.