And output log:
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,
I’ve added a ticket with ID SLIDESANDROID-470 to our issue-tracking system. Our development team will investigate the case. We will inform you of any progress.
Please also share information about the JDK version in your app.
@xjf,
Our developers have looked into the issue you are experiencing.
Unfortunately, we don’t know what you are doing specifically. But this problem says that we cannot get data about our “services”: \META-INF\services\com.aspose.slides.ms.backend.System.Drawing.GraphicsEnv
Could you please look into it in your old project?
No, I can see this file in apk package file.
I try to remove android:sharedUserId from AndroidManitest.xml, it works.
But I need android:sharedUserId, because this app already published.
do you have any idea for this?