AndroidStudio报setGravity() shouldn’t be called on text toasts, the values won’t be used
描述:
运行程序时报setGravity() shouldn’t be called on text toasts, the values won’t be used
解决:
targetSdkVersion 30及以上版本不适用,设置成更低版本就可以了
AndroidStudio报setGravity() shouldn’t be called on text toasts, the values won’t be used
描述:
运行程序时报setGravity() shouldn’t be called on text toasts, the values won’t be used
解决:
targetSdkVersion 30及以上版本不适用,设置成更低版本就可以了