Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting java.lang.VerifyError on access of Singleton class Android Amazon Appstore
    primarykey
    data
    text
    <p>I created an App for Android and it is running on android market successfully. Now I am trying to get it live on Amazon App store so I submitted my app to amazon and they start reviewing it. And after some time they said that your app is crashing at a specific point 5 out of 5 times. </p> <p>Here is the crash report:</p> <pre><code>11-16 17:47:49.460: E/AndroidRuntime(9627): FATAL EXCEPTION: main 11-16 17:47:49.460: E/AndroidRuntime(9627): java.lang.VerifyError: [package_name].manager.DestinationViewManger 11-16 17:47:49.460: E/AndroidRuntime(9627): at [package_name].activity.SearchScreenActivity.performClickFunctionality(SearchScreenActivity.java) 11-16 17:47:49.460: E/AndroidRuntime(9627): at [package_name].activity.SearchScreenActivity.access$0(SearchScreenActivity.java) 11-16 17:47:49.460: E/AndroidRuntime(9627): at [package_name].activity.SearchScreenActivity$1.onClick(SearchScreenActivity.java) 11-16 17:47:49.460: E/AndroidRuntime(9627): at android.view.View.performClick(View.java:2532) 11-16 17:47:49.460: E/AndroidRuntime(9627): at android.view.View$PerformClick.run(View.java:9277) 11-16 17:47:49.460: E/AndroidRuntime(9627): at android.os.Handler.handleCallback(Handler.java:587) 11-16 17:47:49.460: E/AndroidRuntime(9627): at android.os.Handler.dispatchMessage(Handler.java:92) 11-16 17:47:49.460: E/AndroidRuntime(9627): at android.os.Looper.loop(Looper.java:143) 11-16 17:47:49.460: E/AndroidRuntime(9627): at android.app.ActivityThread.main(ActivityThread.java:4196) 11-16 17:47:49.460: E/AndroidRuntime(9627): at java.lang.reflect.Method.invokeNative(Native Method) 11-16 17:47:49.460: E/AndroidRuntime(9627): at java.lang.reflect.Method.invoke(Method.java:507) 11-16 17:47:49.460: E/AndroidRuntime(9627): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 11-16 17:47:49.460: E/AndroidRuntime(9627): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 11-16 17:47:49.460: E/AndroidRuntime(9627): at dalvik.system.NativeStart.main(Native Method) 11-16 17:47:49.470: W/ActivityManager(1419): Force finishing activity [package_name]/.activity.HomeScreenRepairActivity </code></pre> <p>From this crash log I am sure there will be a problem with DestinationViewManger class and unable to solve that crash.</p> <p>This is code written in the <code>DestinationViewManager</code> class:</p> <pre><code>public class DestinationViewManger { private static DestinationViewManger instance = null; private Boolean flag; private DestinationViewManger(){ } public static DestinationViewManger getInstance() { if (instance == null) { instance = new DestinationViewManger(); } return instance; } public Boolean getFlag() { return flag; } public void setFlag(Boolean flag) { this.flag = flag; } } </code></pre> <p>Please help me, I am unable to resolve the crash. Any help is appreciated.</p> <p>//Edited Earlier the crash was not coming at my end but finally I found the crash on the binary that is given by the amazon-appstore team. Actually there is a 3 step process at amazon-appstore to upload the .apk file(I hope anybody know about this). These steps are: (1) upload unsigned binary then, (2) download the processed binary from amazon and then, (3) upload the signed binary. </p> <p>Now when I install the signed .apk file, that i uploaded in (3) step, on my phone it crashes. And if I sign binary that I uploaded in (1) step then it does not crashes. Its crazy but it is happening.</p> <p>Is there anyone knows why is this crash coming?? Is this crash occurring due to the processing of binary done by amazon-appstore??</p> <p>Please Help me... </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload