title: How to import the Android ROM source code into Android Studio?
body: <p>I have downloaded one <code>Android ROM source code</code>, it has many file and folder, which takes a lot disk space (about 40GB). If I want to use android studio to edit some file, for example, <code>/$ROM/frameworks/av/media/libstagefright/DataSource.cpp</code></p>
  
  <p>Because, while editing the <code>.cpp file</code>, I want the android studio IDE can point out where the wrong code is, and provide the function library. Just like editing normal android project java file. </p>
  
  <p>How to import the <code>ROM source code into</code> Android Studio??</p>