Question
I'm encountering issues with the Dynamic Analyzer when working on a Tizen Web application for Smart TV (Tizen 2.4). The problem occurs in both Tizen IDE 2.4 rev 8 and Tizen Studio.
Error Scenario 1:
- Right-click project in Project Explorer
- Select "Profile As > Profile with Dynamic Analyzer" Result: Error message:
step SDB shell handle failed
Failed to `step SDB shell handle 'mkdir -p /opt/usr/apps/tmp' command` operation
sdb command rejected exception
Error Scenario 2:
- Launch Dynamic Analyzer via Tools > Dynamic Analyzer
- Select target device and application
- Click Start Result: "Current device is not supported" error
How can I resolve these issues?
Answer
Problem Understanding
The Dynamic Analyzer tool currently has limitations when working with Tizen TV applications. The errors you're encountering indicate that the profiling feature is not supported for TV applications in the current version.
Solution Methods
-
Platform Limitation Awareness:
- Dynamic Analyzer is designed for mobile and wearable applications only
- TV applications are not currently supported for profiling with this tool
-
Alternative Debugging Approaches:
- Use standard logging (console.log) for basic debugging
- Implement custom performance measurement tools
- Consider using browser-based developer tools for web applications
-
Feature Request:
- Submit a feature request to Samsung for TV support in Dynamic Analyzer
- Monitor official Tizen/Samsung developer channels for updates
Additional Tips
- Check the official documentation for any updates regarding TV support
- Consider testing your application on mobile or wearable platforms if possible
- For memory management, implement thorough testing procedures and manual checks