i am getting this Error
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.activeandroid.TableInfo.getIdName()' on a null object reference
when i disable Instant Run i did not get any error my project works fine.
But i want to keep instant Run Enabled. I find some where that if i want to enabled Instant Run i have to un-check the
ReStart the Activity on code changes
but this did not work for me.
Any solution for this is highly appreciated.
Problem Solved
You don't have to turn off the instant run. Simply set
Inside application node in AndroidManifest.xml
, uninstall the app before running.