iink SDK on Device

Answered

Android bundle MyScript crashing create engine

Hi

when I use apk to create MyScript engine, it works, but when using android bundle to build app, .aab file, engine create will crash and app will show black screen.

error log is as below:

image



Best Answer

Dear Herman,


thank you for conctacting us.


Currently, with so little information, it is difficult to provide with an accurate answer.


On the MyScript side, the only idea we have is a certificate issue. Can you confirm your device as an internet connection? If no, can you please enable it?


If this doesn't work, after looking on the internet, I could find links where similar behavior seemed to occur when generating APK from aab (on our side, we have no such experience):

-https://stackoverflow.com/questions/53040047/generate-apk-file-from-aab-file-android-app-bundle/53040774

-https://stackoverflow.com/questions/50471888/android-app-bundle-introduces-resource-not-found-crash-in-android-app

-https://forum.unity.com/threads/game-crash-when-downloaded-from-google-play-aab-build-worked-well-with-offline-apks.710378/

-https://stackoverflow.com/questions/54743271/unable-to-start-dynamic-module-launching-activity-from-the-base-app-and-app-cras

-https://stackoverflow.com/questions/52469914/app-sometimes-crashes-with-resourcesnotfoundexception-after-switching-to-androi/52474885

-...


Can you please check the above links? Do you have anything special in your environment?


If you happen to find a solution, please let us know.


Best regards,


Olivier

1 Comment

Answer

Dear Herman,


thank you for conctacting us.


Currently, with so little information, it is difficult to provide with an accurate answer.


On the MyScript side, the only idea we have is a certificate issue. Can you confirm your device as an internet connection? If no, can you please enable it?


If this doesn't work, after looking on the internet, I could find links where similar behavior seemed to occur when generating APK from aab (on our side, we have no such experience):

-https://stackoverflow.com/questions/53040047/generate-apk-file-from-aab-file-android-app-bundle/53040774

-https://stackoverflow.com/questions/50471888/android-app-bundle-introduces-resource-not-found-crash-in-android-app

-https://forum.unity.com/threads/game-crash-when-downloaded-from-google-play-aab-build-worked-well-with-offline-apks.710378/

-https://stackoverflow.com/questions/54743271/unable-to-start-dynamic-module-launching-activity-from-the-base-app-and-app-cras

-https://stackoverflow.com/questions/52469914/app-sometimes-crashes-with-resourcesnotfoundexception-after-switching-to-androi/52474885

-...


Can you please check the above links? Do you have anything special in your environment?


If you happen to find a solution, please let us know.


Best regards,


Olivier