Aspose for android, new Presentation出错

集成的时候new Presentation 就会出错。下面这一行代码出错
Presentation pre = new Presentation();

查了下是因为在AndroidManifest.xml里添加了android:sharedUserId引起的,去掉就正常。
但因为app是已上线的,不能去掉android:sharedUserId,否则老用户升级不了。请问有什么办法解决吗?

日志输出以下错误信息
12-27 15:30:40.605 23274 23274 D AndroidRuntime: Shutting down VM
12-27 15:30:40.609 23274 23274 E AndroidRuntime: FATAL EXCEPTION: main
12-27 15:30:40.609 23274 23274 E AndroidRuntime: Process: com.newskyer.draw, PID: 23274
12-27 15:30:40.609 23274 23274 E AndroidRuntime: java.lang.ExceptionInInitializerError
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at java.lang.Class.classForName(Native Method)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at java.lang.Class.forName(Class.java:454)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at java.lang.Class.forName(Class.java:379)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.internal.mh.for.if(Unknown Source:181)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.ms.System.int.byte(Unknown Source:24)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.ms.System.int.do(Unknown Source:99)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.ms.System.int.do(Unknown Source:22)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.ms.System.int.do(Unknown Source:6)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.are.(Unknown Source:7)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.GroupShape.(Unknown Source:50)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.BaseSlide.(Unknown Source:63)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.MasterSlide.(Unknown Source:0)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.adj.do(Unknown Source:8)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.am3.do(Unknown Source:179)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.Presentation.(Unknown Source:110)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.newskyer.draw.PadActivity.check(PadActivity.kt:983)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.newskyer.draw.PadActivity.onCreate(PadActivity.kt:963)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8488)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8461)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1343)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4602)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4842)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:113)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2928)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:117)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:205)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.os.Looper.loop(Looper.java:293)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:9596)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:586)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1204)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to read from field ‘com.aspose.slides.ms.backend.System.Drawing.int com.aspose.slides.ms.backend.System.Drawing.GraphicsEnv.for’ on a null object reference
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.ms.backend.System.Drawing.GraphicsEnv.int(Unknown Source:4)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.ms.backend.System.Drawing.int.do(Unknown Source:0)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.internal.ft.class.(Unknown Source:3)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: at com.aspose.slides.internal.ft.class.(Unknown Source:5)
12-27 15:30:40.609 23274 23274 E AndroidRuntime: … 33 more

@xjf,
这个问题是从这里复制的:

以后请不要重复论坛主题。