Unable to import App package

0
Hi,    I am currently trying to migrate an app (.mpk) to another, newly created, app using the Export/Import App package option. Both apps are on v10.12.7 btw. When I start importing I get the error that the main line is not empty.     To solve this I have tried emptying the git repo using GIT commands and now my app or Git repo seems to be corrupt or malfunctioning, because now the .mpr file no longer exists. I have tried hard resetting to the first commit, but GIT doesn't allow me to push those changes to the remote repo. So my questions are:  - How can I use the Import app package properly without getting the error above.  - Is there a way to reset your Git directory?    Thanks in advance
asked
2 answers
0

Hi Mark,

 

Please refer the below similar communication, maybe it's useful,

https://community.mendix.com/link/space/app-development/questions/129621

https://community.mendix.com/link/space/studio-pro/questions/112722

 

Hope it helps!

Thanks & Regards,

Manikandan K

answered
0

Hi Mark,

If you want to use an app package, there are two ways to do it.

  1. Open StudioPro and select Import App Package and select the mpk file. Make sure to define a new folder for your project
  2. Double click on the mpk file and extract it in a new folder

In the first scenario you can create a teamserver project directly, where with the second one you will need to upload to the teamserver afterwards (if required).

What they do have in common is that they require an empty folder to extract/create the application structure. Importing an app package in an existing structure does not work.

answered