How to run your own app in real (SHARP 304SH) without going through Google Play using Android Studio

I do not take any responsibility when using this content.

version

Preparation

Download and install Android Studio from the official website. Download and extract the ADB USB driver from the following. http://k-tai.sharp.co.jp/support/developers/driver/index.html

procedure

  1. Android settings Put Android into debug mode according to the following, along with the contents of the driver download page. (The guide for the remaining number of times is displayed while tapping.) https://developer.android.com/training/basics/firstapp/running-app
  2. USB connection between PC and Android Android will ask if you want to continue debugging, so respond.
  3. ADB USB driver installation It will be recognized by plug & play, and the Android side will be in a state where a notification of debug mode is displayed. As you can see on the driver download page, ADB ~ should be displayed in the USB of the device manager. Install the driver using the method on the driver download page. The display after installation will be "Android Composite ADB Interface".
  4. Create an app Create a trial according to the following. https://developer.android.com/training/basics/firstapp/creating-project
  5. Run Execute the application creation page according to the following page. https://developer.android.com/training/basics/firstapp/running-app
    If Android is recognized correctly, the model will be displayed as shown below. スマホ認識.PNG
    If the driver is not installed, I think it was an "Unknown Device". When you run it, Android Studio will show the execution status and results, so if it is not success, follow it from that information.

Remarks

When you switch to debug mode, the guard against the app becomes weaker, so return the mode when you finish using the real. Since the app is installed realistically by execution, the app can be used even if it is removed from the PC. Since Android Studio has a VM function, I don't think I usually use real. There is a driver installed, so if something goes wrong, you can restart your PC. (I remember that after restarting, Real changed from Unknown to a model.)

Recommended Posts

How to run your own app in real (SHARP 304SH) without going through Google Play using Android Studio
How to display Map using Google Map API (Android)
How to run AutoGluon in Google Colab GPU environment
How to use pyenv and pyenv-virtualenv in your own way
Try HeloWorld in your own language (with How to & code)
How to auto-update App Store description in Google Sheets and Fastlane
How to display formulas in latex when using sympy (> = 1.4) in Google Colaboratory
When using the zap library in your own Logger with Golang, how to put the hierarchy above Logger in Caller