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

Comment out AppActivity#getColor(@ColorRes int resId) method to prevent app crash #3

Merged
merged 1 commit into from Aug 9, 2015

Conversation

shoheikawano
Copy link
Contributor

This revision fixes #4.

I have commented out AppActivity#getColor(@ColorRes int resId) method to prevent app from crashing right after it launches on Nexus 5 Android M preview. (Not sure if it occurs in other environment as well.)

I'm guessing that a method with the same signature has been added to Context class in preview version so that it conflicts with the method above and causes app to crash.

info

  • I've only confirmed that the app does not crash on Nexus 5 Android M preview with this revison.

@shoheikawano shoheikawano changed the title Comment out AppActivity#getColor(@ColorRes int resId) method Comment out AppActivity#getColor(@ColorRes int resId) method to prevent app crash Aug 8, 2015
ogaclejapan added a commit that referenced this pull request Aug 9, 2015
Comment out AppActivity#getColor(@ColorRes int resId) method to prevent app crash
@ogaclejapan ogaclejapan merged commit bf1dc3d into ogaclejapan:master Aug 9, 2015
@ogaclejapan
Copy link
Owner

👍

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

Successfully merging this pull request may close these issues.

App crash right after launch
2 participants