我遇到了问题
{
AnimatorSet animSet = new AnimatorSet();
animSet.start();
}
在animSet.start
获取消息android.util.AndroidRuntimeException: Animators may only be run on Looper threads...
请帮我解决这个问题..
答案 0 :(得分:0)
尝试添加
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
runOnUiThread(new Runnable() {
@Override
public void run() {
animSet.start();
}
});
}
}, 100);