How To Keep Placeholders In An AAR's Manifest?
I'm building an AAR library for Android and need to include a ContentProvider in the library's manifest, as such:
Solution 1:
Well - the first approach that comes to mind is to use a resource for the authority name, but this is not possible - Using @string for android:authorities in a ContentProvider.
There is however a Maven job that replaces the authority, but I have no idea how it behaves when AAR libraries are involved - Android Manifest with @String reference - specifically android:authorities.
Please report your solution.
Solution 2:
This is now done automatically in Android Studio 2.0
Post a Comment for "How To Keep Placeholders In An AAR's Manifest?"