Acknowledged

venusq2 device file incomplete?

Have updated device files through sdk manager, but received an exception during drawBitmap2 in the sim, and noticed the venusq2 compiler.json seems to be lacking an imageFormats section.

Parents
  • The imageFormats section of the compiler.json is not related to drawBitmap2(), so I don't think that's an issue in this case. Can you describe more about the exception you're seeing? The one exception that method can throw is related to the location and size parameters falling outside of bounds of the source bitmap.

Comment
  • The imageFormats section of the compiler.json is not related to drawBitmap2(), so I don't think that's an issue in this case. Can you describe more about the exception you're seeing? The one exception that method can throw is related to the location and size parameters falling outside of bounds of the source bitmap.

Children
  • I get an unhandled exception:

    Error: Unhandled Exception

    Exception: Source must be native color format

    Stack: - onUpdate() at <drawBitmap2 line in my view ...>

    Adding an imageFormats section (from the venusq2m!) to the compiler.json solves the problem.