Reset to default
Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.
It falls back to sorting by highest score if no posts are trending.
I solved this issue by
Build -> Rebuild Project and then
Also I think newly added menu
Run -> Clean and Rerun should also fix this issue.
Clean and Rerun is removed in Android Studio 2.3
I also encountered same issue, it solved by rebuilding the project.
Build-> Rebuild Project
I think this is only occuring on new Android Studio update from 2.0.
I have this problem and solved by removing all directory (or only one) from directory ../app/build/intermediates/builds/debug/.
in this example: /home/ziyaddin/AndroidStudioProjects/Test/app/build/intermediates/builds/debug/19181584762318
i solved this by invalidating cache, Rebuilding the project, and then running it, it worked fine.
Steps to take:
- select Build
- Select Rebuild project
- run project
I have just had this issue, and solved by unplugging my phone and running in the emulator. This built okay, and then subsequent tests on my phone were successful. In doing this, I also commented out my savedInstanceState Bundle, which may have been a contributing factor. I think this is potentially an internal glitch with Android Studio.
Steps to take:
- Comment out Bundles/Saved States
- Run on Emulator only
- Retry with Phone
- Add back Bundles/Saves States
5) Try running on device again, all should be good.
Rebuild project works fine in Android Studio 2.2.2