自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(25)
  • 资源 (2)
  • 问答 (2)
  • 收藏
  • 关注

原创 Android13集成paho.mqtt.android启动异常

原先所有导入import org.eclipse.paho.android.service.MqttAndroidClient 替换成:import info.mqtt.android.service.MqttAndroidClient;移除依赖: implementation('org.eclipse.paho:org.eclipse.paho.android.service:1.1.1')paho.mqtt.android 3.3.0 的版本可以正常运行,替换后依然启动报错,错误如上面相同,然后。

2023-11-17 15:57:20 643 1

原创 PHP/7.2.11 缺少 apache2/logs/httpd.pid 文件

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

2023-02-24 17:18:58 798

原创 Pycharm安装后打开提示:此应用无法在你的电脑上运行,若要找到合适于你的电脑的版本,请咨询发布者。

Pycharm安装后提示:此应用无法在你的电脑上运行,若要找到合适于你的电脑的版本,请咨询发布者。

2023-01-31 17:40:49 13769 11

原创 py4j.protocol.Py4JJavaError: An error occurred while calling o116.saveAsTextFile.:

pyspark 保存到本地文件时报错:py4j.protocol.Py4JJavaError: An error occurred while calling o116.saveAsTextFile.: ExitCodeException exitCode=-1073741515: 原因是操作系统缺少 dll文件导致,下载该资源安装后正常

2023-01-05 14:56:29 2104

原创 AndroidStudio 编译报错:[databinding] ... ... conflicts with another tag that has the same ID

Found data binding error(s):[databinding] {"msg":"Button id@id/button conflicts with another tag that has the same ID

2022-09-08 14:33:38 3624 6

原创 Eclipse签名应用时提示: sun/misc/BASE64Encoder 错误

Eclipse开发日常遇到的 sun/misc/BASE64Encoder 编译问题解决方法

2022-08-11 09:27:26 4735 9

原创 HarmonyOS开发,拍照参考demo

package com.myharmonyos.camerademo.slice;import com.myharmonyos.camerademo.ResourceTable;import com.myharmonyos.camerademo.utils.L;import com.myharmonyos.camerademo.utils.ToastUtils;import ohos.aafwk.ability.AbilitySlice;import ohos.aafwk.content.In.

2021-09-24 15:23:21 462

原创 HarmonyOS 开发,隐藏Webview标题

使用:"metaData":{ "customizeData":[ { "name": "hwc-theme", "value": "androidhwext:style/Theme.Emui.Light.NoTitleBar", "extra": "" } ] },如下图设置及效果:...

2021-09-22 10:44:34 219

原创 网页无法打开, 位于 https://xxx 的网页无法加载,因为:net::ERR_NAME_NOT_RESOLVED

HarmonyOS 开发Webview调用URL一直提示:网页无法打开, 位于 https://xxx 的网页无法加载,因为:net::ERR_NAME_NOT_RESOLVED经过多次测试发现,退出模拟器重新启动后正常,未知原因

2021-09-22 10:41:19 26806 6

原创 android file.createNewFile() 报错 No such file or directory

W/System.err: java.io.IOException: No such file or directoryW/System.err: at java.io.UnixFileSystem.createFileExclusively0(Native Method)W/System.err: at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:317)W/System.err: a...

2021-06-24 15:22:42 5462 5

原创 org.xml.sax.SAXParseException: Unexpected end of document

org.xml.sax.SAXParseException: Unexpected end of document at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:125) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:107) at com.zpdyf.mobileemr.L...

2021-03-05 14:28:35 813

原创 Execution failed for task ‘:app:transformClassesWithDexForDebug‘

Android studio升级到:4.1.1后,原先的项目运行时报错,Execution failed for task ':app:transformClassesWithDexForDebug'.> com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: com.android.ide.common.process.ProcessE

2021-01-15 11:19:18 563

原创 okhttp3.HttpUrl.canonicalize(HttpUrl.java:1853)

在使用OkHttp3时,封装了FormBody$Builder 方法,测试发送请求时一直报错如下:Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference10-23 17:16:17.519: W/System.err(11267): java.lang.NullPointerException: Attempt to invoke virtual method 'int jav

2020-10-23 17:36:42 543

转载 net.sf.fjep.fatjar_0.0.32.jar 最新版Fat Jar 文件,适配Eclipse4.4以上版本

下载和使用步骤见如下博客引用:https://blog.csdn.net/weixin_43874591/article/details/105124613

2020-10-17 22:30:52 717

原创 适配Android10时 networkSecurityConfig 编译报错

error: No resource identifier found for attribute 'networkSecurityConfig' in package 'android'维护项目适配Android10时,提示网络请求错误error:CLEARTEXT communication to xxx not permitted by network security policymanifest文件中的application添加:android:networkSecurityCo.

2020-10-14 16:49:17 1589

原创 维护项目添加Jar文件后,运行提示:Unable to execute dex: Too many errors 错误

[2020-10-14 14:50:29 - Dex Loader] Unable to execute dex: Too many errors[2020-10-14 14:50:29 - Zpd_YiDongHuLi_V10_Develop] Conversion to Dalvik format failed: Unable to execute dex: Too many errors在维护老项目的时候,libs添加了一个jar文件,运行时就一直提示下面的错误,删除新添加的文件后依然还是.

2020-10-14 15:59:39 175

原创 sqlite 获取时间戳与 mysql 时间戳相差8小时

今天在做Sqlite 时间戳转换时发现一个问题,Mysql时间转换成Sqlite时间戳再转换Mysql时间戳,时间加了8小时后来发现通过UTC 修饰符可以时间戳正常转换,示例如下:selectstrftime('%s','2020-07-10 01:30:00') as 转换后的时间戳Mysq解析多8小时,datetime(1594344600, 'unixepoch') as 该时间戳Mysql识别比Sqlite多8小时, -- 把时间戳转换成日期格式datetime(1594344.

2020-07-09 17:15:17 4083

原创 android原生代码调用JS方法传值报错 Uncaught SyntaxError: Unexpected token ILLEGAL 问题

android调用JS传入参数时候调用js报错[INFO:CONSOLE(1)] "Uncaught SyntaxError: Unexpected token ILLEGAL", source: (1)android端使用手写签名生成图片,使用 Base64.encodeToString(bitmapBytes, Base64.DEFAULT) 转换成字符串传给JS方法,调用方式:...

2020-04-26 10:20:53 989

原创 Android签名apk后安装成功,点击应用提示未安装该应用

查找了一些资料说是targetSdkVersion版本过高导致的,(在华为Android9.0系统上是可以使用)最后发现在 manifest文件中启动页配置了:android:exported="false"属性导致的,删除该配置在低版本上可以正常使用了...

2020-04-17 15:56:52 1820

转载 【布局】各种TabLayout样式,好看的Tab样式, TabHost

转自:https://www.cnblogs.com/neo-java/p/10185036.htmldemo下载:https://github.com/baitutang1221/FlycoTablayout  

2019-01-31 17:46:32 6561 1

原创 sqlite 分组后获取每组的第一条记录

有表如下 CREATE TABLE test ( id INTEGER PRIMARY KEY ,groupid INTEGER DEFAULT 0 ,t INTEGER DEFAULT 0 ,x INTEGER DEFAULT 0 ,y INTEGER DEFAULT 0 )内容 REPLACE INTO test (id,groupid, t ,x,y)select 1,1,100,8,...

2018-10-25 11:02:22 4609 1

转载 android应用因为加入js而导致webview一直在加载中的bug解决方案

http://www.2cto.com/kf/201409/331115.html

2017-04-20 14:38:30 1863

原创 mysql 函数 生成校验码

drop function if exists test.get_scan_code;delimiter $create function `test`.`get_scan_code`(as_code varchar(128))  returns VARCHAR(128)begindeclare ls_rc VARCHAR(255) DEFAULT '';declare l

2016-07-18 09:19:13 737

原创 Phonegap、Cordova、Ionic 开发环境搭建(Windows OS)

一、Java运行环境--------------------------------------------------------------------------------------------------------------------------------------------JDK7 官网下载路径: http://www.oracle.com/technet

2015-12-15 15:33:11 690

转载 cordova入门——cordova环境配置

cordova环境快速配置b    公司最近一直在招移动的开发人员,同时也号召本公司的开发学习移动开发的技术。趁这个机会学习一点cordova的开发技术,写写博客巩固一下。其中有不对的地方,希望广大网友指出。呵呵~~~    首先,搞清楚一个概念,phonegap与cordova之间的区别。其实, phoneGap是原先的名字,Adobe将phoneGap捐给apache之

2015-12-11 15:47:16 506

CameraDemo.zip

使用DevEcoStudio开发鸿蒙系统应用 拍照功能 完整示例

2021-09-24

腾讯语音识别sdk-Android-Demo

腾讯语音识别sdk 安卓demo(Eclipse),用于参考, 详细参考腾讯官网:https://cloud.tencent.com/document/product/441/6892

2018-11-15

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除