@sqliu the app project will generate resources ids for library with the package name. No need to get app's package name.