BUILD: ERROR: TextArea is not supported by device 'd2charlie'.

Have decided to add more 'old' devices as compatible with my widget.

Got build error: 

BUILD: ERROR: TextArea is not supported by device 'd2charlie'.

resources-d2charlie was created all layouts are modified to exclude TextAreas and replace it with labels.

The same story for other devices (vivoactive3-Mercedes edition, Descent Mk1) with target SDK 3.0.x

Please, please help!

  • See https://forums.garmin.com/developer/connect-iq/b/news-announcements/posts/using-relative-layouts-and-textarea

    TextArea is only available to Connect IQ 3.1 compatible products.

    (I'm sure it now includes 3.2 and 4.0 devices, but won't include 3.0 devices)

  • Thank you as usual!

    Please note: resources-d2charlie was created all layouts are modified to exclude TextAreas and replace it with labels.

  • I just do something similar using dc calls so things work on any device.  Here's one where I have a string and just want to spit it up bases on how characters fit, looking for spaces.  I did this before TextAreas came out

  • Are you sure the build is actually using resources-d2charlie to override the base layout with the d2charlie-specific layout?

    Try introducing a syntax error in the d2charlie layout file and see if the build picks it up.

    If the build is picking up your resource file, it might be a bug where it's still validating the base layout resource file for d2charlie even though the problematic resources should be overridden by resources-d2charlie.

    In that case, you could try:

    - explicitly specifying resource paths in monkey.jungle (based on devices with 3.1 support and devices without)
    - creating resource folders such as "resources-3.1" and "resources-pre-3.1"

    That way you could be sure that pre-3.1 devices would never even see any code in resources-3.1/.

  • Hi, I am getting the same build error (TextArea not supported) for some devices that support CIQ 3.1.0 (e.g. D2 delta and vivoactive3) these devices are CIQ 3.1.0 according to :https://developer.garmin.com/connect-iq/compatible-devices/

    Just tested the vivoactive3 in the simulator and it works just fine, but when exporting the project I get 

    ERROR: vivoactive3: C:\Garmin-projects\Face\resources\layouts\layout.xml:20: TextArea is not supported by device 'vivoactive3'.

    running SDK: 4.2.3

    Visual Code with Monkey C v. 1.0.8

    appreciate the help

    /Fredrik