Fuse Community

Android crash when show some image

hi guys
my application crash when we show this image a in my device but not crash in preview
“I didn’t get any log for this bug”

Images are not crashing in general, so please remember to share your code and device details!

hello aeq I am sorry for being late for a reply exemple code and link image in azure

<App>
    <DockPanel Background="#0646">
        <Image   StretchMode="Fill" BoxSizing="FillAspect"  Margin="5,10" Url="https://retailintest.blob.core.windows.net/marketplace/Avatar/8b0d2a4f-86b0-414c-b75b-71dd33de9471.png" ></Image>
    </DockPanel>
</App>

Why don’t you just copy & paste the code with code brackets here instead of sending an image?

use “```” before the start of your code and again after the last line of code.

ok

    <DockPanel Background="#0646">
        <Image   StretchMode="Fill" BoxSizing="FillAspect"  Margin="5,10" Url="https://retailintest.blob.core.windows.net/marketplace/Avatar/8b0d2a4f-86b0-414c-b75b-71dd33de9471.png" ></Image>
    </DockPanel>
</App>

Uno version: 1.12.2-dev-6cd746a (build 385) - npm install @fuse-open/uno
Run command: node_modules/.bin/uno build -t=android --run

MainView.ux

<App>
	<DockPanel Background="#0646">
        <Image   StretchMode="Fill" BoxSizing="FillAspect"  Margin="5,10" Url="https://retailintest.blob.core.windows.net/marketplace/Avatar/8b0d2a4f-86b0-414c-b75b-71dd33de9471.png" ></Image>
	</DockPanel>
</App>

Test.unoproj

{
  "RootNamespace":"",
  "Packages": [
    "Fuse",
    "FuseJS"
  ],
  "Includes": [
    "*"
  ]
}

.unoconfig

Packages.SourcePaths : [path to fuselibs]/fuselibs/Source

Works for me, just tested on Android 9 device, is yours an arm or x86 device?

1 Like

thank you :sunglasses::blush: