Tag Archives: debug

INSTALL_FAILED_NO_MATCHING_ABIS solution

The reason I saw this exception on the Internet was that I used Native Lib or JNI or something like that, which is just a messy package related to hardware anyway.
For example, I used an image compression package that involved JNI, and then the above exception occurred when I packaged it.
Solutions:
In the moudle build.gradle file of your app, paste the code in, note the android {} curly braces.

// 解决 native libraries 不支持cpu的体系结构。允许模拟器调试
splits {
    abi {
        enable true
        reset()
        include 'x86', 'armeabi-v7a','x86_64'
        universalApk true
    }
}
--------------------- 
作者:geekqian 
来源:CSDN 
原文:https://blog.csdn.net/geekqian/article/details/79032655 
版权声明:本文为博主原创文章,转载请附上博文链接!

This allows you to run directly into the emulator, but when you do this, multiple ApKs will be generated in the package, so comment out the above code when you release and rebuild the project to package. Remember to always rebuild projects!

xrdp_mm_process_login_response:login failed

as an aside:

was puzzled by this problem for more than a minute, baidu search is really not as good as Google search, finally is to use Google search immediately find the right answer suitable for yourself!

problem description:

win10 remote desktop connection to the ubuntu server, as the title of the error message. The network said that the remote desktop was not closed properly, although the Windows system closed the remote desktop connection, but in the Linux process is still running, resulting in the number of connections reached the limit, the problem occurred.

solution:

Xrdp_MM_Process_Login_Response: Login Failed – Solution

let me briefly describe my solution here.

1.ssh UserName@ServerAddress

CMD enter the command line above, where UserName is your UserName on the server, and ServerAddress is the address of your remote computer. It is worth mentioning that if the remote computer address you are connecting to has a port part, there is no need to add the port address under SSH, otherwise an error will be reported. Then type your password to SSH into your remote computer.

2.ps -ef | grep vnc

type the command line above to find a remote desktop application that is not closed on the server (although the full name of VNC is Virtual Network Console) and find the pid# for your username (look for an earlier VNC, if you are careful you will find the most recent VNC that you are using SSH!). .

3.kill -9 pid#

, where pid# is the process number for the corresponding VNC, and kill -9 forces the process to be killed. If a child like me does not know at first what pid# is, the number circled in the figure below is pid#.

execute kill -9 40778 40776, exit SSH and CMD, return to remote desktop connection, finally can log in to the server.

pit:

pit

1. XRDP implements Windows remote desktop connectivity issues by modifying the parameters in the sesman.in file, as mentioned in point 3 of this article. This does not work because the file is read-only and the non-root user cannot chmod it.

2. Remember that SSH +top/ps+kill is also the experience of killing all existing processes about their users when the remote desktop connection interface is stuck and unable to move, and then login to the remote desktop again to solve the problem, because I did not deeply realize that it was related to “VNC”, so this method failed.

3.Ubuntu remote connection error: xrdp_mm_process_login_response: login failed also changes the file content and restarts the XRDP service with sudo, which is obviously something that a non-root user cannot do.

Debugging with chrome Node.js

sharpen the knife not by mistake woodcutters, good tools will let us debug a lot of convenience and fast.

in November 2019, Google Chrome 78 release. Js (which may have been available in earlier versions, but I didn’t)

The

entry is next to the familiar “element selection tool” and “device emulator” in the developer tools:

is also easy to use. Click the button, devtools-node. js will pop up, as shown in the figure below:


can Add connection by Add connection button, and create a new port listening, here I Add localhost:9999 (as shown below). You can also modify and delete existing links.



everything is ready to start debugging. debugger where you need to debug in NodeJs code. Then execute the command node --inspect=port your_script, for example:

node --inspect=9999 message_list

if we run into an error like , inspector on 127.0.0.1:9229 failed: address already in use try changing the port number.

all normal will automatically enter debugging mode:

Pychar error: Error:failed to find libmagic. Check your installation

today, Pycharm reported this error while debugging the program.


use the command
PIP uninstall python-magic
PIP install python-magic-bin==0.4.14

solution 2:
uninstall python-magic
and download the corresponding 64-bit installation package on the official website. WHL
then use the command
PIP install python_magic_bin-0.4.14-py2. Py3-none-win_amd64. WHL
is now python-magic working.

joke, now this kind of domestic solution to the problem of the post is really not good, to stackoverflow, hit the key points…

svn RA layer request failed unable to connect to a repository

SVN RA layer request failed
is unable to connect to a repository

solution:
1, delete AppData\ Subversion\auth folder, or go TortoiseSVN to save data in order to clear authentication data
2, go to eclipse-> preference-> team-> svn-> SVN interface – & gt; Switch to another SVNKit (if you do not have this option refer to the end of the reference file)

reference reading:

eclipse install SVN plug-in the two ways of

https://www.cnblogs.com/alamps/p/6155963.html you will be best subclipse and SVNKit are set on the
subclipse 1.8
subclipse.tigris.org/update_1.8.x

Other reading:

https://stackoverflow.com/questions/8990544/cannot-connect-to-repo-with-tortoisesvn http://bbs.csdn.net/topics/390951109?page=1