Use custom SDK in android studio to access new API
<p>I am working on a school project which needs to customize AOSP. I have built an new API, also I have written apps that used these new API and they were compiled in my AOSP, they work just fine.</p>

<p>Now I have also compiled a SDK in my AOSP. I followed the instructions on this link to change the SDK path in android studio: 
<a href="https://stackoverflow.com/questions/16581752/android-studio-how-to-change-android-sdk-path">Android Studio - How to Change Android SDK Path</a></p>

<p>However, android studio still cannot resolve my new API. Does anyone have any idea on What I have done wrong? Or do I have some missing SDK tools that I need to install?</p>

<p>AOSP: android-5.0.2_r1</p>

<p>OS: Ubuntu 12.04</p>