Android build failure due to missing id from config.xml

Thread is closed for posting
1 posts, 0 answers
  1. Garo
    Garo avatar
    1 posts
    Member since:
    Apr 2016

    Posted 01 Sep 2016 Link to this post

    Affects: The build failure is expected to occur for hybrid AppBuilder projects that do not include the id="$AppIdentifier$" attribute inside the widget tag of their Android Config.xml file.

    Error: Error: The value of package from AndroidManifest.xml and the value of id from config.xml are different. If you want to change the appIdentifier only for Android you must set the new value in AndroidManifest.xml and in config.xml.

    Reason: With previous AppBuilder release, we introduced an id attribute to the widget tag located in the Android Config.xml file. Projects created before this release, do not contain this attribute. The value of id is identical to the value of the package attribute inside the AndroidManifest.xml file. Our latest release introduces a comparison that determines if the id and package attributes are identical. If one is missing or the values are different the Android build will fail.

    Resolution: We are currently working on the issue and we expect to introduce a fix by the end of the day. Until then you can use the following workaround.


    1. Open your application
    2. Open the Android Config.xml and AndroidManifest.xml files.
    3. Check the package attribute value in the AndroidManifest.xml. If you haven't modified this value it should be "$AppIdentifier$".
    4. Add an id attribute to the widget tag inside the Android Config.xml file. Its value should be identical to the package attribute value. For example, if the value is "$AppIdentifier$":

    <widget id = "$AppIdentifier$"
            xmlns = ""
            version = "2.0.0">



    If the solution provided above is not helpful, please contact our support team for further assistance.



Back to Top