Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8855533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:09:27+00:00 2026-06-14T14:09:27+00:00

I have imported an existing worklight project, but building it is giving following error.

  • 0

I have imported an existing worklight project, but building it is giving following error. Please advice

Error

cvc-complex-type.2.4.a: Invalid content was found starting with
element ‘usage’. One of
‘{“http://www.worklight.com/application-descriptor”:shell,
“http://www.worklight.com/application-descriptor”:mobileDeviceSSO,
“http://www.worklight.com/application-descriptor”:loginPopupHeight,
“http://www.worklight.com/application-descriptor”:loginPopupWidth,
“http://www.worklight.com/application-descriptor”:iphone,
“http://www.worklight.com/application-descriptor”:android,
“http://www.worklight.com/application-descriptor”:blackberry,
“http://www.worklight.com/application-descriptor”:ipad,
“http://www.worklight.com/application-descriptor”:windowsPhone,
“http://www.worklight.com/application-descriptor”:mobileWebApp,
“http://www.worklight.com/application-descriptor”:vista,
“http://www.worklight.com/application-descriptor”:dashboard,
“http://www.worklight.com/application-descriptor”:air,
“http://www.worklight.com/application-descriptor”:igoogle,
“http://www.worklight.com/application-descriptor”:facebook,
“http://www.worklight.com/application-descriptor”:embedded,
“http://www.worklight.com/application-descriptor”:common,
“http://www.worklight.com/application-descriptor”:worklightServerRootURL,
“http://www.worklight.com/application-descriptor”:worklightRootURL}’
is
expected. application-descriptor.xml /TWorklightProj/apps/TApp line
15 XML Problem

XML file

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <application xmlns="http://www.worklight.com/application-descriptor" id="TApp" platformVersion="5.0">
        <displayName>TApp</displayName>
        <description>TApp</description>
        <author>
            <name>application's author</name>
            <email>application author's e-mail</email>
            <homepage>http://mycompany.com</homepage>
            <copyright>Copyright My Company</copyright>
        </author>
        <height>460</height>
        <width>320</width>
        <mainFile>index.html</mainFile>
        <thumbnailImage>common/images/thumbnail.png</thumbnailImage>
        <usage requireAuthentication="never"/>
        <iphone bundleId="com.ATTApp" version="1.0">
            <worklightSettings include="true"/>
            <security>
                <testAppAuthenticity enabled="false"/>
                <encryptWebResources enabled="false"/>
                <testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3"/>
            </security>
        </iphone>
        <android version="1.0">
            <worklightSettings include="true"/>
            <security>
                <testAppAuthenticity  enabled="false"/>
                <encryptWebResources enabled="false"/>
                <testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3"/>
                <publicSigningKey>Replace this text with the public key of the certificate with which you sign the APK. For details see the Worklight Developer's Reference Guide.</publicSigningKey>
            </security>
        </android>
        <mobileWebApp version="1.0"/>
        <worklightServerRootURL>http://${local.IPAddress}:8080</worklightServerRootURL> </application>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:09:28+00:00Added an answer on June 14, 2026 at 2:09 pm

    It looks like you’ve upgraded the Worklight version and still have old application-descriptor.xml file.
    You need to modify your file to comply with the latest schema. Most basic solution would be to just erase this line.
    Also you can see samples of applications here – https://www.ibm.com/developerworks/mobile/worklight/getting-started/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a strange problem with Visual Studio. I imported an existing project into
I have an existing project that I imported into subversion using TortoiseSVN. Total project
I have imported an existing project into Eclipse workspace. I have this line of
I have imported an existing project built using Maven into my Eclipse workspace. Should
I have imported an existing Maven project into Eclipse IDE. I modified some of
I have imported an existing Project into Eclipse IDE . What i observed is
Just created a database project and imported a large existing database. I have hundreds
I have imported a JSF/Facelets project from SVN into Netbeans. Any change which I
So I have imported a project to netbeans. I am using jsf and xhtml
In eclipse I have subversive. I imported some existing projects already connected to svn.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.