Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected element <service> found in <manifest> #17

Open
carlos-1410 opened this issue Sep 10, 2020 · 1 comment
Open

unexpected element <service> found in <manifest> #17

carlos-1410 opened this issue Sep 10, 2020 · 1 comment

Comments

@carlos-1410
Copy link

carlos-1410 commented Sep 10, 2020

Hi, just installed react-native-mqtt and first thing after doing it, is an error

"<MY_APP_PATH>/node_modules/react-native-mqtt/android/build/intermediates/library_manifest/debug/AndroidManifest.xml:16:5-17:15: AAPT: error: unexpected element service found in manifest."

.
Steps to reproduce:
It's freshly initialized app, no screens, no source, just default App.js.
react-native init MyApp
Install packages for which application asks via npm install.

@konradcho
Copy link

Just change the gradle version in android/build.gradle to:
classpath("com.android.tools.build:gradle:3.5.4")

It worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants