Fixed bugs in aar file.