Ticket Created
over 3 years ago

CIQQA-599

Unable to load bitmap with CIQ template app

Error: Invalid Resource Specified
Details: 'Failed invoking <symbol>'
Time: 2021-09-16T16:38:38Z
Part-Number: 006-B3288-00
Firmware-Version: '19.20'
Language-Code: eng
ConnectIQ-Version: 4.0.5
Filename: test
Appname: test
Stack:
- pc: 0x3000426d
- pc: 0x3000406b
- pc: 0x1000014c
File: Rez
Line: 21
Function: MainLayout
- pc: 0x100000a5
File: 'C:\eclipse-workspace\test\source\testView.mc'
Line: 12
Function: onLayout

Steps to reproduce.

In Eclipse create new application from the CIQ template "New -> Other -> ConnectIQ", select app type "widget".

Run widget as is in emulator - works as expected

Run widget as is in real Fenix 6 - Widget crashes with error above

Parents
  • Thank you for your suggestion. To be honest I missed that option

    1. What is the difference between "Build for device" and "Build project" menu items?

    2. Is it possible to use "Build for device" menu item in order to target widget application to different platforms (e.g., Fenix and Forerunner series)?

Comment
  • Thank you for your suggestion. To be honest I missed that option

    1. What is the difference between "Build for device" and "Build project" menu items?

    2. Is it possible to use "Build for device" menu item in order to target widget application to different platforms (e.g., Fenix and Forerunner series)?

Children
  • I don't use "build Project".  T create a run configuration, and then run it.  There too you select a target.

  • Is this possible to use "Build for device" menu item in order to target widget application to different platforms (e.g., Fenix and Forerunner series)?

    There is a binary difference available between "Build for device" and  "Build project" approaches. It looks like "Build project" approach doesnt put drawable resources to the output binary

    Is this a known issue with resource compiler? How does "Build for device" approach work? Is this possible to compare build logs for both approaches

  • Is this possible to use "Build for device" menu item in order to target widget application to different platforms (e.g., Fenix and Forerunner series)?

    There is a binary difference available between "Build for device" and  "Build project" approaches. It looks like "Build project" approach doesnt put drawable resources to the output binary

    Is this a known issue with resource compiler? How does "Build for device" approach work? Is this possible to compare build logs for both approaches

  • Yes, with the wizard, you specify the target device.  You're also assured that you are building for the device you intend.