使用Buildozer在Android上构建APK的问题

时间:2020-08-20 16:06:41

标签: python android linux kivy buildozer

我是kivy的新手,我试图在Linux上的python / kivy中构建helloworld,由于某种原因,我收到此错误并知道该怎么做

这是buildozer.spec <ListBox Grid.Row="1" x:Name="SetupStepsList" VerticalAlignment="Stretch" KeyDown="ListBox_KeyDown" Tag="This is the tag" Style="{StaticResource GenericListBox}" SelectedValue="{Binding ActiveStep, Mode=TwoWay}" ItemContainerStyle="{StaticResource TightListBox}" ItemsSource="{Binding SelectedStation.SetupSteps, Mode=OneWay}"> <ListBox.ContextMenu> <ContextMenu> <MenuItem Header="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type ListBox}}, Path=Tag}" > <MenuItem.Icon> <iconPacks:PackIconMaterial Kind="Plus" Style="{StaticResource MenuIconStyle}"/> </MenuItem.Icon> </MenuItem> </ContextMenu> </ListBox.ContextMenu> <ListBox.ItemTemplate> <DataTemplate> <StackPanel> <TextBlock AllowDrop="False" Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type ListBox}}, Path=Tag}"/> </StackPanel> </DataTemplate> </ListBox.ItemTemplate> </ListBox>

这是控制台https://drive.google.com/file/d/1kUigxxOkf-HBF4qXwtcmfrVLZtJTkHtK/view?usp=sharing

的完整输出

(由于某种原因,stackowerflow说当我把错误放到那里时它看起来像垃圾邮件,所以我必须将其上传到googledrive上)

我希望有人能帮助我

1 个答案:

答案 0 :(得分:0)

ValueError:存储目录路径不能包含空格,请使用--storage-dir指定路径

这是为您打印的错误。似乎很清楚。尝试在名称中没有空格的文件夹中构建。