profilo icon indicating copy to clipboard operation
profilo copied to clipboard

Importing profilo code in Android studio.

Open skm1907 opened this issue 8 years ago • 3 comments

I want to get insights into working of Profilo.

I cloned the repo and imported it into Android studio. I was able to build the binaries by following through the steps given here. The issue is, even after building the binaries, Android Studio cannot link/index the internals of Java/C++ source files of Profilo.

Any help will be highly appreciated.

skm1907 avatar May 02 '18 13:05 skm1907

For Java source code, you can attach sources downloaded directly from the release page (Source Code (zip) for example): https://github.com/facebookincubator/profilo/releases. In Android Studio you can select a Profilo java class and try to open it. Once you open the contents (and it failed to get the source) you will see "Attach Sources..." link in the upper right corner of the editor. Follow the dialog and specify the path to the downloaded zip file with sources. You should see sources after that (may require restart of Android Studio).

For Profilo C++ code it's not feasible to do in Android Studio.

aandreyeu avatar May 02 '18 21:05 aandreyeu

Thank you @aandreyeu for quick reply. Majority of the profilo code is in C++. Which IDE do you recommend to browse through C++ code with all the linkages in place?

skm1907 avatar May 03 '18 02:05 skm1907

I can recommend Nuclide: https://nuclide.io/

aandreyeu avatar May 03 '18 16:05 aandreyeu