(The general printing method of Java is System. out. println(); J2ME is the same. You can see the effect on the ide console. But the Android platform, System. out. println(); You can't see the printed message. Since the printing method provided by Android is Log. v, the object needs to be imported into importandroid.util Log;, Then you can use it. The function of observation is not in the console panel of the ide, but in the log panel provided by Android, you can select the debug mode in the upper right corner of the ide to detect the log panel.
Information output in Android - Log.v usage. doc)