Software Archive
Read-only legacy content

Cordova Build - Project names do not match

Kevin_L_2
Beginner
1,536 Views

I have noticed that sometimes my project names do not match when building.  In the attached image, I am performing an Android build for application wnmobile_dvp, but the overview lists uicmobile_dvp as the current app (that is the name of another application I have within my workspace).

Also, I'm not sure how to modify the Team Name, but currently it is named as one of my colleagues.  I will note that we have accounts that were created back when it was still AppMobi, but I'm not sure if that has anything to do with this.

Also says I have 7 apps in development when my workspace only has 5.

Any help would be appreciated, thanks!

projectnames1.png

0 Kudos
12 Replies
Swati_S_Intel1
Employee
1,536 Views

Hello Kevin,

I haven't seen the project name not matching issue before. I'm suspecting it might happen if you changed the project and did not upload the new project while building, although I tried that and it shows same project name in both places. If you have exact steps to reproduce please write them.

Your teamname is your username.

The number of apps in development shows the total number of apps you have developed so far and are on our server. You may have deleted a few from XDK UI i.e. from workspace, those apps don't show up in workspace but they are still on the server. If you want you can remove them from the server by logging into the app center.  https://appcenter.html5tools-software.intel.com

Swati

0 Kudos
Kevin_L_2
Beginner
1,536 Views

I upload my project settings every time I go to build and did it multiple times before getting that screen shot I posted above.  My project root is wnmobile_dvp and my xdk file is wnmobile_dvp.xdk.  I cannot find any references to uicmobile_dvp within the files for wnmobile_dvp.  I wish I had steps to reproduce, but I haven't noticed a pattern and it's always the wrong name.

Not sure how my username got set to my colleague's full first and last name.  How do I change this?

I went to the app center and noticed something potentially related.  When I build uicmobile_dvp it replaces wnmobile_dvp in the app center list.  Same goes for the opposite.  I also noticed that there are applications that my colleague had created in the list.  Are our accounts still somehow connected (I thought that functionality was removed when Intel took over)?

0 Kudos
John_H_Intel2
Employee
1,536 Views

The 'teams' functionality was removed due to security reasons, and the fact that it was kind a mess from the appMobi days. You do have both wnmobile_dvp and uicmobile_dvp apps in the cloud. If your names are also messed up, I am guessing they have been like this, or its remnants of old appMobi code linking. 

Do you have any apps in the store? I ask, because the easiest way to fix this is for your account to be deleted, and then recreated.

0 Kudos
Kevin_L_2
Beginner
1,536 Views

I do have apps in the store and am planning a couple of releases in the coming months.  The builds themselves seem to have the correct code and Apple application ids even though the project names are wrong, so I will have to just deal with the problem for the time being.  I will contact your team when we have some time to shuffle our accounts and start over.

Thanks!

0 Kudos
Swati_S_Intel1
Employee
1,536 Views

Hi Kevin,

Have you been having the username mix up issue recently or has it been there for a long? Please send your username, name & your colleague's username. You can PM us. We may be able to sort that out. Is your colleague also an active user? Is he also having similar issue?

Swati

 

0 Kudos
Kevin_L_2
Beginner
1,536 Views

I have noticed the project name switching since the second application was created.  I've noticed the team name using my colleague's name for a long time now, can't pinpoint exactly when (it actually used to be a different colleague's name at one point awhile back).

My colleague is a somewhat active user.  He hasn't experienced the same issues as I have.

I will send some information via PM.

Thanks

0 Kudos
Swati_S_Intel1
Employee
1,536 Views

Hello Kevin,

Your accounts on XDK have been delinked. Please check to see if you are still seeing the issues. The team name issue may not get resolved. Please let us know your findings and then if needed we might have to manage that in App Center.

Swati 

0 Kudos
Kevin_L_2
Beginner
1,536 Views

Swati,

No luck with the team name.  It still shows my colleague's name.

I went to the App Center and deleted all the apps in the list hoping that would clear something out, and it might have helped some.  Now when I switch between my projects the current app matches the one I have selected.  Should there be separate apps in the App Center?  I ask because they are still overwriting each other each time I upload for a build.  I'll send some screen shots via PM.

0 Kudos
Swati_S_Intel1
Employee
1,536 Views

Hi Kevin,

I'm glad your app name issue got resolved. For the team name, that feature is no longer supported and hence you see what was your teamname long time ago. We will reset your teamname to your username manually. 

In the App Center you should be able to see all the apps that you create. Are you creating a new app using "+" on the project page?

Swati

0 Kudos
Kevin_L_2
Beginner
1,536 Views

I originally created the app using "+".  I believe I've deleted and used import many times since then though, always importing that same .xdk file.  Would it help if I send you my .xdk files for both projects?  Can I do that via PM?

0 Kudos
Swati_S_Intel1
Employee
1,536 Views

If you are using the same .xdk file then it will overwrite on the previous app. 

Everytime you create an app using "+" , either from templates or samples or import, a new .xdk is generated. When you import a project and provide the project directory as the base, it detects if there is already a .xdk file, if so it will not create a new project in that directory and prompt  you with error (meaning will not overwrite .xdk).  Most likely in your case you are deleting .xdk files, and then it creates new one, so your old project is lost. 

If you want to create a new project out of the existing one, I would recommend :

- Copy the entire app folder to another folder

- Remove .xdk and .xdke files from the new folder

- From XDK create a new project using "Import your HTML5 code base" option

- Choose the new folder as your project base.

I hope I made this clear.

Swati

0 Kudos
Kevin_L_2
Beginner
1,536 Views

Swati,

That fixed it!  I must have messed something up when I initially created the second application.  I can also say that the team name now displays my user name, well my email to be specific.

Thanks for all your help!

0 Kudos
Reply