Reputation: 1
I am new to Android Studio. I am trying to display what was entered as a pop up.
Toast.makeText(getApplicationContext(), input.toString(), Toast.LENGTH_LONG).show();
Error Log:
eglSurfaceAttrib not implemented
Failed to set EGL_SWAP_BEHAVIOR on surface 0xac96ba80, error=EGL_SUCCESS
getSlotFromBufferLocked: unknown buffer: 0xaa1705a0
Thanks!
Upvotes: 0
Views: 5927
Reputation: 1
try to use try catch.
try{
Toast.makeText(getApplicationContext(), input.toString(), Toast.LENGTH_LONG).show();
}catch (IOError error){
error.printStackTrace();
}
do not forget to import java.io.IOError;
Upvotes: 0