I have opened JUCE project in Android studio but not able to see c++ source code. Here is the project structure shown
Please let me know where I can find c++ source code
I have opened JUCE project in Android studio but not able to see c++ source code. Here is the project structure shown
Please let me know where I can find c++ source code
Here is the JUCE framework settings

I remember struggling with that too. Change “Project” at the very top and explore the other options. For example “Project Files” should show the folder or folders where you have your source code (.h and .cpp). The files are organised and displayed differently depending on that option.
I have tried all the options but still the same issue
Modern Android Studio tries to find CMakeLists.txt from src/main/cpp, not src. Projucer is generating the outdated path. You can get it loaded if you manually adjust the relative file paths in CMakeLists.txtand relocate it in app/build.gradle.
If you don’t want to do it (I certainly don’t), you can make changes to Projucer itself (or have the JUCE team fix the issue).
@atsushieno would you happen to have a diff for the projucer modifications you decribed? I tried something but it made Android Studio crash after exporting my app…
No, what I do these years is to use CMake within my own Android Studio app structure (described here, but the blog post itself is kind of outdated e.g. the example git repo is also based on old path).
My recent finding is, however, it is more likely caused by traditional JuceHeader.h generation (juce_generate_juce_header(xxx) in CMake). The way how Android Studio provides the C++ parsing context on the IDEA platform via its IDE plugin is in the black box and I have no idea why though.