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
- OS
OS Name: Microsoft Windows 10 Home
OS version: 10.0.18362 N / A build 18362
System type: x64-based PC
- Android Studio
Android Studio 3.5
Build #AI-191.8026.42.35.5791312, built on August 9, 2019
JRE: 1.8.0_202-release-1483-b03 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
- Android
4.4.2
--ADB USB driver
17.1(8698791byte 2019/7/9)
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
- 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
- USB connection between PC and Android
Android will ask if you want to continue debugging, so respond.
- 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".
- Create an app
Create a trial according to the following.
https://developer.android.com/training/basics/firstapp/creating-project
- 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.
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.)