This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Connecting Unity app to Streamline

I'm trying to profile an app developed in Unity with Streamline. I followed the instruction for setting up the package here to make it debuggable, but I still get this from the terminal:

"run-as: package not debuggable: com.srm.streamlinelab
run-as: package not debuggable: com.srm.streamlinelab
run-as: package not debuggable: com.srm.streamlinelab
gatord: 1 file pushed. 11.1 MB/s (2490344 bytes in 0.215s)
run-as: package not debuggable: com.srm.streamlinelab
run-as: package not debuggable: com.srm.streamlinelab
Manual step: Capture in Streamline, and then press any key.
Press any key to continue . . ."

And Streamline doesn't connecty to the device says "unable to connect to gatord at target device ". With other apps I can connect though, but they were not developed in unity.

What am I missing to make Streamline work with a Unity app?

Parents
  • Hi Raluca, 

    Wrong kind of debug - that's for the C compiler symbol generation.

    We need the Android debuggable flag to be set for the application's Android manifest. Without this Android security policy stops the tool from connecting to the application data sources. Set the android:debuggable="true"  attribute in the AndroidManifest.xml file.

    I think Unity will do this automatically if you build a "Development build" in the project build settings.

    HTH, 
    Pete

Reply
  • Hi Raluca, 

    Wrong kind of debug - that's for the C compiler symbol generation.

    We need the Android debuggable flag to be set for the application's Android manifest. Without this Android security policy stops the tool from connecting to the application data sources. Set the android:debuggable="true"  attribute in the AndroidManifest.xml file.

    I think Unity will do this automatically if you build a "Development build" in the project build settings.

    HTH, 
    Pete

Children
No data