8212369 / WPR

WP7-8 APP 运行器
242 stars 14 forks source link

Crash on about button #5

Open D-06 opened 1 year ago

mediaexplorer74 commented 1 year ago

No description provided.

Yea, I catched this exception too... but only on Android. At Desktop version "About" page is ok) So strange... "Avalonia multi-platforming in action" ;))

P.S. I do some experiments on WPR src code... even if I really don't know Avalonia framework ))

My case of AboutPage.axaml (AXAML? What is "a" means? Avalon, old sweet Project Avalon from XP/Vista/LongHorn times?))

<UserControl xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:p="clr-namespace:WPR.UI.Properties"
             mc:Ignorable="d" 
             d:DesignWidth="800" 
             d:DesignHeight="450"
             x:Class="WPR.UI.Pages.AboutPage">
    <StackPanel Orientation="Vertical" Margin="20">
        <Label FontSize="30">WPR 0.0.1 proto 2</Label>
        <Label>(C) Lin Yan + MediaExplorer 2022</Label>
        <Label>License: MS-PL + MIT</Label>
    </StackPanel>
</UserControl>

seems to be "fast bugfix" (I just tried to add xmlns:p="clr-namespace:WPR.UI.Properties" ))))

Also I deleted FontFamily attribute for Label.

The result: image

Reassembled apk here: https://github.com/mediaexplorer74/WPR/releases/tag/v0.0.1-proto2

P.S. My Visual Studio 2022 Preview may assemble very specific apk files (reduced, without some dependancies, so, this is not for production and only for my own themes, sorry).