android 如何阻止app进入debugger模式,求大神指点!!!

android 如何阻止app进入debugger模式,求大神指点!!!

2个回答

Skill All Breakpoints

在gradle里面配置:**debugger false**

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
h5和app交互,求大神给答案!!!
function goUrl(){ var i =0; sessionStorage.setItem('goto_url','<%=goto_url%>'); channelCode = window.sessionStorage.getItem("channelCode"); if (channelCode == 18){//手机银行跳转,登陆 debugger ; alert("1"); if(window.localStorage.resId1 == 1){ //安卓 alert("2"); window.app_score.toLoginPhone();//调用安卓的原生方法 window.loginInPhone=loginInPhone;//回调方法 function loginInPhone(data){ if(data != '' && data != null && data != undefined) { if(typeof(data) == "string"){ data = JSON.parse(data); } } } }else{//IOS alert("3"); function setupWebViewJavascriptBridge(callback) { if(window.BOCWebViewJavascriptBridge) { return callback(BOCWebViewJavascriptBridge); }else{ document.addEventListener('WebViewJavascriptBridgeReady',function(){callback(BOCWebViewJavascriptBridge);},false); } if(window.WVJBCallbacks) { return window.WVJBCallbacks.push(callback); } window.WVJBCallbacks = [callback]; var WVJBIframe = document.createElement('iframe'); WVJBIframe.style.display = 'none'; WVJBIframe.src = 'wvjbscheme://__BRIDGE_LOADED__'; document.documentElement.appendChild(WVJBIframe); setTimeout(function() { document.documentElement.removeChild(WVJBIframe); }, 0); }//以上的代码是固定的,只要是交互就需要写 setupWebViewJavascriptBridge(function(bridge){ //所有的和app交互的代码都在这方法填写 bridge.registerHandler('loginInPhone',function(data,responseCallback){//注册回调方法 if(data != '' && data != null && data != undefined) { if(typeof(data) == "string"){ data = JSON.parse(data); } } //toLoginPhone为ios端register的handleName bridge.callHandler('toLoginPhone', function(){}); //调用手机银行的原生方法 //网上说calllback是处理返回数据的方法,可是没有啊!!!! bridge.init(function(message,responseCallback){ var data = {'Javascript Responds':'Wee!'}; responseCallback(data); }); }); } )} var ticket = data.ticketInfo;//票 var clientId = data.CID;//客户id var slientId = data.SID;//用户id var card = data.card; //window.location.href="${pageContext.request.contextPath}/mobilePage/login/login.jsp"; window.location.href="${pageContext.request.contextPath}/bankLoginMobileCode.do?ticket="+ticket+"&clientId="+clientId+"&SlientId="+SlientId+"&card="+card; } } 这是h5的js调用但是 没有调起来app的方法,求大神给答案!!!
Android Studio跑程序的时候报错了 求大神指教!!
02-29 21:27:52.770 13264-13270/com.example.cms.yibujiazai E/jdwp: Failed sending reply to debugger: Broken pipe 02-29 21:27:52.820 13264-13264/com.example.cms.yibujiazai W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;) 02-29 21:27:52.820 13264-13264/com.example.cms.yibujiazai I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.internal.view.WindowCallbackWrapper.onSearchRequested 02-29 21:27:52.820 13264-13264/com.example.cms.yibujiazai W/dalvikvm: VFY: unable to resolve interface method 14483: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z 02-29 21:27:52.820 13264-13264/com.example.cms.yibujiazai I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.internal.view.WindowCallbackWrapper.onWindowStartingActionMode 02-29 21:27:52.820 13264-13264/com.example.cms.yibujiazai W/dalvikvm: VFY: unable to resolve interface method 14487: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode; 02-29 21:27:52.900 13264-13264/com.example.cms.yibujiazai I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations 02-29 21:27:52.900 13264-13264/com.example.cms.yibujiazai W/dalvikvm: VFY: unable to resolve virtual method 406: Landroid/content/res/TypedArray;.getChangingConfigurations ()I 02-29 21:27:52.900 13264-13264/com.example.cms.yibujiazai I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType 02-29 21:27:52.900 13264-13264/com.example.cms.yibujiazai W/dalvikvm: VFY: unable to resolve virtual method 428: Landroid/content/res/TypedArray;.getType (I)I 02-29 21:27:53.310 13264-13301/com.example.cms.yibujiazai W/dalvikvm: threadid=11: thread exiting with uncaught exception (group=0x419b4c80) 02-29 21:29:49.300 13264-13301/com.example.cms.yibujiazai I/Process: Sending signal. PID: 13264 SIG: 9
Paused in debugger反爬?
http://ghzyj.sh.gov.cn/ghsp/ghxk/ghxkz/ 这个网站用selenium进不去没有返回结果,用selenium怎么跳过Paused in debugger,求大神帮忙解决
用cocostudio打包的,求大神指点
Based on: cocos2d-x-3.8 Updated project.properties Updated local.properties Updated file D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\proguard-project.txt Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml make.exe: Entering directory `D:/VSSWS/project/WWHPJ/frameworks/runtime-src/proj.android' [armeabi] StaticLibrary : libcpufeatures.a [armeabi] SharedLibrary : libcocos2djs.so [armeabi] Install : libcocos2djs.so => libs/armeabi/libcocos2djs.so make.exe: Leaving directory `D:/VSSWS/project/WWHPJ/frameworks/runtime-src/proj.android' 执行命令:jscompile 正在处理 js 文件。 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\main.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\res\loading.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\3d\jsb_cocos2d_3d.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\3d\jsb_cocos2d_3d_ext.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\ccui\jsb_ccui_create_apis.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\ccui\jsb_ccui_deprecated.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\ccui\jsb_ccui_property_apis.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\ccui\jsb_ccui_property_impls.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\ccui\jsb_cocos2d_ui.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\chipmunk\jsb_chipmunk.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\chipmunk\jsb_chipmunk_constants.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\debugger\actors\root.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\debugger\actors\script.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\debugger\core\promise.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\debugger\DevToolsUtils.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\debugger\main.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\debugger\transport.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\extension\jsb_cocos2d_extension.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\extension\jsb_ext_create_apis.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\extension\jsb_ext_property_apis.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_audioengine.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_boot.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_cocos2d.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_cocos2d_constants.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_cocosbuilder.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_common.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_create_apis.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_debugger.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_deprecated.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_loaders.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_opengl.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_opengl_constants.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_pool.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_prepare.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_property_apis.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_property_impls.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\jsb_spine.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\navmesh\jsb_navmesh.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\physics3d\jsb_physics3d.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\physicsSprite\jsb_physicsSprite.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\studio\jsb_cocos2d_studio.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\studio\jsb_studio_boot.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\studio\jsb_studio_create_apis.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\studio\jsb_studio_load.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\studio\jsb_studio_property_apis.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\studio\parsers\action-1.x.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\studio\parsers\action-2.x.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\studio\parsers\compatible.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\studio\parsers\scene-1.x.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\studio\parsers\timelineParser-1.x.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\studio\parsers\timelineParser-2.x.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\script\studio\parsers\uiParser-1.x.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\src\app.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\src\endScene.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\src\gameScene.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\src\lib\gx2.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\src\lib\net.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\src\lib\sxutil.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\src\loading.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\src\num.js 编译为字节码... 正在将 D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets\src\resource.js 编译为字节码... 编译完成。 ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME. 执行命令:compile 编译模式:debug 使用 Eclipse 工程:D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android 未指定 Android 目标平台版本,自动查找一个可用版本... 正在执行:'"D:\Cocos\Android-SDK\tools\android" update project -t android-20 -p D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android' 正在执行 ndk-build... NDK 编译模式:release NDK_TOOLCHAIN_VERSION: 4.9 正在执行:'"D:\Cocos\android-ndk-r10d\ndk-build" -C D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android -j3 NDK_MODULE_PATH=C:\Cocos\frameworks/cocos2d-x-3.8;C:\Cocos\frameworks/cocos2d-x-3.8/cocos;C:\Cocos\frameworks/cocos2d-x-3.8/external NDK_TOOLCHAIN_VERSION=4.9' 正在生成 apk 文件... 正在执行:'"C:\Cocos\frameworks\cocos2d-x-3.8\tools\cocos2d-console\bin\cocos" jscompile -s "D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets" -d "D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\assets"' 正在执行:'"C:\Cocos\tools\ant\bin\ant" clean debug -f D:\VSSWS\project\WWHPJ\frameworks\runtime-src\proj.android\build.xml -Dsdk.dir="D:\Cocos\Android-SDK"' Traceback (most recent call last): File "C:\Cocos\frameworks\cocos2d-x-3.8\tools\cocos2d-console\bin\cocos.py", line 897, in <module> run_plugin(command, argv, plugins) File "C:\Cocos\frameworks\cocos2d-x-3.8\tools\cocos2d-console\bin\cocos.py", line 834, in run_plugin plugin.run(argv, dependencies_objects) File "C:\Cocos\frameworks\cocos2d-x-3.8\tools\cocos2d-console\plugins\project_compile\project_compile.py", line 1615, in run self.build_android() File "C:\Cocos\frameworks\cocos2d-x-3.8\tools\cocos2d-console\plugins\project_compile\project_compile.py", line 536, in build_android self.apk_path = builder.do_build_apk(build_mode, self._no_apk, output_dir, self._custom_step_args, self) File "C:\Cocos\frameworks\cocos2d-x-3.8\tools\cocos2d-console\plugins\project_compile\build_android.py", line 552, in do_build_apk shutil.copy(gen_apk_path, output_dir) File "C:\Cocos\Cocos\CocosStudio2\Third_Party\python\lib\shutil.py", line 119, in copy copyfile(src, dst) File "C:\Cocos\Cocos\CocosStudio2\Third_Party\python\lib\shutil.py", line 82, in copyfile with open(src, 'rb') as fsrc: IOError: [Errno 2] No such file or directory: u'D:\\VSSWS\\project\\WWHPJ\\frameworks\\runtime-src\\proj.android\\bin\\WWHPJ-debug.apk' 打包失败,不知道为什么
Android 应用运行在8.0 资源泄漏 求大神解决
Client not ready yet..Waiting for process to come online Connected to process 21685 on device huawei-cmr_w09-NNFDU18504002571 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/InstantRun: starting instant run server: is main process E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist! E/Minikin: Could not get cmap table size! I/HwCust: Constructor found for class android.app.HwCustActivityImpl D/HwCust: Create obj success use class android.app.HwCustActivityImpl V/HwPolicyFactory: : success to get AllImpl object and return.... I/HwCust: Constructor found for class android.app.HwCustHwWallpaperManagerImpl D/HwCust: Create obj success use class android.app.HwCustHwWallpaperManagerImpl
蓝屏dump文件已分析过 ·求大神指点
Microsoft (R) Windows Debugger Version 6.12.0002.633 X86 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [D:\Desktop\061815-9546-01.dmp] Mini Kernel Dump File: Only registers and stack trace are available Symbol search path is: SRV*C:\Symbols*http://msdl.microsoft.com/download/symbols Executable search path is: Windows 7 Kernel Version 7601 (Service Pack 1) MP (8 procs) Free x86 compatible Product: WinNt, suite: TerminalServer SingleUserTS Built by: 7601.18798.x86fre.win7sp1_gdr.150316-1654 Machine Name: Kernel base = 0x8424f000 PsLoadedModuleList = 0x843995b0 Debug session time: Thu Jun 18 19:09:12.906 2015 (UTC + 8:00) System Uptime: 0 days 0:00:04.968 Loading Kernel Symbols .............................................................. Loading User Symbols Mini Kernel Dump does not contain unloaded driver list ******************************************************************************* * * * Bugcheck Analysis * * * ******************************************************************************* Use !analyze -v to get detailed debugging information. BugCheck 124, {0, 87af2024, 0, 0} Probably caused by : hardware Followup: MachineOwner --------- 6: kd> !analyze -v ******************************************************************************* * * * Bugcheck Analysis * * * ******************************************************************************* WHEA_UNCORRECTABLE_ERROR (124) A fatal hardware error has occurred. Parameter 1 identifies the type of error source that reported the error. Parameter 2 holds the address of the WHEA_ERROR_RECORD structure that describes the error conditon. Arguments: Arg1: 00000000, Machine Check Exception Arg2: 87af2024, Address of the WHEA_ERROR_RECORD structure. Arg3: 00000000, High order 32-bits of the MCi_STATUS value. Arg4: 00000000, Low order 32-bits of the MCi_STATUS value. Debugging Details: ------------------ BUGCHECK_STR: 0x124_GenuineIntel CUSTOMER_CRASH_COUNT: 1 DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT PROCESS_NAME: System CURRENT_IRQL: 0 STACK_TEXT: 90c3bcc4 84320fed 87af2008 843b8988 843b8980 nt!WheapCreateTriageDumpFromPreviousSession+0x32 90c3bce4 84321e09 843b8980 87af2008 843b89b0 nt!WheapProcessWorkQueueItem+0x56 90c3bd00 842cc89b 843b8980 00000000 86bb8a70 nt!WheapWorkQueueWorkerRoutine+0x1f 90c3bd50 84459013 00000001 b939a34b 00000000 nt!ExpWorkerThread+0x10d 90c3bd90 842ffcd9 842cc78e 00000001 00000000 nt!PspSystemThreadStartup+0x9e 00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x19 STACK_COMMAND: kb FOLLOWUP_NAME: MachineOwner MODULE_NAME: hardware IMAGE_NAME: hardware DEBUG_FLR_IMAGE_TIMESTAMP: 0 FAILURE_BUCKET_ID: 0x124_GenuineIntel_PROCESSOR_MAE_PRV BUCKET_ID: 0x124_GenuineIntel_PROCESSOR_MAE_PRV Followup: MachineOwner --------- 6: kd> !process GetPointerFromAddress: unable to read from 843b9850 PROCESS 86aff690 SessionId: none Cid: 0004 Peb: 00000000 ParentCid: 0000 DirBase: 00185000 ObjectTable: 8e201930 HandleCount: <Data Not Accessible> Image: System VadRoot 86bdb0d0 Vads 2 Clone 0 Private 2. Modified 58. Locked 0. DeviceMap 8e208888 Token 8e201078 ReadMemory error: Cannot get nt!KeMaximumIncrement value. ffdf0000: Unable to get shared data ElapsedTime 00:00:00.000 UserTime 00:00:00.000 KernelTime 00:00:00.000 QuotaPoolUsage[PagedPool] 0 QuotaPoolUsage[NonPagedPool] 0 Working Set Sizes (now,min,max) (59, 0, 0) (236KB, 0KB, 0KB) PeakWorkingSetSize 382 VirtualSize 1 Mb PeakVirtualSize 1 Mb PageFaultCount 835 MemoryPriority BACKGROUND BasePriority 8 CommitCharge 11 *** Error in reading nt!_ETHREAD @ 86b81020
在 flask 框架写登录注册系统中,总是报这个错误是怎么回事? 求大神告知,谢谢!
在 flask 框架写登录注册系统中,总是报这个错误是怎么回事? 求大神告知,谢谢!(* C:\Python27\lib\site-packages\flask_sqlalchemy\__init__.py:794: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning. 'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '* Debugger is active!**。)。
AndroidStudio运行报错,求助大神~~!
# 求解决啊~~~弄了一晚上了,找了各种帖子,各种方法都没有解决,求助大神~~! Internal Error. Please report to https://code.google.com/p/android/issues com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.intellij.debugger.DebuggerManager' at com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:256) at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:43) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:540) at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:123) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:107) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:90) at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:282) at com.intellij.openapi.project.impl.ProjectManagerImpl.initProject(ProjectManagerImpl.java:231) at com.intellij.openapi.project.impl.ProjectManagerImpl.access$300(ProjectManagerImpl.java:68) at com.intellij.openapi.project.impl.ProjectManagerImpl$3.run(ProjectManagerImpl.java:311) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:170) at com.intellij.openapi.project.impl.ProjectManagerImpl.getDefaultProject(ProjectManagerImpl.java:306) at com.android.tools.idea.sdk.IdeSdks.getAndroidSdkPath(IdeSdks.java:90) at com.android.tools.idea.startup.GradleSpecificInitializer.setupSdks(GradleSpecificInitializer.java:282) at com.android.tools.idea.startup.GradleSpecificInitializer.run(GradleSpecificInitializer.java:114) at com.android.tools.idea.AndroidInitialConfigurator.activateAndroidStudioInitializerExtensions(AndroidInitialConfigurator.java:198) at com.android.tools.idea.AndroidInitialConfigurator.<init>(AndroidInitialConfigurator.java:65) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at com.intellij.util.pico.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:59) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:499) at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:123) at com.intellij.openapi.application.impl.ApplicationImpl.access$801(ApplicationImpl.java:92) at com.intellij.openapi.application.impl.ApplicationImpl$12.run(ApplicationImpl.java:500) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127) at com.intellij.openapi.application.impl.ApplicationImpl.createComponents(ApplicationImpl.java:516) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:107) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:458) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:450) at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:197) at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: com/sun/jdi/Value at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.sun.proxy.$Proxy47.<clinit>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.reflect.Proxy.newProxyInstance(Unknown Source) at com.intellij.util.EventDispatcher.<init>(EventDispatcher.java:75) at com.intellij.util.EventDispatcher.create(EventDispatcher.java:42) at com.intellij.debugger.impl.DebuggerStateManager.<init>(DebuggerStateManager.java:29) at com.intellij.debugger.impl.DebuggerManagerImpl$MyDebuggerStateManager.<init>(DebuggerManagerImpl.java:606) at com.intellij.debugger.impl.DebuggerManagerImpl$MyDebuggerStateManager.<init>(DebuggerManagerImpl.java:606) at com.intellij.debugger.impl.DebuggerManagerImpl.<init>(DebuggerManagerImpl.java:81) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at com.intellij.util.pico.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:59) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:499) ... 56 more Caused by: java.lang.ClassNotFoundException: com.sun.jdi.Value at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:207) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 80 more
有大神能帮帮分析一下蓝屏代码吗?
No .natvis files found at C:\Windows\SYSTEM32\Visualizers. No .natvis files found at C:\Users\HR\AppData\Local\Dbg\Visualizers. Microsoft (R) Windows Debugger Version 10.0.18362.1 X86 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [C:\Users\HR\Desktop\010320-9796-01.dmp] Mini Kernel Dump File: Only registers and stack trace are available Symbol search path is: srv* Executable search path is: Unable to load image ntoskrnl.exe, Win32 error 0n2 *** WARNING: Unable to verify timestamp for ntoskrnl.exe ************************************************************************* *** *** *** *** *** Either you specified an unqualified symbol, or your debugger *** *** doesn't have full symbol information. Unqualified symbol *** *** resolution is turned off by default. Please either specify a *** *** fully qualified symbol module!symbolname, or enable resolution *** *** of unqualified symbols by typing ".symopt- 100". Note that *** *** enabling unqualified symbol resolution with network symbol *** *** server shares in the symbol path may cause the debugger to *** *** appear to hang for long periods of time when an incorrect *** *** symbol name is typed or the network symbol server is down. *** *** *** *** For some commands to work properly, your symbol path *** *** must point to .pdb files that have full type information. *** *** *** *** Certain .pdb files (such as the public OS symbols) do not *** *** contain the required information. Contact the group that *** *** provided you with these symbols if you need this command to *** *** work. *** *** *** *** Type referenced: nt!_MMPTE_TRANSITION *** *** *** ************************************************************************* Windows 10 Kernel Version 18362 MP (4 procs) Free x86 compatible Product: WinNt, suite: TerminalServer SingleUserTS Machine Name: Kernel base = 0x82600000 PsLoadedModuleList = 0x828b86f8 Debug session time: Fri Jan 3 14:34:43.891 2020 (UTC + 8:00) System Uptime: 0 days 2:48:45.619 Unable to load image ntoskrnl.exe, Win32 error 0n2 *** WARNING: Unable to verify timestamp for ntoskrnl.exe ************************************************************************* *** *** *** *** *** Either you specified an unqualified symbol, or your debugger *** *** doesn't have full symbol information. Unqualified symbol *** *** resolution is turned off by default. Please either specify a *** *** fully qualified symbol module!symbolname, or enable resolution *** *** of unqualified symbols by typing ".symopt- 100". Note that *** *** enabling unqualified symbol resolution with network symbol *** *** server shares in the symbol path may cause the debugger to *** *** appear to hang for long periods of time when an incorrect *** *** symbol name is typed or the network symbol server is down. *** *** *** *** For some commands to work properly, your symbol path *** *** must point to .pdb files that have full type information. *** *** *** *** Certain .pdb files (such as the public OS symbols) do not *** *** contain the required information. Contact the group that *** *** provided you with these symbols if you need this command to *** *** work. *** *** *** *** Type referenced: nt!_MMPTE_TRANSITION *** *** *** ************************************************************************* Loading Kernel Symbols ............................................................... ................................................................ .................................................. Loading User Symbols Loading unloaded module list ......... ************* Symbol Loading Error Summary ************** Module name Error ntoskrnl The system cannot find the file specified You can troubleshoot most symbol related issues by turning on symbol loading diagnostics (!sym noisy) and repeating the command that caused symbols to be loaded. You should also verify that your symbol search path (.sympath) is correct. For analysis of this file, run !analyze -v
ida动态调试so,附加成功后找不到目标so
本人接触反编时间也有半年了,一直不太会ida动态调试so,从网上看好多帖子也没成功,这次自己写了个demo app 调试到这里就找不到我写的so了,不知道哪里出错了,求指点 这是我写的so内容 下面是我的操作步骤 1.ida静态打开so    ok的, 2.root真机 小米5 一台   进入root手机里启动 android_serverr 3.adb forward tcp:23946 tcp:23946 4.mprop修改手机debugger属性 5.adb shell am start  -D -n com.wzs.jnidemo/.MainActivity 启动app 6. 通过monitor 查看端口 jdb connect com.sun.jdi.SocketAttach:hostname=127.0.0.1,port=8625 连接jdb 7.ida 通过debugger连接远端 进程选择然后就附加上了,程序停在libc.so处,,按f9 开始之,,,,,,然后也搜不到我得so 然后我看下面的加载日志,也没有加载我的libnative-lib.so 然后手机还停留在waiting for debugger 等待调试界面.. 试过好几次,都是这种情况,求明白的人指点下哪里错了 下面附上含有图片的地址 https://mp.csdn.net/postedit/100583927
手机waitting for debugger后断点停不下来
这几天换了个手机,运行项目可以的,但是项目设了断点后运行,手机也弹出waittingfor debugger,弹框小时候却没有进入断点,而是正常运行了, 我用了别而手机试,进入了debug模式,就这个手机不行,。描述:waittingfor debugger框停留好几秒才消失, 选择开发者模式-等待调试器确认,后 在弹出框消失后又弹出一个, 进不去,所以循环弹,同时eclipse控制台输出: [2015-03-13 10:45:11 - ddms] null java.lang.NullPointerException at org.eclipse.debug.internal.ui.DebugUIPlugin.launchInBackground(DebugUIPlugin.java:1286) at org.eclipse.debug.ui.DebugUITools.launch(DebugUITools.java:753) at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.debugRunningApp(AndroidLaunchController.java:178) at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.clientChanged(AndroidLaunchController.java:1749) at com.android.ddmlib.AndroidDebugBridge.clientChanged(AndroidDebugBridge.java:926) at com.android.ddmlib.Device.update(Device.java:774) at com.android.ddmlib.Client.update(Client.java:903) at com.android.ddmlib.HandleWait.handleWAIT(HandleWait.java:88) at com.android.ddmlib.HandleWait.handleChunk(HandleWait.java:66) at com.android.ddmlib.MonitorThread.callHandler(MonitorThread.java:414) at com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:322) at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263) 怎么解?
JS设置Word边框宽度为0 需要怎么写呢 各位大神
![图片说明](https://img-ask.csdn.net/upload/202001/08/1578470654_38270.jpg) 这是导出的Word 这个边框怪怪的 要设置成0 ``` window.onload = function () { var exportWordBtn = document.getElementById('exportWord'); exportWordBtn.onclick=function(){ // 构建table表格 ---这里只是写个样例,需要什么数据就构建什么表格就行 var table_ = document.createElement("table"); table_.style.borderWidth = '1px'; table_.style.borderColor = 'black'; table_.style.borderStyle = 'solid'; var tr,td; for(var i=0;i<tableData.length;i++){ //循环插入元素 tr = table_.insertRow(table_.rows.length);//创建一行 tr.style.borderWidth = '1px'; tr.style.borderColor = 'black'; tr.style.borderStyle = 'solid'; // tr.style.borderStyle = '0px'; tr.style.border = '0px'; const keys = ['number','area','voltage','stationName','deviceName','logStartTime','logEndTime','troubleResult']; // debugger for(var j=0;j<8;j++){ td = tr.insertCell(tr.cells.length);//创建单元格 td.style.borderWidth = '1px'; td.style.borderColor = 'black'; td.style.borderStyle = 'solid'; // td.style.borderStyle = '0px'; td.style.border = '0px'; td.style.borderBottomStyle if (j===2){//帮数据库查到的电压等级转换加KV td.innerHTML = tableData[i][keys[j]] / 1000 +'KV'; }else { td.innerHTML = tableData[i][keys[j]]; } } } //将table表格append到#docx .WordSection1 中 document.querySelector("#docx .WordSection1").appendChild(table_); // document.querySelector("#docx .WordSection1").appendChild(table_); // var table = $('#docx .layui-table-box')[0]; // console.log(table) var docx = document.getElementById('docx'); //调用export2word函数 export2Word(docx); //调用完成后将生成的表格remove掉 // document.querySelector("#docx .WordSection1").removeChild(table_); } ```
安卓开发JDBC连接数据库No static method metafactory错误怎么解决?
直接上代码 JdbcUtil类 ``` package com.example.myapplication; import java.io.File; import java.io.FileInputStream; import java.sql.Connection; import java.sql.DriverManager; import java.util.Properties; public class JdbcUtil { private static JdbcUtil instance; public static JdbcUtil getInstance(){ if (instance ==null){ instance = new JdbcUtil(); } return instance; } public Connection getConnection(String dbName,String name,String password) { try { new com.mysql.cj.jdbc.Driver(); String url = "jdbc:mysql://localhost:3306/"+dbName; return DriverManager.getConnection(url,name,password); } catch (Exception e) { return null; } } public Connection getConnection(String file){ File f = new File(file); if(!f.exists()){ return null; }else { Properties pro = new Properties(); try { Class.forName("com.mysql.jdbc.Driver"); pro.load(new FileInputStream(f)); String url = pro.getProperty("url"); String name = pro.getProperty("name"); String password = pro.getProperty("password"); return DriverManager.getConnection(url,name,password); }catch (Exception e){ return null; } } } } ``` UserDao类 ``` package com.example.myapplication; import android.util.Log; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import static android.content.ContentValues.TAG; public class UserDao { JdbcUtil jdbcUtil = JdbcUtil.getInstance(); //第一个参数为数据库名称,第二个参数为数据库账号 第三个参数为数据库密码 Connection conn = jdbcUtil.getConnection("test","root","LHMbdbqandr2015"); //注册 public boolean register(String name,String password){ if (conn==null){ Log.i(TAG,"register:conn is null"); return false; }else { //进行数据库操作 String sql = "insert into user(name,password) values(?,?)"; try { PreparedStatement pre = conn.prepareStatement(sql); pre.setString(1,name); pre.setString(2,password); return pre.execute(); } catch (SQLException e) { return false; }finally { try { conn.close(); } catch (SQLException e) { e.printStackTrace(); } } } } //登录 public boolean login(String name,String password){ if (conn==null){ Log.i(TAG,"register:conn is null"); return false; }else { String sql = "select * from user where name=? and password=?"; try { PreparedStatement pres = conn.prepareStatement(sql); pres.setString(1,name); pres.setString(2,password); ResultSet res = pres.executeQuery(); boolean t = res.next(); return t; } catch (SQLException e) { return false; } } } } ``` MainActivity文件 ``` package com.example.myapplication; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Build; import android.os.Bundle; import android.os.Looper; import android.os.Trace; import android.util.Log; import android.view.View; import android.widget.EditText; import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; public class MainActivity extends AppCompatActivity { private static final String TAG="MainActivity"; private EditText name; private EditText password; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); name = findViewById(R.id.name); password = findViewById(R.id.password); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { if (checkSelfPermission(Manifest.permission.INTERNET) != PackageManager.PERMISSION_GRANTED) { // TODO: Consider calling // Activity#requestPermissions requestPermissions(new String[]{Manifest.permission.INTERNET},1); // here to request the missing permissions, and then overriding // public void onRequestPermissionsResult(int requestCode, String[] permissions, // int[] grantResults) // to handle the case where the user grants the permission. See the documentation // for Activity#requestPermissions for more details. return; } } } //用户根据点击事件来找到相应的功能 public void fun(View v){ switch (v.getId()){ case R.id.register: new Thread(new Runnable() { @Override public void run() { String n = name.getText().toString().trim(); String psw = password.getText().toString().trim(); UserDao ud = new UserDao(); boolean result =ud.register(n,psw); if (!result){ Looper.prepare(); Toast toast = Toast.makeText(MainActivity.this,"注册成功!",Toast.LENGTH_SHORT); toast.show(); Looper.loop(); } Log.i(TAG,"fun"+result); //以上为jdbc注册 } }).start(); break; case R.id.login: new Thread(new Runnable() { @Override public void run() { String n = name.getText().toString().trim(); String psw = password.getText().toString().trim(); if (n.equals("")||psw.equals("")){ Looper.prepare(); Toast toast = Toast.makeText(MainActivity.this,"输入不能为空!",Toast.LENGTH_SHORT); toast.show(); Looper.loop(); } UserDao ud = new UserDao(); Boolean result = ud.login(n,psw); if (!result){ Looper.prepare(); Toast toast=Toast.makeText(MainActivity.this,"用户名不存在或密码错误!",Toast.LENGTH_SHORT); toast.show(); Looper.loop(); }else{ Looper.prepare(); Toast toast=Toast.makeText(MainActivity.this,"登录成功",Toast.LENGTH_SHORT); toast.show(); //一下代码为跳转界面 // Intent intent=new Intent(MainActivity.this,info.class); //intent.putExtra("name",n); // startActivity(intent); Looper.loop(); } //以上为jdbc登录 } }).start(); } } } ``` 现在遇到的问题如下 ``` 11/14 01:40:49: Launching 'app' on Nexus 5X API 29 x86. $ adb shell am start -n "com.example.myapplication/com.example.myapplication.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Waiting for process to come online... Connected to process 23852 on device 'emulator-5554'. Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/e.myapplicatio: Not late-enabling -Xcheck:jni (already on) E/e.myapplicatio: Unknown bits set in runtime_flags: 0x8000 W/e.myapplicatio: Unexpected CPU variant for X86 using defaults: x86 D/libEGL: Emulator has host GPU support, qemu.gles is set to 1. W/libc: Unable to set property "qemu.gles" to "1": connection failed; errno=13 (Permission denied) W/RenderThread: type=1400 audit(0.0:129): avc: denied { write } for name="property_service" dev="tmpfs" ino=8368 scontext=u:r:untrusted_app:s0:c130,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0 app=com.example.myapplication D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so W/e.myapplicatio: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed) Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed) D/: HostConnection::get() New Host Connection established 0xd7d24f50, tid 23910 D/: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_1 W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 0 0 D/EGL_emulation: eglCreateContext: 0xe3340b60: maj 3 min 1 rcv 4 D/EGL_emulation: eglMakeCurrent: 0xe3340b60: ver 3 1 (tinfo 0xe338bc10) E/eglCodecCommon: glUtilsParamSize: unknow param 0x000082da glUtilsParamSize: unknow param 0x000082da W/Gralloc3: mapper 3.x is not supported D/: createUnique: call D/: HostConnection::get() New Host Connection established 0xd7d26ad0, tid 23910 HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_1 D/eglCodecCommon: allocate: Ask for block of size 0x1000 D/eglCodecCommon: allocate: ioctl allocate returned offset 0x3ffff6000 size 0x2000 D/EGL_emulation: eglMakeCurrent: 0xe3340b60: ver 3 1 (tinfo 0xe338bc10) D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 0 0 I/AssistStructure: Flattened final assist data: 1788 bytes, containing 1 windows, 10 views W/e.myapplicatio: Accessing hidden method Ljava/lang/invoke/LambdaMetafactory;->metafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; (blacklist, linking, denied) E/AndroidRuntime: FATAL EXCEPTION: Thread-2 Process: com.example.myapplication, PID: 23852 java.lang.NoSuchMethodError: No static method metafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; in class Ljava/lang/invoke/LambdaMetafactory; or its super classes (declaration of 'java.lang.invoke.LambdaMetafactory' appears in /apex/com.android.runtime/javalib/core-oj.jar) at com.mysql.cj.conf.ConnectionUrl.buildConnectionStringCacheKey(ConnectionUrl.java:246) at com.mysql.cj.conf.ConnectionUrl.getConnectionUrlInstance(ConnectionUrl.java:185) at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:204) at java.sql.DriverManager.getConnection(DriverManager.java:580) at java.sql.DriverManager.getConnection(DriverManager.java:218) at com.example.myapplication.JdbcUtil.getConnection(JdbcUtil.java:22) at com.example.myapplication.UserDao.<init>(UserDao.java:15) at com.example.myapplication.MainActivity$1.run(MainActivity.java:53) at java.lang.Thread.run(Thread.java:919) D/EGL_emulation: eglMakeCurrent: 0xe3340b60: ver 3 1 (tinfo 0xe338bc10) D/AutofillManager: onActivityFinishing(): calling cancelLocked() Process 23852 terminated. ``` 在网上百度了很多方法都没有解决,起初以为是驱动的问题,但是换了一个仍然不好用,求求大神赐教
android studio 导入报错
开始可以运行 然后我拷贝到另外一台电脑上就无法运行 先是报错 Installation failed with message Invalid File: K:\project\app\build\intermediates\split-apk\with_ImageProcessor\debug\slices\slice_0.apk. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing. WARNING: Uninstalling will remove the application data! Do you want to uninstall the existing application? 然后我按照stackoverflow上的方法 Click Build tab ---> Clean Project Click Build tab ---> Build APK Run. 走了一遍 但是程序打不开 点击debug 然后 debug界面显示 $ adb install-multiple -r /Users/user/Desktop/x1/Xd/app/build/outputs/apk/app-debug.apk Split APKs installed $ adb shell am start -n "com.example.user.xd/com.example.user.xd.FirstActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Connecting to com.example.user.xd Connected to the target VM, address: 'localhost:8600', transport: 'socket' Disconnected from the target VM, address: 'localhost:8600', transport: 'socket' Android Monitor 提示 09-21 21:59:40.061 22694-22694/? I/art: Late-enabling -Xcheck:jni 09-21 21:59:40.114 22694-22694/com.example.user.xd W/ActivityThread: Application com.example.user.xd is waiting for the debugger on port 8100... 09-21 21:59:40.114 22694-22694/com.example.user.xd I/System.out: Sending WAIT chunk 09-21 21:59:40.315 22694-22700/com.example.user.xd I/art: Debugger is active 09-21 21:59:40.515 22694-22694/com.example.user.xd I/System.out: Debugger has connected 09-21 21:59:40.515 22694-22694/com.example.user.xd I/System.out: waiting for debugger to settle... 09-21 21:59:40.715 22694-22694/com.example.user.xd I/System.out: waiting for debugger to settle... 09-21 21:59:40.915 22694-22694/com.example.user.xd I/System.out: waiting for debugger to settle... 09-21 21:59:41.115 22694-22694/com.example.user.xd I/System.out: waiting for debugger to settle... 09-21 21:59:41.316 22694-22694/com.example.user.xd I/System.out: waiting for debugger to settle... 09-21 21:59:41.516 22694-22694/com.example.user.xd I/System.out: waiting for debugger to settle... 09-21 21:59:41.716 22694-22694/com.example.user.xd I/System.out: waiting for debugger to settle... 09-21 21:59:41.917 22694-22694/com.example.user.xd I/System.out: debugger has settled (1396) 09-21 21:59:42.009 22694-22694/com.example.user.xd W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --non-interactive --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=krait --instruction-set-features=default --dex-file=/data/app/com.example.user.xd-2/split_lib_slice_0_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.example.user.xd-2@split_lib_slice_0_apk.apk@classes.dex) because non-0 exit status 09-21 21:59:42.020 22694-22694/com.example.user.xd W/art: Fallback to original dex file with interpret-mode for /data/app/com.example.user.xd-2/split_lib_slice_0_apk.apk 09-21 21:59:42.021 22694-22694/com.example.user.xd W/System: ClassLoader referenced unknown path: /data/app/com.example.user.xd-2/lib/arm 09-21 21:59:42.025 22694-22694/com.example.user.xd I/InstantRun: starting instant run server: is main process 09-21 21:59:42.031 22694-22694/com.example.user.xd I/art: Rejecting re-init on previously-failed class java.lang.Class<com.example.user.xd.FirstActivity> 09-21 21:59:42.031 22694-22694/com.example.user.xd D/AndroidRuntime: Shutting down VM 09-21 21:59:42.035 22694-22694/com.example.user.xd E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.user.xd, PID: 22694 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.user.xd/com.example.user.xd.FirstActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.user.xd.FirstActivity" on path: DexPathList[[zip file "/data/app/com.example.user.xd-2/base.apk", zip file "/data/app/com.example.user.xd-2/split_lib_slice_0_apk.apk"],nativeLibraryDirectories=[/data/app/com.example.user.xd-2/lib/arm, /vendor/lib, /system/lib]] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2360) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2509) at android.app.ActivityThread.access$1000(ActivityThread.java:153) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:5528) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:740) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:630) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.user.xd.FirstActivity" on path: DexPathList[[zip file "/data/app/com.example.user.xd-2/base.apk", zip file "/data/app/com.example.user.xd-2/split_lib_slice_0_apk.apk"],nativeLibraryDirectories=[/data/app/com.example.user.xd-2/lib/arm, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at android.app.Instrumentation.newActivity(Instrumentation.java:1068) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2350) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2509)  at android.app.ActivityThread.access$1000(ActivityThread.java:153)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:154)  at android.app.ActivityThread.main(ActivityThread.java:5528)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:740)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:630)  Suppressed: java.lang.NoClassDefFoundError: com.example.user.xd.FirstActivity at dalvik.system.DexFile.defineClassNative(Native Method) at dalvik.system.DexFile.defineClass(DexFile.java:226) at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219) at dalvik.system.DexPathList.findClass(DexPathList.java:338) at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54) ... 13 more Suppressed: java.lang.ClassNotFoundException: com.example.user.xd.FirstActivity at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 12 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
win7蓝屏,求解决办法!
Microsoft (R) Windows Debugger Version 6.11.0001.404 X86 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [C:\Users\baby\Desktop\031315-27253-01.dmp] Mini Kernel Dump File: Only registers and stack trace are available Symbol search path is: Invalid Symbol loading may be unreliable without a symbol search path. Use .symfix to have the debugger choose a symbol path. After setting your symbol path, use .reload to refresh symbol locations. Executable search path is: Symbols can not be loaded because symbol path is not initialized. The Symbol Path can be set by: using the _NT_SYMBOL_PATH environment variable. using the -y <symbol_path> argument when starting the debugger. using .sympath and .sympath+ Unable to load image \SystemRoot\system32\ntkrnlpa.exe, Win32 error 0n2 WARNING: Unable to verify timestamp for ntkrnlpa.exe ERROR: Module load completed but symbols could not be loaded for ntkrnlpa.exe Windows 7 Kernel Version 7601 (Service Pack 1) MP (4 procs) Free x86 compatible Product: WinNt, suite: TerminalServer SingleUserTS Built by: 7601.18741.x86fre.win7sp1_gdr.150202-1526 Machine Name: Kernel base = 0x84415000 PsLoadedModuleList = 0x8455f5b0 Debug session time: Fri Mar 13 18:27:10.552 2015 (GMT+8) System Uptime: 0 days 10:17:16.598 Symbols can not be loaded because symbol path is not initialized. The Symbol Path can be set by: using the _NT_SYMBOL_PATH environment variable. using the -y <symbol_path> argument when starting the debugger. using .sympath and .sympath+ Unable to load image \SystemRoot\system32\ntkrnlpa.exe, Win32 error 0n2 WARNING: Unable to verify timestamp for ntkrnlpa.exe ERROR: Module load completed but symbols could not be loaded for ntkrnlpa.exe Loading Kernel Symbols ............................................................... ................................................................ ...................................................... Loading User Symbols Loading unloaded module list .......... Bugcheck Analysis Use !analyze -v to get detailed debugging information. BugCheck D1, {0, 2, 8, 0} Kernel symbols are WRONG. Please fix symbols to do analysis. Your debugger is not using the correct symbols In order for this command to work properly, your symbol path must point to .pdb files that have full type information. Certain .pdb files (such as the public OS symbols) do not contain the required information. Contact the group that provided you with these symbols if you need this command to work. Type referenced: nt!_KPRCB Symbols can not be loaded because symbol path is not initialized. The Symbol Path can be set by: using the _NT_SYMBOL_PATH environment variable. using the -y <symbol_path> argument when starting the debugger. using .sympath and .sympath+ Symbols can not be loaded because symbol path is not initialized. The Symbol Path can be set by: using the _NT_SYMBOL_PATH environment variable. using the -y <symbol_path> argument when starting the debugger. using .sympath and .sympath+ Probably caused by : ntkrnlpa.exe ( nt+40b4f ) Followup: MachineOwner ---------
求大神解答。。。MediaPlayer播放本地视频,华为6.0无法播放
1. Android开发,MediaPlayer播放本地视频, 2. 华为6.0( 荣耀8)手机无法正常播放本地视频(mp4)(华为其它版本的手机没测) 3. 其它品牌手机可以播放,包括android6.0的也可以播放。 4. ![正常无法播放,图片说明](https://img-ask.csdn.net/upload/201611/29/1480412727_368920.png) 点击debugger之后,居然可以正常播放。
zend debugger配置问题
zenddebugger.dll存在,php.ini也按照网上写了,dummy.php也拷贝到相关web服务目录了。还是test debugger成功不了![图片说明](https://img-ask.csdn.net/upload/201607/22/1469160691_940487.png)![图片说明](https://img-ask.csdn.net/upload/201607/22/1469160697_326358.png)
ajaxSubmit提交数据到后台为什么不执行success方法,只执行error方法
求大神解惑!!!!数据可以插入到数据库中,但是回调函数只执行error不执行success 页面js代码如下 var v = $('#myForm').validate({ submitHandler: function (form) { var date = $("#myForm").serialize(); //这里是jquery表单验证通过的时候执行的操作,比如这里,表单验证通过的时候执行了jquery的ajax的post操作 $(form).ajaxSubmit({ url:'addUser', date:date, type:'POST', dataType:'json', clearForm:true, resetForm:true, success : function(responseText,statusText){ if(responseText.status == "0"){ /** * 请求成功后的操作 */ alert('保存成功'); } else { alert('保存失败'); } }, error : function(xhr,status,err) { alert(xhr.responseText); alert(status); debugger; } }); } }); 后台action代码 @Action(value = "addUser") public void addUser(){ userInfoService.insertUser(userInfo); message = "success"; try { PrintWriter writer = response.getWriter(); writer.write(message); writer.flush(); writer.close(); } catch (IOException e) { e.printStackTrace(); } }
用荣耀9调试显示[ThreadDexHotfixMonitor]Bind hotfix monitor service fail!
有没有大佬回答一下这是为啥,用荣耀9调试显示[ThreadDexHotfixMonitor]Bind hotfix monitor service fail!手机上打开了开发者模式,也能连上Android studio, 就想发条通知,但怎么点发送按钮都没用。下面是debugri'zhi 10-02 16:56:56.764 28292-28292/? I/otificationtes: Late-enabling -Xcheck:jni 10-02 16:56:56.810 28292-28292/? I/otificationtes: Reinit property: dalvik.vm.checkjni= false 10-02 16:56:56.827 28292-28292/? D/ZrHung.AppEyeUiProbe: AppEyeUIP created. 10-02 16:56:56.832 28292-28292/? D/ActivityThread: Attach thread to application 10-02 16:56:56.833 28292-28305/? E/otificationtes: Failed to send DDMS packet REAQ to debugger (-1 of 20): Broken pipe 10-02 16:56:56.912 28292-28320/? I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.example.notificationtest#10222#256 10-02 16:56:56.914 28292-28320/? I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.example.notificationtest#10222#0 10-02 16:56:56.940 28292-28292/? I/InstantRun: Instant Run Runtime started. Android package is com.example.notificationtest, real application class is null. 10-02 16:56:57.115 28292-28292/? W/otificationtes: Accessing hidden method Ldalvik/system/BaseDexClassLoader;->getLdLibraryPath()Ljava/lang/String; (light greylist, reflection) 10-02 16:56:57.117 28292-28292/? W/otificationtes: Unsupported class loader 10-02 16:56:57.220 28292-28292/? W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:57.221 28292-28292/? W/otificationtes: Unsupported class loader 10-02 16:56:57.296 28292-28292/? W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:57.297 28292-28292/? W/otificationtes: Unsupported class loader 10-02 16:56:57.368 28292-28292/? W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:57.369 28292-28292/? W/otificationtes: Unsupported class loader 10-02 16:56:57.458 28292-28292/? W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:57.459 28292-28292/? W/otificationtes: Unsupported class loader 10-02 16:56:57.530 28292-28292/? W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:57.531 28292-28292/? W/otificationtes: Unsupported class loader 10-02 16:56:57.637 28292-28292/? W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:57.638 28292-28292/? W/otificationtes: Unsupported class loader 10-02 16:56:57.712 28292-28292/? W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:57.713 28292-28292/? W/otificationtes: Unsupported class loader 10-02 16:56:57.783 28292-28292/? W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:57.784 28292-28292/? W/otificationtes: Unsupported class loader 10-02 16:56:57.868 28292-28292/com.example.notificationtest W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:57.868 28292-28292/com.example.notificationtest W/otificationtes: Unsupported class loader 10-02 16:56:57.951 28292-28292/com.example.notificationtest W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:57.951 28292-28292/com.example.notificationtest W/otificationtes: Unsupported class loader 10-02 16:56:58.063 28292-28292/com.example.notificationtest W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:58.063 28292-28292/com.example.notificationtest W/otificationtes: Unsupported class loader 10-02 16:56:58.153 28292-28292/com.example.notificationtest W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:58.154 28292-28292/com.example.notificationtest W/otificationtes: Unsupported class loader 10-02 16:56:58.230 28292-28292/com.example.notificationtest W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:58.231 28292-28292/com.example.notificationtest W/otificationtes: Unsupported class loader 10-02 16:56:58.352 28292-28292/com.example.notificationtest W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:58.353 28292-28292/com.example.notificationtest W/otificationtes: Unsupported class loader 10-02 16:56:58.462 28292-28292/com.example.notificationtest W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:58.463 28292-28292/com.example.notificationtest W/otificationtes: Unsupported class loader 10-02 16:56:58.552 28292-28292/com.example.notificationtest W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:58.553 28292-28292/com.example.notificationtest W/otificationtes: Unsupported class loader 10-02 16:56:58.668 28292-28292/com.example.notificationtest W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:58.669 28292-28292/com.example.notificationtest W/otificationtes: Unsupported class loader 10-02 16:56:58.848 28292-28292/com.example.notificationtest W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:58.848 28292-28292/com.example.notificationtest W/otificationtes: Unsupported class loader 10-02 16:56:59.048 28292-28292/com.example.notificationtest W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:59.049 28292-28292/com.example.notificationtest W/otificationtes: Unsupported class loader 10-02 16:56:59.126 28292-28292/com.example.notificationtest W/otificationtes: Skipping duplicate class check due to unsupported classloader 10-02 16:56:59.130 28292-28292/com.example.notificationtest W/otificationtes: Accessing hidden field Ljava/lang/ClassLoader;->parent:Ljava/lang/ClassLoader; (light greylist, reflection) 10-02 16:56:59.146 28292-28292/com.example.notificationtest W/otificationtes: Accessing hidden method Landroid/app/ActivityThread;->currentActivityThread()Landroid/app/ActivityThread; (light greylist, reflection) 10-02 16:56:59.146 28292-28292/com.example.notificationtest W/otificationtes: Accessing hidden field Landroid/app/ActivityThread;->mInitialApplication:Landroid/app/Application; (light greylist, reflection) 10-02 16:56:59.146 28292-28292/com.example.notificationtest W/otificationtes: Accessing hidden field Landroid/app/ActivityThread;->mAllApplications:Ljava/util/ArrayList; (light greylist, reflection) 10-02 16:56:59.146 28292-28292/com.example.notificationtest W/otificationtes: Accessing hidden field Landroid/app/LoadedApk;->mApplication:Landroid/app/Application; (light greylist, reflection) 10-02 16:56:59.146 28292-28292/com.example.notificationtest W/otificationtes: Accessing hidden field Landroid/app/LoadedApk;->mResDir:Ljava/lang/String; (light greylist, reflection) 10-02 16:56:59.147 28292-28292/com.example.notificationtest W/otificationtes: Accessing hidden field Landroid/app/Application;->mLoadedApk:Landroid/app/LoadedApk; (light greylist, reflection) 10-02 16:56:59.147 28292-28292/com.example.notificationtest W/otificationtes: Accessing hidden field Landroid/app/ActivityThread;->mPackages:Landroid/util/ArrayMap; (light greylist, reflection) 10-02 16:56:59.147 28292-28292/com.example.notificationtest W/otificationtes: Accessing hidden field Landroid/app/ActivityThread;->mResourcePackages:Landroid/util/ArrayMap; (light greylist, reflection) 10-02 16:56:59.150 28292-28320/com.example.notificationtest I/AwareBitmapCacher: init processName:com.example.notificationtest pid=28292 uid=10222 10-02 16:56:59.155 28292-28559/com.example.notificationtest E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@28ac4fd 10-02 16:56:59.155 28292-28559/com.example.notificationtest E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@5c925f2 10-02 16:56:59.167 28292-28320/com.example.notificationtest E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist! 10-02 16:56:59.175 28292-28292/com.example.notificationtest D/ZrHung.AppEyeUiProbe: notify runnable to start. 10-02 16:56:59.175 28292-28562/com.example.notificationtest D/ZrHung.AppEyeUiProbe: Runnable thread started. 10-02 16:56:59.175 28292-28562/com.example.notificationtest D/IMonitor: Load library imonitor_jni 10-02 16:56:59.322 28292-28292/com.example.notificationtest I/HwApsImpl: APS: new HwApsImpl created 10-02 16:56:59.328 28292-28292/com.example.notificationtest I/HwPhoneWindow: updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false 10-02 16:56:59.329 28292-28292/com.example.notificationtest I/HwPhoneWindow: updateLayoutParamsColor true mSpecialSet=true, mForcedNavigationBarColor=false, navigationBarColor=fffcfcfc, mNavBarShow=false, mIsFloating=false 10-02 16:56:59.347 28292-28292/com.example.notificationtest I/OverScrollerOptimization: start init SmartSlideOverScroller and get the overscroller config 10-02 16:56:59.347 28292-28292/com.example.notificationtest I/OverScrollerOptimization: get the overscroller config 10-02 16:56:59.348 28292-28292/com.example.notificationtest I/FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 10-02 16:56:59.349 28292-28292/com.example.notificationtest I/FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 10-02 16:56:59.349 28292-28292/com.example.notificationtest D/FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 10-02 16:56:59.349 28292-28292/com.example.notificationtest D/FeatureFactory: loadFeature() new IHwSplineOverScrollerEx() 10-02 16:56:59.349 28292-28292/com.example.notificationtest D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@5f9433,android.support.v7.view.ContextThemeWrapper@a4bd3f0 10-02 16:56:59.349 28292-28292/com.example.notificationtest D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0 10-02 16:56:59.350 28292-28292/com.example.notificationtest I/FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 10-02 16:56:59.350 28292-28292/com.example.notificationtest I/FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 10-02 16:56:59.350 28292-28292/com.example.notificationtest D/FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx 10-02 16:56:59.350 28292-28292/com.example.notificationtest D/FeatureFactory: loadFeature() new IHwSplineOverScrollerEx() 10-02 16:56:59.350 28292-28292/com.example.notificationtest D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@b323f1c,android.support.v7.view.ContextThemeWrapper@a4bd3f0 10-02 16:56:59.350 28292-28292/com.example.notificationtest D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0 10-02 16:56:59.379 28292-28292/com.example.notificationtest W/otificationtes: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection) 10-02 16:56:59.381 28292-28292/com.example.notificationtest W/otificationtes: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection) 10-02 16:56:59.386 28292-28292/com.example.notificationtest D/TextView: get Display Panel Type is : 0 10-02 16:56:59.399 28292-28292/com.example.notificationtest D/ActivityThread: add activity client record, r= ActivityRecord{29dbe14 token=android.os.BinderProxy@d43b3f9 {com.example.notificationtest/com.example.notificationtest.MainActivity}} token= android.os.BinderProxy@d43b3f9 10-02 16:56:59.402 28292-28292/com.example.notificationtest D/ZrHung.AppEyeUiProbe: notify runnable to start. 10-02 16:56:59.412 28292-28292/com.example.notificationtest D/OpenGLRenderer: Skia GL Pipeline 10-02 16:56:59.418 28292-28292/com.example.notificationtest D/HwAppInnerBoostImpl: set config for com.example.notificationtest BOOST_FLAG=false REPORT_DURATION_CLICK=1000 REPORT_TIMES_CLICK=3 REPORT_DURATION_SLIDE=5000 REPORT_TIMES_SLIDE=16 10-02 16:56:59.419 28292-28292/com.example.notificationtest D/OpenGLRenderer: HWUI Binary is enabled 10-02 16:56:59.419 28292-28292/com.example.notificationtest D/OpenGLRenderer: disableOutlineDraw is true 10-02 16:56:59.446 28292-28568/com.example.notificationtest I/HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false 10-02 16:56:59.447 28292-28568/com.example.notificationtest D/HiTouch_PressGestureDetector: onAttached, package=com.example.notificationtest, windowType=1, mHiTouchRestricted=false 10-02 16:56:59.472 28292-28565/com.example.notificationtest I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 10-02 16:56:59.472 28292-28565/com.example.notificationtest I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 10-02 16:56:59.473 28292-28565/com.example.notificationtest I/iGraphics: [0020080c] pn: com.example.notificationtest, p: 28292 10-02 16:56:59.473 28292-28565/com.example.notificationtest I/iGraphics: [0030080c] no spt app: com.example.notificationtest 10-02 16:56:59.473 28292-28565/com.example.notificationtest I/OpenGLRenderer: Initialized EGL, version 1.4, mEglDisplay 0x1 10-02 16:56:59.473 28292-28565/com.example.notificationtest D/OpenGLRenderer: Swap behavior 2 10-02 16:56:59.487 28292-28565/com.example.notificationtest D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 10-02 16:56:59.562 28292-28292/com.example.notificationtest I/ViewRootImpl: jank_removeInvalidNode jank list is null 10-02 16:56:59.563 28292-28292/com.example.notificationtest W/InputMethodManager: startInputReason = 1 10-02 16:56:59.577 28292-28292/com.example.notificationtest W/InputMethodManager: startInputReason = 5 10-02 16:57:01.919 28292-28324/com.example.notificationtest I/otificationtes: Waiting for a blocking GC ProfileSaver 10-02 16:57:02.132 28292-28334/com.example.notificationtest W/ServiceManager: Service huawei.android.security.IAppBehaviorDataAnalyzer didn't start. Returning NULL 10-02 16:57:02.132 28292-28334/com.example.notificationtest E/[HOTFIX]: [ThreadDexHotfixMonitor]Bind hotfix monitor service fail! 10-02 16:57:04.162 28292-28292/com.example.notificationtest D/AwareBitmapCacher: handleInit switch not opened pid=28292 10-02 16:57:06.948 28292-28292/com.example.notificationtest W/Settings: Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global. 10-02 16:57:07.006 28292-28292/com.example.notificationtest I/ViewRootImpl: jank_removeInvalidNode all the node in jank list is out of time 10-02 16:57:07.099 28292-28292/com.example.notificationtest D/HwGalleryCacheManagerImpl: mIsEffect:false 10-02 16:57:15.230 28292-28292/com.example.notificationtest I/ViewRootImpl: jank_removeInvalidNode all the node in jank list is out of time 10-02 16:57:18.678 28292-28324/com.example.notificationtest I/otificationtes: Starting profile saver IsSaveProfileNow end. 10-02 16:57:18.698 28292-28292/com.example.notificationtest I/ViewRootImpl: jank_removeInvalidNode all the node in jank list is out of time
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 free -m 其中:m表示兆,也可以用g,注意都要小写 Men:表示物理内存统计 total:表示物理内存总数(total=used+free) use...
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入 假设现有4个人...
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发...
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 演示地点演示 html代码如下` music 这个年纪 七月的风 音乐 ` 然后就是css`*{ margin: 0; padding: 0; text-decoration: none; list-...
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。
数据库优化 - SQL优化
以实际SQL入手,带你一步一步走上SQL优化之路!
通俗易懂地给女朋友讲:线程池的内部原理
餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”
经典算法(5)杨辉三角
杨辉三角 是经典算法,这篇博客对它的算法思想进行了讲解,并有完整的代码实现。
使用 Docker 部署 Spring Boot 项目
Docker 技术发展为微服务落地提供了更加便利的环境,使用 Docker 部署 Spring Boot 其实非常简单,这篇文章我们就来简单学习下。首先构建一个简单的 S...
英特尔不为人知的 B 面
从 PC 时代至今,众人只知在 CPU、GPU、XPU、制程、工艺等战场中,英特尔在与同行硬件芯片制造商们的竞争中杀出重围,且在不断的成长进化中,成为全球知名的半导体公司。殊不知,在「刚硬」的背后,英特尔「柔性」的软件早已经做到了全方位的支持与支撑,并持续发挥独特的生态价值,推动产业合作共赢。 而对于这一不知人知的 B 面,很多人将其称之为英特尔隐形的翅膀,虽低调,但是影响力却不容小觑。 那么,在...
面试官:你连RESTful都不知道我怎么敢要你?
干货,2019 RESTful最贱实践
刷了几千道算法题,这些我私藏的刷题网站都在这里了!
遥想当年,机缘巧合入了 ACM 的坑,周边巨擘林立,从此过上了"天天被虐似死狗"的生活… 然而我是谁,我可是死狗中的战斗鸡,智力不够那刷题来凑,开始了夜以继日哼哧哼哧刷题的日子,从此"读题与提交齐飞, AC 与 WA 一色 ",我惊喜的发现被题虐既刺激又有快感,那一刻我泪流满面。这么好的事儿作为一个正直的人绝不能自己独享,经过激烈的颅内斗争,我决定把我私藏的十几个 T 的,阿不,十几个刷题网...
白话阿里巴巴Java开发手册高级篇
不久前,阿里巴巴发布了《阿里巴巴Java开发手册》,总结了阿里巴巴内部实际项目开发过程中开发人员应该遵守的研发流程规范,这些流程规范在一定程度上能够保证最终的项目交付质量,通过在时间中总结模式,并推广给广大开发人员,来避免研发人员在实践中容易犯的错误,确保最终在大规模协作的项目中达成既定目标。 无独有偶,笔者去年在公司里负责升级和制定研发流程、设计模板、设计标准、代码标准等规范,并在实际工作中进行...
SQL-小白最佳入门sql查询一
不要偷偷的查询我的个人资料,即使你再喜欢我,也不要这样,真的不好;
redis分布式锁,面试官请随便问,我都会
文章有点长并且绕,先来个图片缓冲下! 前言 现在的业务场景越来越复杂,使用的架构也就越来越复杂,分布式、高并发已经是业务要求的常态。像腾讯系的不少服务,还有CDN优化、异地多备份等处理。 说到分布式,就必然涉及到分布式锁的概念,如何保证不同机器不同线程的分布式锁同步呢? 实现要点 互斥性,同一时刻,智能有一个客户端持有锁。 防止死锁发生,如果持有锁的客户端崩溃没有主动释放锁,也要保证锁可以正常释...
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // doshom...
Nginx 原理和架构
Nginx 是一个免费的,开源的,高性能的 HTTP 服务器和反向代理,以及 IMAP / POP3 代理服务器。Nginx 以其高性能,稳定性,丰富的功能,简单的配置和低资源消耗而闻名。 Nginx 的整体架构 Nginx 里有一个 master 进程和多个 worker 进程。master 进程并不处理网络请求,主要负责调度工作进程:加载配置、启动工作进程及非停升级。worker 进程负责处...
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,...
程序员:我终于知道post和get的区别
是一个老生常谈的话题,然而随着不断的学习,对于以前的认识有很多误区,所以还是需要不断地总结的,学而时习之,不亦说乎
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU...
加快推动区块链技术和产业创新发展,2019可信区块链峰会在京召开
11月8日,由中国信息通信研究院、中国通信标准化协会、中国互联网协会、可信区块链推进计划联合主办,科技行者协办的2019可信区块链峰会将在北京悠唐皇冠假日酒店开幕。   区块链技术被认为是继蒸汽机、电力、互联网之后,下一代颠覆性的核心技术。如果说蒸汽机释放了人类的生产力,电力解决了人类基本的生活需求,互联网彻底改变了信息传递的方式,区块链作为构造信任的技术有重要的价值。   1...
Java世界最常用的工具类库
Apache Commons Apache Commons有很多子项目 Google Guava 参考博客
程序员把地府后台管理系统做出来了,还有3.0版本!12月7号最新消息:已在开发中有github地址
第一幕:缘起 听说阎王爷要做个生死簿后台管理系统,我们派去了一个程序员…… 996程序员做的梦: 第一场:团队招募 为了应对地府管理危机,阎王打算找“人”开发一套地府后台管理系统,于是就在地府总经办群中发了项目需求。 话说还是中国电信的信号好,地府都是满格,哈哈!!! 经常会有外行朋友问:看某网站做的不错,功能也简单,你帮忙做一下? 而这次,面对这样的需求,这个程序员...
网易云6亿用户音乐推荐算法
网易云音乐是音乐爱好者的集聚地,云音乐推荐系统致力于通过 AI 算法的落地,实现用户千人千面的个性化推荐,为用户带来不一样的听歌体验。 本次分享重点介绍 AI 算法在音乐推荐中的应用实践,以及在算法落地过程中遇到的挑战和解决方案。 将从如下两个部分展开: AI算法在音乐推荐中的应用 音乐场景下的 AI 思考 从 2013 年 4 月正式上线至今,网易云音乐平台持续提供着:乐屏社区、UGC...
【技巧总结】位运算装逼指南
位算法的效率有多快我就不说,不信你可以去用 10 亿个数据模拟一下,今天给大家讲一讲位运算的一些经典例子。不过,最重要的不是看懂了这些例子就好,而是要在以后多去运用位运算这些技巧,当然,采用位运算,也是可以装逼的,不信,你往下看。我会从最简单的讲起,一道比一道难度递增,不过居然是讲技巧,那么也不会太难,相信你分分钟看懂。 判断奇偶数 判断一个数是基于还是偶数,相信很多人都做过,一般的做法的代码如下...
为什么要学数据结构?
一、前言 在可视化化程序设计的今天,借助于集成开发环境可以很快地生成程序,程序设计不再是计算机专业人员的专利。很多人认为,只要掌握几种开发工具就可以成为编程高手,其实,这是一种误解。要想成为一个专业的开发人员,至少需要以下三个条件: 1) 能够熟练地选择和设计各种数据结构和算法 2) 至少要能够熟练地掌握一门程序设计语言 3) 熟知所涉及的相关应用领域的知识 其中,后两个条件比较容易实现,而第一个...
Android 9.0 init 启动流程
阅读五分钟,每日十点,和您一起终身学习,这里是程序员Android本篇文章主要介绍Android开发中的部分知识点,通过阅读本篇文章,您将收获以下内容:一、启动流程概述一、 启动流程概述Android启动流程跟Linux启动类似,大致分为如下五个阶段。1.开机上电,加载固化的ROM。2.加载BootLoader,拉起Android OS。3.加载Uboot,初始外设,引导Kernel启动等。...
相关热词 c#中dns类 c#合并的excel c# implicit c#怎么保留3个小数点 c# 串口通信、 网络调试助手c# c# 泛型比较大小 c#解压分卷问题 c#启动居中 c# 逻辑或运算符
立即提问