Question
I'm experiencing an issue where my app fails to install when I try to run it from Tizen SDK. The error message shows:
Error code: ARGUMENT_INVALID Management: Check the parameters of pkgcmd command.
Additionally, when I try to install the app using sdb with the command sdb install, I get another error:
"failed to get package temporary path"
This problem started occurring after a recent update. Previously, I could install the app successfully through sdb first, then run it from the SDK. What could be causing this issue?
Answer
Problem Understanding
The user is facing two related installation issues:
- ARGUMENT_INVALID error when trying to run the app from Tizen SDK
- "failed to get package temporary path" error when using sdb install
These problems appeared after a system update and seem to be related to package installation parameters and temporary file paths.
Solution Methods
-
Verify SDK and CLI Tool Versions:
- Ensure your Tizen Studio and CLI tools are updated to the latest versions
- Check for compatibility between your SDK version and target device's Tizen version
-
Check Package Parameters:
- Review your project's package configuration in the manifest file
- Verify the package name and version format follows Tizen requirements
-
Temporary Path Resolution:
- Check available storage space on both your development machine and target device
- Try clearing temporary files in the Tizen Studio workspace
- Restart both the device and development environment
-
Alternative Installation Method:
- Try building the package manually using
tizen build-packagecommand - Then install using
tizen installwith proper parameters
- Try building the package manually using
Additional Tips
- If you recently updated Tizen Studio, consider creating a new project to test if the issue persists
- Check the Tizen Studio error log for more detailed information about the failure
- Ensure your device's developer mode is properly enabled and connected