Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime Exception: You need to use a Theme.AppCompat theme (or descendant) with this activity #99

Closed
namannik opened this issue Mar 30, 2016 · 4 comments

Comments

@namannik
Copy link

The library crashes when attempting to show the rate dialog. The crash says:

Fatal Exception: java.lang.RuntimeException
Unable to start activity ComponentInfo{com.heartv/com.heartvApp.hearTVactivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

Here's the crash report:

https://fabric.io/heartv/android/apps/com.heartv/issues/56fb1a58ffcdc042503e3436

Any ideas how I can resolve this? (My activity called hearTVactivity extends FragmentActivity.)

@namannik
Copy link
Author

I've fixed this issue in my app by changing my app's theme to android:theme="@style/Theme.AppCompat.Light" in the application section of AndroidManifest.xml.

@hotchemi
Copy link
Owner

hotchemi commented Apr 3, 2016

Umm, I'll investigate.

@hotchemi
Copy link
Owner

Could you check with 1.0.1?

@namannik
Copy link
Author

Yes, that fixed the problem. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants