How do I profile on an Android device?

I am trying to use the Profiler to log information (ala this: http://answers.unity3d.com/questions/2228/how-do-i-profile-in-the-web-player), but it does not seem to work (or I can't find the log file). (It does work in my editor though).

Is this feature supported for Android? If so, how do I get it to work (where would I look for the log file, or is there anything special I need to do to set it up?)

If not, is there any other profiling tips for Android?

Edit: Although I accepted the answer below as the best method I found so far, I am still looking for better ways.

For now, this is what I am doing to get at least some information:

  • Enable "logcat" profiler in the player settings, under Other Settings (Android tab) of Player Settings.
  • Make sure USB debugging is enabled on the Android device (check under Settings | Development).
  • Run adb through the command prompt (with command line argument logcat) that comes with the Android SDK while running the game on the Android, still connected via USB to the computer.

This gives a tiny amount of profiling information (frametime, number of tris, time spend in in different areas, etc.), and updates as the program is run. (It also displays Debug.Log messages, which is even more useful than the actual profiling information).

You can click on the adb window to pause output, and press enter to resume. I run adb through PowerShell - I don't know pausing / resuming will work otherwise.

For a better access to the logcat information I would recommend installing eclipse together with the ADT Plugin:

After installed just go to Window > Show View > Logcat.

It may sound like overkill, but having the ability to pause and filter the messages by process ID, Application Name, etc … is very helpful.

http://docs.unity3d.com/Documentation/Manual/Profiler.html

Remote profiling can be enabled on Android devices through two different paths : WiFi or ADB.

For WiFi profiling, follow these steps:

Make sure to disable Mobile Data on your Android device.
Connect your Android device to your WiFi network.
Check the "Autoconnect Profiler" checkbox in Unity's build settings dialog.
Attach your device to your Mac/PC via cable and hit "Build & Run" in Unity Editor.
When the app launches on the device, open the profiler window in Unity Editor (Window->Profiler)
If the Unity Editor fails to autoconnect to the device, select the appropriate device from the Profiler Window Active Profiler drop down menu. 

Note: The Android device and host computer (running the Unity Editor) must both be on the same subnet for the device detection to work.

Run …>android-sdk>tools>ddms.bat from sdk folder to see logcat messages
(update SDK !)

http://forum.unity3d.com/threads/78514-Profiler-and-android