在某些机型上加载ppt会抛出如下错误。
sdk版本:aspose-slides-20.11-android.via.java.jar
机型:HLK-AL00
代码:
val presentation = Presentation(uri.toFile().absolutePath)
main(1)
com.aspose.slides.exceptions.ArgumentException
Culture Name: zh-CN-#Hans is not a supported culture
1 java.lang.ExceptionInInitializerError:
2 com.aspose.slides.o9.(Unknown Source:14)
3 …
4 Caused by:
5 com.aspose.slides.exceptions.ArgumentException:Culture Name: zh-CN-#Hans is not a supported culture
6 com.aspose.slides.internal.e9.if.if(Unknown Source:79)
7 com.aspose.slides.internal.e9.if.(Unknown Source:35)
8 com.aspose.slides.internal.e9.if.do(Unknown Source:11)
9 com.aspose.slides.internal.ft.try.try(Unknown Source:22)
10 com.aspose.slides.internal.e9.if.int(Unknown Source:4)
11 com.aspose.slides.internal.ga.long.long(Unknown Source:18)
12 com.aspose.slides.internal.ga.long.if(Unknown Source:0)
13 com.aspose.slides.ms.System.this.do(Unknown Source:1)
14 com.aspose.slides.o9.do(Unknown Source:7)
15 com.aspose.slides.o9.do(Unknown Source:57)
16 com.aspose.slides.o9.do(Unknown Source:6)
17 com.aspose.slides.o9.if(Unknown Source:49)
18 com.aspose.slides.FontData.(Unknown Source:7)
19 com.aspose.slides.o9.(Unknown Source:14)
20 com.aspose.slides.Presentation.(Unknown Source:18)