[karma][v4.0]app failed to open

in #utopian-io5 years ago

Related Information:

https://github.com/YahiaAngelo/Karma

Project Name:Karma

The submitted issue is here:https://github.com/YahiaAngelo/Karma/issues/2

Actual behavior

App crashing again and again ,can not open the app.

Expected behavior

Expected that i can open the app and can use successfully

How to reproduce

  • Install the apps and open the app
  • Use app sometimes
  • Minimize the app and clear the app from recent used app.
  • Now try to open the app again.
  • Do 2-4 steps again.
  • See the bug

Information

App version:v4.0
OS:Android 6.0.1
Device:Samsung j5

Recording Of The Bug

My GitHub account:

https://github.com/44asad

Logcat:

05-16 08:55:20.618 18191 18191 E AndroidRuntime: FATAL EXCEPTION: main
05-16 08:55:20.618 18191 18191 E AndroidRuntime: Process: com.angelo.karma, PID: 18191
05-16 08:55:20.618 18191 18191 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.angelo.karma/com.angelo.karma.LoginActivity}: java.lang.RuntimeException: A TaskDescription's primary color should be opaque
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3256)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3352)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.app.ActivityThread.access$1100(ActivityThread.java:223)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1797)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.os.Handler.dispatchMessage(Handler.java:102)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.os.Looper.loop(Looper.java:158)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.app.ActivityThread.main(ActivityThread.java:7231)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at java.lang.reflect.Method.invoke(Native Method)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
05-16 08:55:20.618 18191 18191 E AndroidRuntime: Caused by: java.lang.RuntimeException: A TaskDescription's primary color should be opaque
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.app.ActivityManager$TaskDescription.(ActivityManager.java:641)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.app.Activity.onApplyThemeResource(Activity.java:4076)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.view.ContextThemeWrapper.initializeTheme(ContextThemeWrapper.java:150)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.view.ContextThemeWrapper.setTheme(ContextThemeWrapper.java:94)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at androidx.appcompat.app.AppCompatActivity.setTheme(AppCompatActivity.java:111)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at com.angelo.karma.LoginActivity.onCreate(LoginActivity.java:41)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.app.Activity.performCreate(Activity.java:6877)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3209)
05-16 08:55:20.618 18191 18191 E AndroidRuntime:   ... 9 more
Sort:  

Hello, @asad44. Thank you for letting the PO learn about this issue. Great work. However, I want to suggest that you improve your report formatting. The current format which you use could be improved. This could earn you more score.
Looking forward to your next contribution.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @knowledges! Keep up the good work!

Hi @asad44!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @asad44!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63466.72
ETH 2683.95
USDT 1.00
SBD 2.80