Today, in the test, toast could not be displayed. I analyzed several possibilities
1. There is a problem with the context. The corresponding context may be incorrect
2. The value of message is null
But I checked it several times and there was no problem…. Looking up information on the Internet, I said that I couldn’t update UI in sub thread, but I didn’t open thread… After a night of silence. I found the problem. After using toast, I didn’t call the show method… That’s why I don’t show it. It’s too sloppy…
Read More:
- The solution of OpenGL not displaying normally in win7 system
- Android 11 toast error
- Solution for HTML5 page embedded app not displaying normally
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- The reason and solution of Android intent value not updated
- Android Studio | Failed to find target with hash string ‘android-26’ in: D:\Android\sdk
- Android studio compilation error: style attribute ‘@ android:attr/windowEnterAnimation ‘not found the ultimate solution
- Android 9.0 error: net:ERR_ CLEARTEXT_ NOT_ Permitted solution
- Failed in Android compilation: solution to setup Jack server problem
- The solution of “failed to load il2cpp” in Android package launched by unity
- After Android studio creates a new bottomnavigationactivity, there is a blank solution in the upper area of fragment
- Error inflating class in WebView in Android 5. X android.webkit.WebView Solutions
- Android Error | Failed to find target with hash string ”android-23′ in…
- Android project error: could not resolve com.android.support .c onstraint:constraint-layout :2.0.2.
- Error: Error parsing D:\new_android\Android SDK\system-images\android-25\android-wear\armeabi-v7a\de
- Solution to error opening trace file: no such file or directory (2) in Android
- Android studio AAPT: error: attribute android:requestLegacyExternalStorage not found.
- Android Studio Series: after Android studio is opened, the project window will not be displayed.
- The solution of comments are not permitted in JSON. (521) in vscode
- Solution of server not running yetexception in HBase