Unity- phone using Android Studio debugging UnityRemote print log

Throws question:  
1.Unity default when debugging Android build is packaged into apk, run to the phone to install, very easy to debug, how to run fast on the phone?  
2. How like the unity of the same console view the log information on the android phone?    

A, Unity phones running directly

Reminisced the other is not, let's go straight.  
Installed on the phone Unity Remote 5, which is a mobile terminal application, the game screen may be obtained when the opening operation of unity, and the availability of a gyroscope, a multi-touch parameter information from the phone, so a faster operation than package apk match. Of course, there are also disadvantages.  
Download Unity Remote 5, Baidu search also can be found to this application on 1.Google Play. Ann on the phone, open see the following:  

 

 

 

 

Like to the above-mentioned tips, our next step is

> Device Connect with the this to your Computer A USB Cable. Press Editor to PLAY in Test The Unity.
> With a USB cable connected to the computer and devices, and press the PLAY button test.

Then open Edit> Project Setting> Editor, provided with the following:

 

 

 

 

Several options shown in FIG action may refer to the following table:

And what a word: Thieves TM fast, but I found out the same code release apk install and run this direct operation target actually had an unexpected effect during the test. Temporarily not go into the problem.

Second, to see the log Android stuido.

Because my work is Android and Unity, so this is relatively simple, open Android Studio Link phone open Logcat, select the corresponding process, then you can delete selected Unity.

 

 

 

Guess you like

Origin www.cnblogs.com/zhimalier/p/11876824.html