鸡汤:比你优秀的人比你努力,那你只有努力百倍,万倍。
Issus:
Plugin is too old, please update to a more recent version, or setANDROID_DAILY_OVERRIDE environment variable to"d2ec66d2c37dd64c58a1625a2a4ec35768fc1eda"
我的是classpath 'com.android.tools.build:gradle:2.0.0-alpha3'Android plugin version
gradle插件版本在File->Project Structure->Project--> Android plugin version显示是2.0.0-alpha3'改成1.5.0解决。
<TextView
android:id="@+id/tv_ben"
android:text="Happy Birthday==>Ben,Lily,Kit,Jackly,lisha,XIAOMI,huawei,apple"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:ellipsize="marquee"
android:focusable="true"
android:marqueeRepeatLimit="marquee_forever"
android:focusableInTouchMode="true"
android:padding="16dp"
android:textSize="30sp"
android:textColor="@android:color/holo_blue_bright"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"/>这几属性设置跑马灯效果<span style="white-space:pre"> </span>android:singleLine="true"
android:ellipsize="marquee"
android:focusable="true"
android:marqueeRepeatLimit="marquee_forever"
android:focusableInTouchMode="true"
体会:温水煮青蛙就是等死。
Who am I marking this coffee for ?
本文介绍了解决Gradle插件版本冲突的方法,通过调整插件版本从2.0.0-alpha3到1.5.0成功解决了构建问题,并附带了Android应用中实现跑马灯效果的代码示例。
3403

被折叠的 条评论
为什么被折叠?



