react-native-notifications icon indicating copy to clipboard operation
react-native-notifications copied to clipboard

I recently updated Android Studio to 3.0.1 and am now running into "Permission name C2D_MESSAGE is not unique" errors

Open smokinjoe opened this issue 9 years ago • 12 comments

I've updated a bit of my project and have run into these set of errors:

Error:(10) Error: Permission name C2D_MESSAGE is not unique (appears in both ${applicationId}.permission.C2D_MESSAGE and ${applicationId}.permission.C2D_MESSAGE) [UniquePermission]

Error:Execution failed for task ':app:lintVitalRelease'.
> Lint found fatal errors while assembling a release target.
  To proceed, either fix the issues identified by lint, or modify your build script as follows:
  ...
  android {
      lintOptions {
          checkReleaseBuilds false
          // Or, if you prefer, you can continue to check for errors in release builds,
          // but continue the build even when errors are found:
          abortOnError false
      }
  }
  ...

I have frankly no idea how to resolve this as the issues exist in projectName/node_modules/react-native-notifications/android/src/main/AndroidManifest.xml

Before I start messing with those files I'd like to throw out the problem here to see if maybe I need to update or perhaps roll-back to an older version of the package.

Let me know if there's anything else that I could provide to possibly help (only other significant action I've done is updating to High Sierra).

smokinjoe avatar Nov 29 '17 23:11 smokinjoe

+1 same issue..

koansang avatar Nov 30 '17 05:11 koansang

+1

whck6 avatar Dec 05 '17 10:12 whck6

+1 same issue here.

fbaskara avatar Dec 21 '17 13:12 fbaskara

I only have this issue when I try to build a production version of the app.

Jp3rd avatar Jan 08 '18 04:01 Jp3rd

+1 for the release build.

qiixiao avatar Mar 28 '18 06:03 qiixiao

+1

bernabe9 avatar Apr 06 '18 18:04 bernabe9

You must find file like lint-results-release-fatal.xml or lint-results-release-fatal.html in project folders (use file explorer). There are full description about current error.

enerdevelop avatar Oct 11 '18 11:10 enerdevelop

+1

mo3tafatayebi avatar Jun 06 '19 15:06 mo3tafatayebi

i have this problem too

noushinsoft avatar Jun 10 '19 05:06 noushinsoft

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

stale[bot] avatar Jul 24 '19 18:07 stale[bot]

The issue has been closed for inactivity.

stale[bot] avatar Jul 31 '19 19:07 stale[bot]

Same problem

cisplRejjak avatar Nov 12 '19 12:11 cisplRejjak