I have built the sdk from AOSP source tree and directed the sdk path in the Android Studio to the new sdk directory. I have checked android.jar and verified that it contains my added classes, fields, and changes.
But when I try to code in the studio I do not find the added fields in code suggestions. For example I added a filed ActivityName in AccessibilityServiceInfo class. But I do not see that. It still contains the original fields. But if I analyze the android.jar file from platform directory under sdk, i can see it is already there.
What I did wrong?