-
Notifications
You must be signed in to change notification settings - Fork 71
"The parser encountered a bad or missing package name in the manifest" #34
Comments
I don't have any trouble with the standard Angular NativeScript template, but I am running NativeScript@next version. |
I think I've found out what the problem is, but I have to go out for a bit now so I won't be able to try and fix it. Nevertheless, the
To:
But on subsequent calls to |
The App_Resources directory by design is located in the nativescript project's root folder and copied over into the app directory. This ensures that it doesn't get mixed up with any code and that anything you put in there isn't lost when copying over the build files. You should be able to make all your updates in /nativescript/App_Resources and then when they're copied over the TNS build process takes over from there. Does this clarify what you're looking at or did I not understand your problem correctly? |
Hi thanks for your reply! I am unable to build the app twice from a clean clone of the repository. Perhaps it isn't an issue with the |
Here is a comparison of, for example, If I go back to the original gradle file: Change that from If I create a project based on the hello-world-ng template:
Then the generated
If I then run
And stay that way on subsequent runs. I think what is happening is NS is pre-processing these files but only once, so on every build after the first one, unprocessed |
joshcomley I agree it does sound like that is how the tns cli works. I am thinking up some ways to overcome this and will visit some of them probably this weekend. |
First of, I too observe this problem and it was driving me mad. |
I still receive this error. After I change the file, I rerun npm run android, the files get regenerated and it is overwritten. Update: I edited the right file in the wrong folder. |
Confirmed that adjusting the Application Identifier field in SideKick does not update the applicationId entry in app.gradle. |
This is still occurring. What is the proper fix besides changing that file app.gradle? |
Hi guys,
I cloned, ran
npm i
in the root,npm i
in the nativescript sub-folder, and then rannpm run android.phone
to my Samsung S7.First time around it works (although with the navigation buttons in grey boxes as opposed to matching blue with the background), but upon subsequent calls to
npm run android.phone
I get:Unable to apply changes on device: ce091609f2b8d00704. Error is: The parser encountered a bad or missing package name in the manifest..
I tried recloning the project and starting again, same results. First time around it installs, second time around I end up with this error.
Does anybody have any thoughts?
All the best and thanks for the project,
Josh
The text was updated successfully, but these errors were encountered: