SDK 2.4r7 CLI Package Creation Issue

Original Created Jul 01, 2016 | Regeneration Apr 22, 2026

I'm trying to create a package for a simple HelloWorld Native application using the Tizen CLI, following the official documentation. However, when I run the tizen package command, I get the error: "Cannot provide a package function to this project."

The error log (tools/ide/ncli.log) shows:

2016-06-30 14:19:08,213 [TRACE] PackageCLI.java(745) - tizen-manifest.xml does not exist
2016-06-30 14:19:08,213 [TRACE] PackageCLI.java(746) - The entered path : /home/denis/workspaceTZ/rototo

Environment:

  • OS: Debian GNU/Linux 32bit
  • Java: SE Runtime Environment (build 1.7.0_25-b15)
  • The tizen-manifest.xml file exists in the specified directory
  • Everything works fine when using the IDE (creation, build, signing, and packaging)

Problem Understanding

The issue occurs when trying to package a Tizen native application using the CLI. The error suggests the system cannot find the tizen-manifest.xml file, even though it exists in the project directory.

Solution Methods

  1. Correct Path Specification:

    • The packaging command must point to the Debug directory, not the project root:
      tizen package --type tpk --sign MyTizen -- /home/denis/workspaceTZ/firstapp/Debug
      
  2. Profile Configuration:

    • Ensure your security profile is properly set:
      tizen security-profiles add -n MyTizen -a ~/tizen-sdk-data/keystore/author/author.p12 -p mypassword
      tizen cli-config -g default.profiles.path=/home/denis/tizen-sdk-data/ide/keystore/profiles.xml
      
  3. Path Verification:

    • Double-check that all paths in your commands are correct and that the manifest file exists in the expected location.

Code Examples

Complete workflow example:

# Create project
tizen create native-project -p wearable-2.3.1 -t basic-ui -n firstapp -- /home/denis/workspaceTZ

# Build
tizen build-native --rootstrap wearable-2.3.1-device.core --configuration Debug -- /home/denis/workspaceTZ/firstapp

# Create certificate
tizen certificate -a MyTizen -p mypassword -c FR -s Alsace -ct Colmar -o None -u Development -n "Your Name" -e name@domain.com

# Package (note the Debug directory)
tizen package --type tpk --sign MyTizen -- /home/denis/workspaceTZ/firstapp/Debug

Additional Tips

  • Always verify the complete path to your project files
  • Check the CLI logs (tools/ide/ncli.log) for detailed error information
  • For commercial device deployment, ensure you're using the correct signing profile

Customize your cookie preferences

You can enable or disable non-essential cookies. Essential cookies are always on to ensure the site works properly and to keep you signed in.

Necessary

These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.

Always on

Analytics

These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.

Enable analytics cookies
Public Forum Public Forum
Employees only. Please sign in with your company account.