title: Android Studio 2.3.3 project, with NDK and heavy C++ dependencies, is stuck on `Building symbols`
body: <p>I have an Android Studio project with NDK C++ components, and CMake, that depends on some heavy header-only libraries like Boost. I used to mantain all the header only libraries in the folder <code>app/include</code>, but when I've decide to move all the header files to <code>app/src/main/cpp</code>, the problems started. Android Studio is completely stuck on <code>Buiding symbols...</code>.</p>
  
  <p>I know that similar questions have been asked before, but unfortunately I tried every permutation of the previous solutions posted on SF, and nothing works. I erased the <code>.idea</code> file and I also increased the amount of memory available to Android Studio as suggested in this post: <a href="https://stackoverflow.com/questions/39640433/android-studio-2-x-building-symbols-forever">Android Studio 2.x - Building Symbols... Forever</a></p>
  
  <p>I also disabled <code>Instant run</code> as suggested in this post: <a href="https://forum.juce.com/t/android-studio-tips-tricks-known-issues/17065" rel="nofollow noreferrer">https://forum.juce.com/t/android-studio-tips-tricks-known-issues/17065</a></p>
  
  <p>Here's the contents of the Android Studio file <code>studio.vmoptions</code>:</p>
  
  <p><code>
  -Xms512m
  -Xmx6000m
  -XX:ReservedCodeCacheSize=500m
  -XX:+UseCompressedOops
  </code></p>