java.lang.ClassNotFoundException: android.support.v4.view.ViewPropertyAnimatorListener
解決辦法:
把你的style文件中theme改一下
在Theme.AppCompat.Light.DarkActionBar前面加上Base. 如下:
<resources> <!-- Base application theme. --> <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> </style> </resources>