1
내 애플리케이션에서 Viewproperty 애니메이션을 사용했습니다. 일단 그것이 안드로이드 3.0 타블렛에서 잘 작동한다면, 에뮬레이터 애플리케이션이 충돌하고 logcat에 오류가 표시됩니다.Android : ViewProperty Animator가 3.0 에뮬레이터에서 작동하지 않습니다.
코드 :이
ImageButton home = (ImageButton)findViewById(R.id.Home);
home.animate().setDuration(200);
smmslogo.animate().alpha(1);
가 오류 :
java.lang.NullPointerException
at android.view.ViewPropertyAnimator.animatePropertyBy
이 사람이 나를 도울 수 있습니까?