Wie teste ich meine Anwendung auf einem echten Android-Gerät?

398
gabriele.pacor

Ich habe vor kurzem mit Android Studio angefangen und eine App auf Android Studio erstellt, die ich auf meinem Handy testen würde, wenn ich das Gerät an den Computer anschließe, kann Android Studio mein Handy nicht lesen. Muss ich das Telefon anschließen oder einfach etwas anderes tun?

0

2 Antworten auf die Frage

0
Julysfire

Viele verschiedene Möglichkeiten hier.

  1. Sie können die apk erstellen, in Ihr Dropbox-Konto hochladen, sie herunterladen und auf Ihrem Telefon installieren.
  2. Verschieben Sie von Ihrem Computer, den Sie in Ihr Telefon eingebaut haben, ein manuelles Gerät, wenn das Telefon als "Dateisystem" eingerichtet ist.

Sie können auch hier mehr auf der Website developer.android.com nachlesen . Wenn Ihr Telefon vom Computer nicht erkannt wird, installieren Sie die OEM-Treiber.

0
Raghav Mahajan

Before connecting your phone to the computer you first have to turn on USB debugging.

To do that:

  1. Turn on developer options by going to the about phone section in settings.
  2. Click on the Build Number quickly 5 times and it will turn on Developer Settings(if not already on).
  3. Go to developer settings and then find USB debugging option, and turn it on.

Now when you'll connect to your computer and try to run the from Android Studio, it will show you a dialogue on the phone that a computer wants to connect, click 'allow' and you're done.

If it doesn't show your device on Android Studio, try searching for your device drivers first.