I've followed this guide to set up an android project with multiple build types. Since I'm supporting GCM in my project, I run into trouble when running the debug build. The manifest is only set up to receiver for the production build:

<permission
    android:name="com.myapp.permission.C2D_MESSAGE"
    android:protectionLevel="signature" />
<uses-permission android:name="com.myapp.permission.C2D_MESSAGE" />

The thing is when I compile for debug, my ApplicationId is com.myapp.debug instead. Is there any way to parameterize this particular manifest section?

Related posts

Recent Viewed