flutter project print log information of the native Andrews

Because the method needs to call the project in Andrews Andrews and then flutter in the method to call so pack method to write c

 

 

 

 If the current project comes under no android stduio logcat it using the following method

 

 

 

 

 

Andrews code introduced

import io.flutter.Log;
// print method


Log.d ( "---------------- Key value", "Content ___");

  

Click to log specific types of printing methods to view the source code

Local flutter print local and android print is not the same so we can do this

 

 

 

 

Guess you like

Origin www.cnblogs.com/tianmiaogongzuoshi/p/11876094.html