〖Android〗联想K860 logcat CM11.0出错信息及解决
错误1:
D/gpsd ( ): main()
D/gpsd ( ): argv[] = '/system/bin/glgps'
D/gpsd ( ): argv[] = '-c'
D/gpsd ( ): argv[] = '/system/etc/gpsconfig.xml'
E/gpslogd ( ): ASSERT in /media/data/workspace/src/local/v19/customers/lenovo/k3android/../../../proprietary/deliverables/android/gps_interface/../gpsd/common/GlGpsdInterface.cpp:: Failed to read config file.
F/libc ( ): Fatal signal (SIGSEGV), thread (glgps)
分析:缺少gps配置文件/system/etc/gpsconfig.xml
解决:adb push gpsconfig.xml /system/etc/gpsconfig.xml
错误2:
D/libEGL ( ): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( ): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( ): loaded /system/lib/egl/libGLESv2_mali.so
E/ ( ): Device driver API match
E/ ( ): Device driver API version:
E/ ( ): User space API version:
E/ ( ): mali: REVISION=Linux-r3p1-01rel1 BUILD_DATE=Tue Jan :: CST
I/gralloc ( ): using (fd=)
I/gralloc ( ): id = s3cfb
I/gralloc ( ): xres = px
I/gralloc ( ): yres = px
I/gralloc ( ): xres_virtual = px
I/gralloc ( ): yres_virtual = px
I/gralloc ( ): bpp =
I/gralloc ( ): r = :
I/gralloc ( ): g = :
I/gralloc ( ): b = :
I/gralloc ( ): width = mm (160.421051 dpi)
I/gralloc ( ): height = mm (160.157639 dpi)
I/gralloc ( ): refresh rate = 60.38 Hz
E/SurfaceFlinger( ): hwcomposer module not found
W/SurfaceFlinger( ): getting VSYNC period from fb HAL:
W/SurfaceFlinger( ): no suitable EGLConfig found, trying a simpler query
I/SurfaceFlinger( ): EGL informations:
I/SurfaceFlinger( ): vendor : Android
I/SurfaceFlinger( ): version : 1.4 Android META-EGL
I/SurfaceFlinger( ): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable
I/SurfaceFlinger( ): Client API: OpenGL_ES
I/SurfaceFlinger( ): EGLSurface: ---, config=0x60000012
I/SurfaceFlinger( ): OpenGL ES informations:
I/SurfaceFlinger( ): vendor : ARM
I/SurfaceFlinger( ): renderer : Mali- MP
I/SurfaceFlinger( ): version : OpenGL ES 2.0
I/SurfaceFlinger( ): extensions: GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness
I/SurfaceFlinger( ): GL_MAX_TEXTURE_SIZE =
I/SurfaceFlinger( ): GL_MAX_VIEWPORT_DIMS =
E/cutils-trace( ): Error opening trace file: No such file or directory ()
E/[EGL-ERROR]( ): mali_surface* __egl_platform_create_surface_from_native_buffer(android_native_buffer_t*, egl_surface*, mali_base_ctx_handle):: invalid buffer handle given (0x4173abb8)
E/[EGL-ERROR]( ): void __egl_platform_dequeue_buffer(egl_surface*):: Failed to create a surface from native buffer (0x4173aa98)
E/libEGL ( ): eglMakeCurrent: error (EGL_BAD_ALLOC)
E/libEGL ( ): call to OpenGL ES API with no current context (logged once per thread)
D/SurfaceFlinger( ): Screen acquired, type= flinger=0x41727450
E/[EGL-ERROR]( ): mali_surface* __egl_platform_create_surface_from_native_buffer(android_native_buffer_t*, egl_surface*, mali_base_ctx_handle):: invalid buffer handle given (0x417389e8)
E/[EGL-ERROR]( ): void __egl_platform_dequeue_buffer(egl_surface*):: Failed to create a surface from native buffer (0x4173bcf8)
E/libEGL ( ): eglMakeCurrent: error (EGL_BAD_ALLOC)
W/SurfaceFlinger( ): DisplayDevice::makeCurrent failed. Aborting surface composition for display Built-in Screen
F/SurfaceFlinger( ): eglSwapBuffers(0x1, 0x4173aa00) failed with 0x00003006
F/libc ( ): Fatal signal (SIGABRT) at 0x0000068d (code=-), thread (surfaceflinger)
I/DEBUG ( ): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( ): Build fingerprint: 'Lenovo/cm_stuttgart/stuttgart:4.4.2/KVT49L/c4ee70b34b:eng/test-keys'
I/DEBUG ( ): Revision: ''
I/DEBUG ( ): pid: , tid: , name: surfaceflinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( ): signal (SIGABRT), code - (SI_TKILL), fault addr --------
I/DEBUG ( ): r0 r1 0000068d r2 r3
I/DEBUG ( ): r4 40084f2c r5 r6 r7 0000010c
I/DEBUG ( ): r8 r9 0000000c sl 40146b9c fp 40146aa5
I/DEBUG ( ): ip 0000068d sp bee2f3c8 lr 400ec09b pc 400fb044 cpsr 000f0010
I/DEBUG ( ): d0 d1
I/DEBUG ( ): d2 6572727543656b61 d3 656c69616620746e
I/DEBUG ( ): d4 74726f6241202e64 d5 6672757320676e69
I/DEBUG ( ): d6 706d6f6320656361 d7 206e6f697469736f
I/DEBUG ( ): d8 d9
I/DEBUG ( ): d10 d11
I/DEBUG ( ): d12 d13
I/DEBUG ( ): d14 d15
I/DEBUG ( ): d16 d17
I/DEBUG ( ): d18 d19
I/DEBUG ( ): d20 401826cf4ccccccd d21 404e308320000000
I/DEBUG ( ): d22 d23
I/DEBUG ( ): d24 d25
I/DEBUG ( ): d26 404e308320000000 d27
I/DEBUG ( ): d28 d29
I/DEBUG ( ): d30 d31
I/DEBUG ( ): scr
I/DEBUG ( ):
I/DEBUG ( ): backtrace:
I/DEBUG ( ): # pc /system/lib/libc.so (tgkill+)
I/DEBUG ( ): # pc /system/lib/libc.so (pthread_kill+)
I/DEBUG ( ): # pc 0001328f /system/lib/libc.so (raise+)
I/DEBUG ( ): # pc 00011ffb /system/lib/libc.so
I/DEBUG ( ): # pc 000218f8 /system/lib/libc.so (abort+)
I/DEBUG ( ): # pc 00006aaf /system/lib/libcutils.so (__android_log_assert+)
I/DEBUG ( ): # pc 00010ddf /system/lib/libsurfaceflinger.so
I/DEBUG ( ): # pc 0001795b /system/lib/libsurfaceflinger.so
I/DEBUG ( ): # pc 00019e89 /system/lib/libsurfaceflinger.so
I/DEBUG ( ): # pc 0001a031 /system/lib/libsurfaceflinger.so
I/DEBUG ( ): # pc 0001b13d /system/lib/libsurfaceflinger.so
I/DEBUG ( ): # pc 00010a9f /system/lib/libutils.so (android::Looper::pollInner(int)+)
I/DEBUG ( ): # pc 00010ba1 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+)
I/DEBUG ( ): # pc /system/lib/libsurfaceflinger.so
I/DEBUG ( ): # pc 0001704b /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::run()+)
I/DEBUG ( ): # pc 000008fd /system/bin/surfaceflinger
I/DEBUG ( ): # pc 0000e41b /system/lib/libc.so (__libc_init+)
I/DEBUG ( ): # pc 000007dc /system/bin/surfaceflinger
I/DEBUG ( ):
I/DEBUG ( ): stack:
I/DEBUG ( ): bee2f388 fffffee8
I/DEBUG ( ): bee2f38c
I/DEBUG ( ): bee2f390
I/DEBUG ( ): bee2f394
I/DEBUG ( ): bee2f398
I/DEBUG ( ): bee2f39c 000003ff
I/DEBUG ( ): bee2f3a0 4173aa00 [heap]
I/DEBUG ( ): bee2f3a4
I/DEBUG ( ): bee2f3a8 4173aa60 [heap]
I/DEBUG ( ): bee2f3ac
I/DEBUG ( ): bee2f3b0 0000000c
I/DEBUG ( ): bee2f3b4 40146b9c /system/lib/libutils.so
I/DEBUG ( ): bee2f3b8 /system/lib/libcutils.so
I/DEBUG ( ): bee2f3bc 4027441c /system/lib/libsurfaceflinger.so
I/DEBUG ( ): bee2f3c0 bee2f434 [stack]
I/DEBUG ( ): bee2f3c4
I/DEBUG ( ): # bee2f3c8 40084f2c /system/bin/linker
I/DEBUG ( ): bee2f3cc
I/DEBUG ( ): bee2f3d0
I/DEBUG ( ): bee2f3d4 0000068d
I/DEBUG ( ): bee2f3d8 0000068d
I/DEBUG ( ): bee2f3dc 400ec09b /system/lib/libc.so (pthread_kill+)
I/DEBUG ( ): # bee2f3e0 40084f24 /system/bin/linker
I/DEBUG ( ): bee2f3e4
I/DEBUG ( ): bee2f3e8
I/DEBUG ( ): bee2f3ec
I/DEBUG ( ): bee2f3f0 4173aa60 [heap]
I/DEBUG ( ): bee2f3f4 400ec293 /system/lib/libc.so (raise+)
I/DEBUG ( ): # bee2f3f8 bee2f404 [stack]
I/DEBUG ( ): bee2f3fc 400eafff /system/lib/libc.so
I/DEBUG ( ):
I/DEBUG ( ): memory near r4:
I/DEBUG ( ): 40084f0c
I/DEBUG ( ): 40084f1c bee2fb0c 40084f24
I/DEBUG ( ): 40084f2c 4022c848
I/DEBUG ( ): 40084f3c
I/DEBUG ( ): 40084f4c 4173b918 4172a2a0
I/DEBUG ( ): 40084f5c
I/DEBUG ( ): 40084f6c
I/DEBUG ( ): 40084f7c
I/DEBUG ( ): 40084f8c
I/DEBUG ( ): 40084f9c
I/DEBUG ( ): 40084fac
I/DEBUG ( ): 40084fbc
I/DEBUG ( ): 40084fcc
I/DEBUG ( ): 40084fdc
I/DEBUG ( ): 40084fec
I/DEBUG ( ): 40084ffc
I/DEBUG ( ):
I/DEBUG ( ): memory near sl:
I/DEBUG ( ): 40146b7c 2073746e 206e6f20
I/DEBUG ( ): 40146b8c 656b6177 002e6570
I/DEBUG ( ): 40146b9c 6f6e6749 676e6972 656e7520
I/DEBUG ( ): 40146bac 6c6f7065 7665206c 73746e65
I/DEBUG ( ): 40146bbc 6e6f2078
I/DEBUG ( ): 40146bcc 6e207369 6f6c206f 7265676e
I/DEBUG ( ): 40146bdc 2e646572 756f4300
I/DEBUG ( ): 40146bec 6e20646c 6320746f
I/DEBUG ( ): 40146bfc 7020656b 2e657069 3d6f6e72
I/DEBUG ( ): 40146c0c 646c756f 746f6e20 6b616d20
I/DEBUG ( ): 40146c1c 7220656b
I/DEBUG ( ): 40146c2c 6e6f6e20 6f6c622d 6e696b63 20202e67
I/DEBUG ( ): 40146c3c 6e727265 64253d6f 756f4300 6e20646c
I/DEBUG ( ): 40146c4c 6d20746f 20656b61 656b6177
I/DEBUG ( ): 40146c5c 2d6e6f6e 636f6c62
I/DEBUG ( ): 40146c6c 676e696b 6520202e 6f6e7272 0064253d
I/DEBUG ( ):
I/DEBUG ( ): memory near fp:
I/DEBUG ( ): 40146a84 2c70253d
I/DEBUG ( ): 40146a94 2970253d 20746c75 30203d21
I/DEBUG ( ): 40146aa4 6f6f4c00 6c756f43 6f6e2064
I/DEBUG ( ): 40146ab4 6c612074 61636f6c 6b20534c
I/DEBUG ( ): 40146ac4 002e7965 5f646165 65636e6f
I/DEBUG ( ): 40146ad4 0064656c 6f430057 20646c75
I/DEBUG ( ): 40146ae4 20746f6e 7320656b
I/DEBUG ( ): 40146af4 616e6769 65202c6c 6f6e7272 0064253d
I/DEBUG ( ): 40146b04 6f727245 69766f6d 6520676e
I/DEBUG ( ): 40146b14 6c6c6f70 2073746e 20726f66
I/DEBUG ( ): 40146b24 65202c64 6f6e7272 0064253d
I/DEBUG ( ): 40146b34 6c6c6f50 2064656c
I/DEBUG ( ): 40146b44 206e6120 78656e75
I/DEBUG ( ): 40146b54 726f7272 7265202c 3d6f6e72
I/DEBUG ( ): 40146b64 726f6e67 20676e69 78656e75
I/DEBUG ( ): 40146b74 6c6c6f70 2073746e
I/DEBUG ( ):
I/DEBUG ( ): memory near sp:
I/DEBUG ( ): bee2f3a8 4173aa60 0000000c 40146b9c
I/DEBUG ( ): bee2f3b8 4027441c bee2f434
I/DEBUG ( ): bee2f3c8 40084f2c 0000068d
I/DEBUG ( ): bee2f3d8 0000068d 400ec09b 40084f24
I/DEBUG ( ): bee2f3e8 4173aa60 400ec293
I/DEBUG ( ): bee2f3f8 bee2f404 400eafff ffffffdf
I/DEBUG ( ): bee2f408 0000000f bee2f454 0000002b 428f5a99
I/DEBUG ( ): bee2f418 6d202c2a 4027441c 4173aa00 400fa8fc
I/DEBUG ( ): bee2f428 40191ab3 bee2f844 536c6765
I/DEBUG ( ): bee2f438 202c3178
I/DEBUG ( ): bee2f448 6c696166
I/DEBUG ( ): bee2f458
I/DEBUG ( ): bee2f468 6e696c66 3d726567
I/DEBUG ( ): bee2f478 ffffff8c 40265af3
I/DEBUG ( ): bee2f488 6e206d6f
I/DEBUG ( ): bee2f498 206e0029
I/DEBUG ( ):
I/DEBUG ( ): code around pc:
I/DEBUG ( ): 400fb024 e8bd00f0 e3700a01 912fff1e e2600000
I/DEBUG ( ): 400fb034 ea006e7b e92d50f0 e3a07f43 ef000000
I/DEBUG ( ): 400fb044 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( ): 400fb054 ea006e73 e92d50f0 e3a070ee ef000000
I/DEBUG ( ): 400fb064 e8bd50f0 e3700a01 912fff1e e2600000
I/DEBUG ( ): 400fb074 ea006e6b f200429a bf0080cf f000f891
I/DEBUG ( ): 400fb084 4001e92d f040f891 d3532a10 0301ea80
I/DEBUG ( ): 400fb094 0303f013 806ef000 d3262ae0 0300f1c0
I/DEBUG ( ): 400fb0a4 030ff013 eba2d021 ea5f0203 bf447cc3
I/DEBUG ( ): 400fb0b4 eb01f811 eb01f800 f811bf21 f811cb01
I/DEBUG ( ): 400fb0c4 f800eb01 f800cb01 ea5feb01 da037c43
I/DEBUG ( ): 400fb0d4 080df9a1 083df980 f921d303 f900070d
I/DEBUG ( ): 400fb0e4 f891071d f891f000 3a40f040 f891d30f
I/DEBUG ( ): 400fb0f4 f891f080 f921f0c0 f921020d f891420d
I/DEBUG ( ): 400fb104 3a40f0c0 020df900 420df900 f102d2f3
I/DEBUG ( ): 400fb114 3a200240 f921d305 3a20020d 020df900
I/DEBUG ( ):
I/DEBUG ( ): code around lr:
I/DEBUG ( ): 400ec078 4b11ec18 e010447b d10e42bb 6a1f480f
I/DEBUG ( ): 400ec088 f7fb4478 f00dec90 4639ea0e f00e462a
I/DEBUG ( ): 400ec098 3001efd0 2500d00a 681be009 d1eb2b00
I/DEBUG ( ): 400ec0a8 f7fb4478 e000ec7e
I/DEBUG ( ): 400ec0b8 bdf84628 0003b328 0003b31c 0003b314
I/DEBUG ( ): 400ec0c8 0003b2f0 bf82f7ff 4a3a4b39 47f0e92d
I/DEBUG ( ): 400ec0d8 447b460d 4607b08a 6833589e 930946b1
I/DEBUG ( ): 400ec0e8 f9fcf001 f8d04604 2d008000 4628d04a
I/DEBUG ( ): 400ec0f8 fe94f00f 4606280f f7ffd846 4287ffe3
I/DEBUG ( ): 400ec108 200fd106 f00d4629 2800e8dc e032d03d
I/DEBUG ( ): 400ec118 ebc4f7fb 42b8e015
I/DEBUG ( ): 400ec128 6a07d113 ec3cf7fb 463b4a25
I/DEBUG ( ): 400ec138 a8012120 f013447a 2101fa8d f01aa801
I/DEBUG ( ): 400ec148 1c43fda5 d1044607 6800e015 d1e62800
I/DEBUG ( ): 400ec158 4638e023 e916f00d 3ffff1b0
I/DEBUG ( ): 400ec168 d1024682 4638d0f3 e966f00d
I/ServiceManager( ): service 'SurfaceFlinger' died
分析:HAL部分源码可能有问题,在解决中
解决:原因是忘记把HAL源码加入Android源码树中了,添加即可
错误3:
V/STMD ( ): power on OK!!
D/STMD ( ): lirx switch_to_mux() - enter
I/Netd ( ): Netd 1.0 starting
I/Netd ( ): Netd 1.0 starting
V/STMD ( ): switch_to_mux() - sending AT to modem
V/STMD ( ): sendAT() - Send of ATE0
V/STMD ( ): sendAT() - Wait answer...
V/STMD ( ): sendAT() - Received response data
V/STMD ( ): sendAT() - Read bytes, retries:
]/STMD ( ): sendAT() - Wrong anwser [ATE0
V/STMD ( ): sendAT() - Send of ATE0
V/STMD ( ): sendAT() - Wait answer...
V/STMD ( ): sendAT() - Received response data
V/STMD ( ): sendAT() - Read bytes, retries:
V/STMD ( ): sendAT() - OK received
V/STMD ( ): switch_to_mux() - sending AT+CMUX to modem
V/STMD ( ): sendAT() - Send of AT+CMUX=,,,,,,,,
V/STMD ( ): sendAT() - Wait answer...
I/Netd ( ): Netd 1.0 starting
V/STMD ( ): sendAT() - Received response data
V/STMD ( ): sendAT() - Read bytes, retries:
V/STMD ( ): sendAT() - OK received
V/STMD ( ): switch_to_mux() - attach mux ld to initial tty
V/STMD ( ): set1 disc----fd_ttyACM0 = ,ldisk =
V/STMD ( ): Default configuration
V/STMD ( ): adaption =
V/STMD ( ): encapsulation =
V/STMD ( ): initiator =
V/STMD ( ): t1 =
V/STMD ( ): t2 =
V/STMD ( ): t3 =
V/STMD ( ): n2 =
V/STMD ( ): mru =
V/STMD ( ): mtu =
V/STMD ( ): k =
V/STMD ( ): i =
V/STMD ( ): switch_to_mux() - write config ioctl to mux
V/STMD ( ): modem_watch_dog() - switched to MUX Success
D/STMD ( ): STMD STATE: MUX READY
V/STMD ( ): set_modem_status() - modem status set to
V/STMD ( ): modem_watch_dog() - Start polling loop
D/STMD ( ): mctl_fd =
I/Netd ( ): Netd 1.0 starting
I/Netd ( ): Netd 1.0 starting
I/Netd ( ): Netd 1.0 starting
I/Netd ( ): Netd 1.0 starting
I/Netd ( ): Netd 1.0 starting
分析:zygote中的Netd死循环,在解决中。。
〖Android〗联想K860 logcat CM11.0出错信息及解决的更多相关文章
- 华为手机在开发Android调试时logcat不显示输出信息的解决办法
手机连接电脑RUN AS logcat 提示:Unable to open log device '/dev/log/main': No such file or directory 信息 本人华为C ...
- 〖Android〗Nexus 7 flo (razor) 刷入Recovery/CM-11.0后卡在开机动画的解决方法
操作日志: 起因:Nexus 7 flo 华硕平板,刷了一个CWM Recovery之后变成了砖机: 尝试1:使用CWM Recovery清除数据,开机失败 尝试2:刷入CM 11 Snapshot的 ...
- Android APP压力测试(二)之Monkey信息自动收集脚本
Android APP压力测试(二) 之Monkey信息自动收集脚本 前言: 上一篇Monkey介绍基本搬抄官方介绍,主要是为了自己查阅方便.本文重点介绍我在进行Monkey时如何自动收集相关信息 ...
- Android日志系统Logcat源代码简要分析
文章转载至CSDN社区罗升阳的安卓之旅,原文地址:http://blog.csdn.net/luoshengyang/article/details/6606957 在前面两篇文章Android日志系 ...
- Android消息传递之EventBus 3.0使用详解
前言: 前面两篇不仅学习了子线程与UI主线程之间的通信方式,也学习了如何实现组件之间通信,基于前面的知识我们今天来分析一下EventBus是如何管理事件总线的,EventBus到底是不是最佳方案?学习 ...
- Qt经典出错信息之undefined reference to `vtable for classname
原文链接:Qt经典出错信息之undefined reference to `vtable for classname 这个出错信息太常见了,用过Qt两个月以上的朋友基本上都能自己解决了,因为太经典了, ...
- 请各位帮帮忙:Android LBS应用——CityExplorer (v1.0) 调研
Hello哇各位亲!! 请各位帮帮忙:Android LBS应用——CityExplorer(V1.0)调研 嗯,这个事情是这样的,要填一个调查问卷,但是问卷中部分问题是关于这个叫做CityExplo ...
- android Log 等级以及在Android Studio 的Logcat中过滤方法
Log等级 等级越高,问题越严重. Log.e(TAG,"级别5,错误信息"); Log.e(TAG,"级别5,错误信息"); Log.w(TAG," ...
- eclipse中LogCat有时不显示信息的简单解决办法
android的开发中,经常需要使用到LogCat查看打印的信息. 但是eclipse中的LagCat,有时会刷新不出打印的日志. 特别是在点击ClearLog按钮后,经常会出现上面说的这种情况. 一 ...
随机推荐
- Easyui layout设置满屏效果
html文件: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" ...
- HTML5 本地文件操作之FileSystemAPI实例(三)
文件夹操作demo 1.读取根目录文件夹内容 window.requestFileSystem = window.requestFileSystem || window.webkitRequestFi ...
- 从客户端(ctl00$ContentPlaceHolder1$result="<?xml version="1.0" ...")中检测到有潜在危险的 Request.Form 值。
ylbtech-Error-WebForm:从客户端(ctl00$ContentPlaceHolder1$result="<?xml version="1.0" . ...
- iOS:给图片置灰色
一.在iOS开发中,给图片置灰色这个功能经常会用到,例如商品展示时,商品过期或者下线了,那么图片就需要这个功能.下面这个方法就可以到达目的. /** UIImage:去色功能的实现(图片灰色显示) @ ...
- 对于DQN的三大改进 - 这篇讲的好些
可以看这篇文章: https://blog.csdn.net/u013236946/article/details/73161586 这篇也讲的不错: https://www.cnblogs.com/ ...
- asp.net单元测试及查看代码覆盖率详细示例
在vs2008中创建单元测试 一,打开vs2008,创建一个类库VSTSDemo.因为我在学习的时候用的就是vs2008,其它版本的vs,方法应该差不多,大家自己研究吧 :) 删除掉默认生成的类,然后 ...
- iOS开发-View中frame和bounds区别
开发中调整View的时候的经常会遇到frame和bounds,刚开始看的时候不是很清楚,不过看了一下官方文档,frame是确定视图在父视图中的位置,和本身的大小,bounds确定可以确定子视图在当前视 ...
- WebService入门Demo
以前写博客最主要的就是不知道写什么东西,现在感觉能写点东西,就是感觉博客随笔的标题挺难取的,最近工作中刚好用到了WebService,刚好可以写一篇博客.去年工作的时候自己也用到过,只是知道调用一些W ...
- UEditor常用设置函数记录
在线文档对UEditor说明不够全面,收集了一些常用的方法和基本设置,以供参考. 1.创建编辑器 UE.getEditor('editor', { initialFrameWidth:"10 ...
- variable_scope和name_scope差别
先看代码: #命名空间函数tf.variable_scope()和tf.name_scope()函数区别于使用 import tensorflow as tf with t ...