简体   繁体   中英

Even after installing the new android app it is showing the older version's build error

My last published app has some issue while it got build.

java.lang.NullPointerException: Attempt to invoke virtual method 'dagger.ObjectGraph dagger.ObjectGraph.plus(java.lang.Object[])' on a null object reference

There was some issue with the build apk, not the code. Then again we generated the new apk and published it to play store. Now, the following things happen
1- The users who didn't install the last version can successfully install and run the app from the play store.
2- The user who has installed the buggy apk are getting the same error even on uninstalling the older version and reinstalling the new app from play store.
3- One of my testing phone showing the same issue as it has installed the last version but when I went for debugging(from the android studio) with the phone it worked like a charm.
Any suggestion what can I do to fix this issue.

Kindly try this options:
1. Try Uninstalling the app and then clear the RAM
2. Choose Rebuild project option under Build menu in Android Studio
3. If any of these will not work then, do file->Invalidate caches and restart option in Android Studio.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM