sazid / Browse

A fast and simple light-weight web browser for Android
Apache License 2.0
12 stars 4 forks source link

App Crashes While Running On Android API 23 #7

Closed ankit1057 closed 6 years ago

ankit1057 commented 6 years ago

09-10 16:04:48.175 18897-18979/com.mohammedsazid.android.browse E/cr_VariationsUtils: Failed reading seed file "/data/user/0/com.mohammedsazid.android.browse/app_webview/variations_seed_new": /data/user/0/com.mohammedsazid.android.browse/app_webview/variations_seed_new: open failed: ENOENT (No such file or directory) 09-10 16:04:48.638 18897-19025/com.mohammedsazid.android.browse E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY) 09-10 16:04:57.918 18897-18897/com.mohammedsazid.android.browse E/AndroidRuntime: FATAL EXCEPTION: main Process: com.mohammedsazid.android.browse, PID: 18897 java.lang.IllegalArgumentException: Expected receiver of type com.mohammedsazid.android.browse.MainActivity, but got android.support.v7.widget.TintContextWrapper at java.lang.reflect.Method.invoke(Native Method) at android.view.View$DeclaredOnClickListener.onClick(View.java:4463) at android.view.View.performClick(View.java:5214) at android.view.View$PerformClick.run(View.java:21173) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

sazid commented 6 years ago

Thanks @ankit1057 for the report :) Can you please tell me, how it happened? And if you manage to fix it yourself, feel free to open a pull request :D

ankit1057 commented 6 years ago

I just forked the code and cloned it and ran the app. The menu won't open. When I click on the three dots, the app crashed.

On Mon, Sep 10, 2018, 7:40 PM Mohammed Sazid-Al-Rashid < notifications@github.com> wrote:

Thanks @ankit1057 https://github.com/ankit1057 for the report :) Can you please tell me, how it happened?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sazid/Browse/issues/7#issuecomment-419926420, or mute the thread https://github.com/notifications/unsubscribe-auth/AhKIyHtZ30mwpjTa3cDbHxZODBXpJPFPks5uZnLZgaJpZM4WhJgJ .

sazid commented 6 years ago

@ankit1057 Can you try pulling in the latest code and run it? I've updated the libraries and gradle.

sazid commented 6 years ago

It's available to download from Playstore now: https://play.google.com/store/apps/details?id=com.mohammedsazid.android.browse

sazid commented 6 years ago

Closing for now, if you experience the same problem feel free to reopen the issue!

ankit1057 commented 6 years ago

Thank you so much Sir, it worked. I gotta learn a lot from your project. The implementation is super cool.

On Fri, Sep 14, 2018, 11:35 AM Mohammed Sazid-Al-Rashid < notifications@github.com> wrote:

Closing for now, if you experience the same problem feel free to reopen the issue!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sazid/Browse/issues/7#issuecomment-421241113, or mute the thread https://github.com/notifications/unsubscribe-auth/AhKIyGjR_oszybnXr3wfi_GWhDW0fOwcks5ua0c-gaJpZM4WhJgJ .

sazid commented 6 years ago

You're welcome!

ankit1057 commented 6 years ago

Today I Ran The App Again and it crashed whereas the playstore version doesn't crash

sazid commented 6 years ago

Same error or a different error? I can't seem to reproduce it on my end.