- 博客(4)
- 收藏
- 关注
原创 android报错ERROR: Unable to resolve dependency for ‘:app@debug/compileClasspath‘
按照正常步骤新建项目,突然抽风,项目会报错,gradle连接错误等,但是编译运行按钮却可以按,而且可以成功编译安装应用! ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not 1、更改SDK版本 2、Build->Clen Project 3、之后如果还是提醒你要“Try again”,可以直接重启!或者是File -> Invalidate Caches / Restart ->
2020-11-24 15:48:20 931
原创 Rational Rose画类图时让方法带上形参并显示
1、单击选中类,选择Open Specification… 2、选择operation,鼠标单击空白处,插入方法 3、选中方法,鼠标单击右键,选择Specification… 4、选择Details,并在Arguments中的空白处插入形参 5、创建完成之后,再次右键选中该类,在Options中选择 Show Opration Signature,即可显示形参。 ...
2020-10-23 16:46:57 5091
原创 Android开发案例 用ImageSeekBar实现拖动进度条切换图片
实现效果截图 布局文件 imageseekbar.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent"
2020-10-12 16:07:12 408
原创 Android开发案例 带图标的按钮实现图片切换
一、布局文件 main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="match_parent" android:
2020-10-12 15:54:19 502 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人