
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
摘要:Keil编译GD32F407项目时出现报错"FCARM-Output Name not specified",检查发现添加C文件时Keil默认识别为img格式而非C文件格式,导致编译失败。解决方法是移除错误格式文件,重新添加时手动选择C文件格式后即可正常编译。该问题由文件格式识别错误引起,需注意添加文件时的格式设置。
第一步,先确认你的电脑已经安装了python,如果没有的话,请到python官网(python官网下载地址:https://www.python.org/downloads/)下载最新版本的python 并安装 ,安装是傻瓜式的流程,这里不细讲,但需要提示一点,安装的时候记得把 Add python.exe to Path 选项勾选上,这样会自动把python的环境变量配置到path中,如果忘记了
有过反编译经验的人都会发现这个问题:反编译了一个apk,但是代码里的id全是数字,这是代码里的内容,id是十进制:this.mHeaderTextView.setText(2131428266);localTextView.setText(getResources().getString(2131428311));对应的name在生成的另一个public.xml文件...
kotlin代码:var am = act?.getSystemService(ACTIVITY_SERVICE) as ActivityManagervar cn = am.getRunningTasks(1).get(0).topActivity as ComponentNameLog.e(TAG, "p...
记录几段常用的与状态栏有关的代码,备做不时之需。实现沉浸式状态栏,kotlin代码:fun steepStatusBar() {var release=android.os.Build.MODELif (release!=null){if (release.contains("HUAWEI")){varwindow...
kotlin代码:var am = act?.getSystemService(ACTIVITY_SERVICE) as ActivityManagervar cn = am.getRunningTasks(1).get(0).topActivity as ComponentNameLog.e(TAG, "p...
<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android"><gradientandroid:startColor=&qu
异常如下:Error:FAILURE: Build failed with an exception.* What went wrong:Could not resolve all files for configuration ':app:debugCompileClasspath'.&gt; Could not resolve com.google.android.gms:pl
异常如下:Error:FAILURE: Build failed with an exception.* What went wrong:Could not resolve all files for configuration ':app:debugCompileClasspath'.&gt; Could not resolve com.google.android.gms:pl
自学python,第一次遇到python的运行异常,竟然是这个鬼:IndentationError: expected an indented block翻译过来就是: 缩进错误: 期望一个缩进的块贴下报错的代码的截图便于观察分析:好了,直接开始单刀直入解决这个问题,解决方案,在报错的逻辑代码的前面加个空格就一切ok了,一个缩进就解决了这个异常,解决这个bug不是主要目的,了解...







