Our team intervenes within 48 hours, we recommend you submit a public ticket so that other developers can help to fix the issue as soon as possible.

If you purchased the item 6 months ago, please read the Item Support Policy carefully before submitting a ticket.

Note: don’t share item or server credentials on public, use the private option.

Okay
  Public Ticket #2789881
error with initialization!
Closed

Comments

  •  2
    Bazil started the conversation

    getting error in android app when launch

    LOG :

    2021-05-30 16:04:42.205 950-950/com.justkudla.bazil E/WindowManager: android.view.WindowLeaked: Activity com.justkudla.bazil.activities.SplashActivity has leaked window DecorView@d9a71e1[SplashActivity] that was originally added here
            at android.view.ViewRootImpl.<init>(ViewRootImpl.java:807)
            at android.view.ViewRootImpl.<init>(ViewRootImpl.java:777)
            at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:411)
            at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:110)
            at android.app.Dialog.show(Dialog.java:340)
            at com.justkudla.bazil.utils.MessageDialog.show(MessageDialog.java:72)
            at com.justkudla.bazil.activities.SplashActivity$2.onResponse(SplashActivity.java:327)
            at com.justkudla.bazil.activities.SplashActivity$2.onResponse(SplashActivity.java:261)
            at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:82)
            at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:29)
            at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:102)
            at android.os.Handler.handleCallback(Handler.java:938)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:233)
            at android.app.ActivityThread.main(ActivityThread.java:8010)
            at java.lang.reflect.Method.invoke(Native Method)
            at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)


  •  146
    Elyas replied

    The logs you are sharing does not explain the reason of the issue   , please go to logcat section in android studio select error from dropdown list and copy them ,


    quick fix  : error with initialization ! this may be related to the base url( http or https ) or the android key that is not correct

    Best Regards DT team.

    NearbyStores iOS => Buy now from envato

    NearbyStores Android => Buy now from envato

    Follow us on Facebook Page => Here

  •  2
    Bazil replied

    here is the log as requested : 

    2021-05-30 20:44:54.300 14311-19610/com.justkudla.bazil E/sqlite3_android: ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
    2021-05-30 20:44:54.330 14311-19610/com.justkudla.bazil E/sqlite3_android: ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
    2021-05-30 20:44:54.997 14311-19604/com.justkudla.bazil E/FirebaseCrashlytics: Failed to retrieve settings from https://firebase-settings.crashlytics.com/spi/v2/platforms/android/gmp/1:356713752948:android:6aea0c852593adf6/settings



    i have checked again. base url and android keys are correct.

  •  2
    Bazil replied

    i added crashlytics and it shows error in splash activity

    7040552417.png


  •  2
    Bazil replied

    i need a solution asap! please respond

  •  146
    Elyas replied

    hello ,

    please go to line 22 in MessageDialog and replace the  line 

    dialog = new Dialog(context);
    

    with

    dialog = new Dialog(AppController.getInstance());


    Best Regards DT team.

    NearbyStores iOS => Buy now from envato

    NearbyStores Android => Buy now from envato

    Follow us on Facebook Page => Here

  •  2
    Bazil replied

    thanks. 

    i did a fresh install of the new update. 

    9747394248.png