How i can insert package name in AndroidManifest?
I write small plugin for Unity, but i need to insert package name into xml tag in AndroidManifest How i can do it?
For example: in gradle i can to write ${applcationId} in xml tag and this placeholder will be replace on build app.
Answer by liortal · Dec 31, 2016 at 12:21 AM
Unity 5.5 comes with Gradle build support, so you can change the build system to Gradle, and it should work by replacing the placeholder ${applicationId} with the correct package name.
Alternatively, you can create editor code that will go over the AndroidManifest.xml file and replace this value with the correct package name from your project.
Can you give me more information about the alter way?
Build with Gradle is terrible slow.
Your answer
Follow this Question
Related Questions
DLLNotFoundException when trying to import Firebase project 2 Answers
PARSE ERROR: unsupported class file version 52.0 1 Answer
Google cast remote display plugin android issue 1 Answer
Create GUIs with a lot of tables 0 Answers
How to ask for ACTION_MANAGE_OVERLAY_PERMISSION in android Manifest? 0 Answers