replace publishInstall by activateApp
fix build error for obtainStyledAttributes