воскресенье, 14 февраля 2021 г.

Особенности среды разработки TIZEN Studio 4.1



Как мы уже упоминали ранее в кратком обзоре, программистам стал доступен очередной выпуск среды разработки TIZEN Studio 4.1, пришедшей на смену TIZEN SDK. Новый выпуск TIZEN Studio 4.1 предоставляет набор инструментов для создания, сборки, отладки и профилирования мобильных приложений при помощи Web API и Native API TIZEN. Среда построена на базе свежего выпуска платформы Eclipse, имеет модульную архитектуру и на этапе установки или через специальный пакетный менеджер позволяет устанавливать только необходимую функциональность.
В состав TIZEN Studio входит набор эмуляторов устройств на базе TIZEN (эмулятор смартфона, телевизора, умных часов), набор примеров для обучения, инструменты для разработки приложений на C/С++ и с использованием web-технологий, компоненты для обеспечения поддержки новых платформ, системных приложений и драйверов, утилиты для сборки приложений к TIZEN RT (вариант TIZEN на базе RTOS-ядра для маломощных девайсов), средства создания приложений для смарт-часов и телевизоров.

В новой версии:

* Обновлены эмуляторы платформы TIZEN 5.5.
* Улучшен интерфейс для настройки и установки на оборудование сборок TIZEN для IoT-устройств (IoT Setup Manager).
* Объявлена устаревшей среда TIZEN RT IDE.
* В TIZEN CLI прекращена поддержка проектов C# для TIZEN 5.5.
* В эмуляторе объявлена устаревшей организация сетевого доступа при помощи сетевых мостов (Bridge Networking).

TIZEN Studio 4.1 Release Notes

IDE and Tools
New Features

IDE
* TIZEN Mobile/Wearable 5.5 emulator image has been updated.
* IoT Setup Manager has been updated.

Deprecated

* TIZEN RT IDE has been deprecated from TIZEN Studio 4.1.
* TIZEN CLI does not support C# projects from TIZEN 5.5 onwards.
* Bridge Networking support in emulators will be deprecated in future TIZEN Studio releases.

Known Issues

* TIZEN Studio

- In macOS, if the UI perspectives are not displayed properly after updating TIZEN Studio, it is recommended to restart the IDE. This issue is because of the uncleared cache from the previous installation.
- In case if you see any old perspective, it is recommended to create a new workspace and import the projects to the new workspace to resolve the issue.
- In macOS from catalina and above versions, Native Templates-5.5 will not build with CLI when compiler is set to gcc.

* Common

- If you install TIZEN Studio in a directory that requires administrator privileges for access. For example, for C:\ProgramFiles location administrator privilege is needed to run the TIZEN SDK tools. The TIZEN Installer and the baseline SDK Installer alerts you if you try to install it into such a directory.

* Web and Native IDE

- You can create unit tests for TIZEN 2.3.2 and higher version projects only. Unit testing for older versions is not supported.

* Web IDE

- The preview tab in the Web Page Editor sometimes does not appear properly. Use an alternative feature, named Web SDK HTML Editor, which has enhanced features compared to the Web Page Editor. Instead of the preview tab in the Web Page Editor, use the preview feature Ctrl + 4 of the Web SDK HTML Editor.
- In Rapid Development Support (RDS) mode, the web unit test result is not updated.
- Remote Inspector does not allow audit in the updated version of Chrome.

* Certificate Manager

- Overwriting a duplicate certificate profile in the migration wizard works incorrectly on macOS.

* Emulator

- In the TIZEN 5.5 version, the emulator images app un-installation might take some time to complete if the app name contains more than 14 characters. A patch for the same is expected to be released in the next update.
- To use TIZEN Emulator, use Intel VTx supported CPU and the latest version of the graphic card driver provided by the vendor. To verify the prerequisites for TIZEN Emulator, see Prerequisites for TIZEN Studio.
- If the host machine is using NVIDIA® Optimus® technology on either Ubuntu or Windows, you must set the TIZEN Emulator to run with your NVIDIA® graphics card. For Ubuntu, verify the bumblebee project. For Windows, select High Speed NVIDIA® Processor as Preferred Graphics Processor in the NVIDIA® control panel.
- On Ubuntu, if the graphics driver is out-of-date, your Ubuntu desktop session occasionally logs out while launching Emulator Manager, or the emulator skin is displayed improperly. Verify the prerequisites and upgrade to the latest graphics driver.
On Windows, depending on your OS theme (such as Non-Aero themes and Windows XP themes), a display surface can be erased for a while if the emulator window is covered with another window. If you click the emulator window, the display surface runs correctly again.
- On Windows, if an error with message “failed to allocate memory” occurs while executing the emulator, try the following:
1) Close some other programs and try to launch the emulator again.
2) If the RAM size is set to 768 or 1024 MB for the VM in Emulator Manager, change it to 512 MB.
3) Increase the user area of the virtual memory in the system to 3 GB by entering the bcdedit /setincreaseuserva 3072 command on the console with administrator rights (only in Windows 7), and reboot.
- If you use a MacBook Pro that has both Intel HD and NVIDIA® GPUs, the emulator can terminate unexpectedly when you execute the emulator with OpenGL ES version 1.1 or 2.0. Verify the emulator configuration in Emulator Manager and on the General tab in the emulator configuration window, set OpenGL ES version to version 2.0, or to version 3.0.
- When you launch Emulator Manager in the TIZEN IDE, the shortcut image of Emulator Manager may not be displayed properly.
- Basic Web applications are not installed on SD cards.
- To use TIZEN Emulator in TIZEN platform 3.0 or lower, disable the CPU VT option in the HW Support tab of Emulator Configuration.

* CLI and SDB

- TIZEN Studio does not support the Smart Development Bridge (SDB) bash auto-completion on Windows (it is available on Ubuntu and macOS).

* Dynamic Analyzer

- When analyzing applications on commercial devices running TIZEN 3.0, newly-released or after a firmware update, the following problems exist:
1) The Core Frequency information is not shown.
2) The screenshots on the scene transitions feature will not work.
- When analyzing applications on the TIZEN 4.0 emulator or reference device, the startup profiling information is not shown.
- The UI Hierarchy viewer feature and startup profiling are not performed simultaneously.
- The Dynamic Analyzer cannot show lifecycle information for Web applications.
- Widget applications cannot be profiled with the Dynamic Analyzer. They are hidden in the application list on the toolbar for all TIZEN platforms, except TIZEN 2.3.2.
- The Dynamic Analyzer sometimes gets stuck which is caused by an internal security checking program.