Languages

Menu
Sites
Language
[SOLVED] Invalid manifest file is created in the TPK in case of multi-apps

Hi There,

I have a complex App, which contains 2 GUI + 1 Service App internally. All native. It works fine on my Emulator + Test Device.
All of them have own manifest.info file.
The <Requirements> inside the manifest are the same for all:

    <Requirements>
        <Feature Name="http://tizen.org/feature/platform.core.cpu.arch.armv7">true</Feature>
        <Feature Name="http://tizen.org/feature/platform.core.fpu.arch.vfpv3">true</Feature>
        <Feature Name="http://tizen.org/feature/screen.size.normal">true</Feature>
    </Requirements>

However, when I create a package to upload to the store, the command somehow merges these 3 manifest file into 1, and that one is copied into the .TPK.
See command line:
...

C:/tizen/ide/..//tools/mingw/msys/1.0/bin/rm -rf "D:\Project\Tizen\MYAPP\Release/../packaging/tempshared"
C:/tizen/ide/..//tools/mingw/msys/1.0/bin/mkdir -p "D:\Project\Tizen\MYAPP\Release/.tpk/info"
C:/tizen/ide/..//tools/mingw/msys/1.0/bin/mv -f "D:\Project\Tizen\MYAPP\Release/../manifest_multi.xml" "D:\Project\Tizen\MYAPP\Release/.tpk/info/manifest.xml"
Stripping...

...

And this merged manifest has EMPTY <Requirements> tag, and I cannot upload to the store. (Error msg: The screen size feature in the binary file you have uploaded cannot be verified. Please check it manually and re-upload the file.)

The manifest file from the TPK:

...
    <Requirements/>
...

My question, what can I do?
1) can I modify the manifest inside the .TPK manually? I guess not, integrity/security check wil fail

2) create my own manifest_multi.xml for the packager? I did it, put it to the given folder, but the packager simple overwrote with the generated one. Maybe other way to do it?

3) any other tips?

Please help, I cannot upload my App :(
It's TIZEN 2.2

Thank you

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.
View Selected Answer

Responses

6 Replies
talari praveen kumar
Hi Please post this in 'Native Application Development' section.
Zoltan Puski
Thx, moved to the Native topic.
Zoltan Puski
Actually I tried with a simpler scenario, 1 service + 1 GUI app (which is, to be honest, nothing special). And the same problem.

This is quite serious, as currently it is NOT POSSIBLE to publish any package which has more apps. I simple cannot upload my TPK, as the created manifest does not contain the specified "Requirements" tag. What can I do to publish my App?

Zoltan Puski
Tried a nasty trick: corrected manually the manifest.xml in the TPK package, then uploaded to the seller office. But it rejected by "Fail to verify the integrity of package resource."
Mark as answer
Pushpa G
Try the attached plugin below: https://developer.tizen.org/sites/default/files/documentation/jarfile.zip steps: ■quit Tizen ide. ■delete ~/tizen-sdk/ide/plugins/org.tizen.nativecpp.misc_3.0.0.*.jar ■copy attached file(in the above link) to ~/tizen-sdk/ide/plugins/ ■restart Tizen ide
Zoltan Puski
Brilliant, it works, thanks! (in the meanwhile I found a hack-workaround also: changed the native-signing.bat as adding a 30 sec waiting in the beginning. Started the generate the TPK from the IDE, and at the 30 sec break, I quickly manually fixed the manifest file in the ".tpk" folder. Then 30 sec finished, and signing was running with the corrected manifest. But obviously this is not the correct way of doing it :))