![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
发光吖
善始者实繁 克终者盖寡.
展开
-
关于《第一行代码》第三章中百分比布局以及RecyclerView出现的问题总结
百分比布局新增两条包依赖:implementation 'com.android.support:appcompat-v7:29.0.0'implementation 'com.android.support:percent:29.0.0'布局定义使用androidx:<androidx.percentlayout.widget.PercentFrameLayout xm...原创 2020-03-14 16:10:53 · 323 阅读 · 0 评论 -
JKS密匙库专用格式,建议使用“keytool -importkeystore -srckeystore D:\Android\APPKeyStore\biu.jks”迁移到行业标准格式PKCS12
当我们想在Android studio上发布写好的app,通常情况下你会遇到下的问题:解决办法:复制它的提示信息,粘贴到windows的cmd命令框里执行一遍即可。keytool -importkeystore -srckeystore D:\Android\APPKeyStore\biu.jks -destkeystore D:\Android\APPKeyStore\biu.jks ...原创 2020-03-14 14:14:55 · 1286 阅读 · 0 评论 -
Android中针对ListView的性能优化
ListView的使用,本质还是靠一个迭代器,通过遍历我们自定义的子布局迭代器,使得屏幕中的大量信息可以进行滚动。<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height=...原创 2020-03-14 09:18:56 · 208 阅读 · 0 评论 -
Android中显示Intent和隐式Intent的使用
Android中显示Intent和隐式Intent的使用原创 2020-03-12 20:58:53 · 788 阅读 · 0 评论 -
Android-Activity中使用Toast和Menu
Android-Activity中使用Toast和MenuToastToast用来在程序中通知用户一些简短的提示信息,并且不会占用任何屏幕空间,非常简单方便。 Button button1 = (Button)findViewById(R.id.button_1); button1.setOnClickListener(new View.OnClickListener(){ @O...原创 2020-03-12 18:52:47 · 308 阅读 · 0 评论 -
Installation did not succeed. The application could not be installed: INSTALL_FAILED_USER_RESTRICTED
当我们第一次在我们的手机上(也就是物理设备上)运行我们的写好的安卓应用程序时可能会报以下错误:Session ‘app’: Installation did not succeed.The application could not be installed: INSTALL_FAILED_USER_RESTRICTED上面显示安装程序失败,原因在于用户权限不够。单词restrict...原创 2020-01-27 12:34:33 · 90823 阅读 · 33 评论 -
AndroidStudio安装步骤以及AndroidSDK环境变量配置
下载AndroidStudio之前,先保证自己的电脑上安装了Java开发者套件(JDK)AndroidStudio下载地址(在AndroidStudio的中文社区进行下载):http://www.android-studio.org.下载完成之后,进入安装环节选择安装路径:为AndroidStudio快捷启动方式的文件夹命名:如果是首次安装,选择Do not import set...原创 2019-12-30 00:35:39 · 20123 阅读 · 9 评论