question

BitBros Inc avatar image
BitBros Inc asked

NoSuchMethodError crashes in published version

Amazon just published our Underground version. It has successfully passed all our tests and all Amazon tests. We just wanted to try out the published version and realised that it crashes on startup. There are also crashes for all users downloading and starting the app. There have been no issues with our submitted version (before Amazon wrapped it in their code) in our tests and in Amazon tests. The crash occurs in the wrapped code and is as follows: Caused by: java.lang.NoSuchMethodError: [.. removed ...].android.amazon.underground.UnityPlayerActivity.onStartUnityPlayerActivity at [.. removed ...].android.amazon.underground.UnityPlayerActivity.onStart(UnityPlayerActivity.java) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171) Is Amazon code wrapping erroneous or are there further requirements for our code not documented? Our app is built using Unity. Amazon seems to wrap "onStart", which is not overridden by our Activity (but I would not believe that this case is not handled by the wrapping mechanism). Live App testing of the same apk works. However, Amazon does not do Underground wrapping but "normal" wrapping for Live App testing, it seems.
amazon appstoreamazon underground
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Ross@Amazon avatar image
Ross@Amazon answered
There is currently an issue affecting the publication of new applications. Our teams are aware of the problem and are currently working towards a solution. Republishing the app with a higher version code can be used to resolve this issue in the meantime.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.