-
Notifications
You must be signed in to change notification settings - Fork 164
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
Nativescript 6.0 error maps arr #468
Comments
Hi, |
I'm getting a similar issue with the errors pointing that line in the manifest file . Error : Missing 'package' key attribute on element package at [com.google.android.gms:play-services-maps:17.0.1] AndroidManifest.xml:33:9-64 |
correct @agabrie. Every time it is compiled, that code is generated from "aar", I suppose that it generates the xml files for the compilation of the map. |
Can confirm that this breaks all our builds suddenly as well. Anyone have a working fix for this? Seeing the same build braking error:
|
Have you managed to get it working @DevZatokio? Thanks! |
@FranciZ I managed to get it working by downgrading play-services-maps back to 17.0.0 in node_modules/nativescript-google-maps-sdk/platforms/android/include.gradle replace '+' with '17.0.0' |
This does seem to fix the app's building issue; however, everything within the app is still broken, I've tried going as far back as version 15.0.1. It just bugs out all the styling and the DOM logic as well. |
Is this specifically an issue with Nativescript 6 builds? |
That could possibly be a node-sass issue. you have to rebuild - npm rebuild node-sass |
This worked for me... Thanks a lot! |
Thanks @tusharr1996! The suggested workaround does the trick. Does anyone know why the error even popped up and if this is a reliable longer term fix? |
didn't worked for me. |
I'll show you how I made my app working again. In App_Resources > Android, you can insert in you before-plugins.gradle (or create one, if you don't have) the following code:
|
Solution
|
@dm10fit The before-plugins.gradle workaround is working for me, thanks so much! |
Missing 'package' key attribute on element package at [com.google.android.gms:play-services-maps:17.0.1]
Solutions remove the following line from your own
The text was updated successfully, but these errors were encountered: