Default [Q][How-To] Build settings.apk from source code

Hi,

I'm trying to build settings.apk from source code, I download source code from github, opened android studio and add project, copied framework jars from 4.5 beta and added it like library, downloaded SuperSU source and widget and added dependency.

But when I compile it doesn't found resources from SuperSU and crash with a lot of errors. Only happen with resources because java source compile OK.

Do anyone knows how to compile correctly? Can you help me?

Thanks.

Sent from my SGH-I337M using Tapatalk