1. You need to remove this line: CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
2. Based on the link you posted in the first post, you need to change the permission to be lower case. The whole idea of the manually adding the code is to let you change it:
Change:
AddManifestText( <permission android:name="Hadiware.Dots_Boxes.permission.C2D_MESSAGE"
With:
AddManifestText( <permission android:name="hadiware.dots_boxes.permission.C2D_MESSAGE"
3. You can see the generated AndroidManifest.xml file in the Objects folder.