Tag Archives:

The remote host of xftp connection reported an error “no matching outgoing encryption algorithm found”

Problem: the remote host of xftp connection reported an error “no matching outgoing encryption algorithm found”

Reason: the SSH login local terminal caches the relevant security confirmation information. After the remote SSH service is upgraded, the corresponding encryption algorithms are upgraded and modified, but the local cached security information is not updated, resulting in the inability to log in normally.

Solution: select one of aes192 CTR aes128 CTR aes256 CTR. As shown in the figure:

Npapi and ppapi problems of “application / x-vlc-plugin not supported”

How did “people you might know” find you on social software>>>

Recently, we have done a front-end project. The project needs to refer to VLC browser plug-in. JavaScript has no problem in ie, Firefox and other browsers, but the plug-in cannot be supported in Chrome (Google) browser

Problems were found after constantly changing chrome versions. VLC plug-ins are only supported before version 41. Later, we found that this is the problem of npapi and ppapi

To put it simply, the npapi plug-in interface was first developed for netscape browsers, and later became a plug-in standard supported by other browsers. The floating windows downloaded by Alibaba Wangwang and Baidu cloud are also developed according to npapi. Compared with npapi, ppapi is a new standard to be supported by chrome

Why change API?What they say is that: (npapi) has performance, hang, complexity, security and other issues. In addition, not supporting mobile devices is also the main reason for its elimination

Another bad news:

Mozilla has planned to stop supporting npapi plug-ins from December this year. Chad Weiner, director of product management at Mozilla, said that a powerful and open web should run anywhere without any special purpose plug-ins. That means that after December 2015, browsers such as Firefox will not be able to support npapi plug-ins. Of course, there are still some ways to join the white list

Let’s talk about the process of Chrome browser supporting VLC (similar to other npapi plug-ins):

View browser version

browser “help and introduction” – & gt“ About

2. According to different versions, follow the steps below

Chrome before 41:

Directly in the address bar chrome://plugins/ Find the corresponding plug-in, check “always allow” and restart the browser

     

42-45 version of chrome:

Address bar input: chrome://flags/ , as shown in the figure below, click “enable” npapi plug-in

      

Then enter in the address bar: chrome://plugins/ Find the corresponding plug-in, check “always allow” and restart the browser

      

Of course, after the restart, he will still pop up a warm hint of schadenfreude: “this plug-in will not support it soon.”. But it does not affect the use

46 – later versions of chrome:

Change the browser version. After September 2015, they only support ppapi

First, uninstall chrome and open the control panel – > Unload

Then select “delete your browsing data at the same time” (the lower version of chrome can’t read the data format of the higher version, so be sure to select it), click uninstall, and then install the lower version of chrome

        

3、 Of course, there is also a temporary way. If you don’t uninstall version 46, you can download the green version of chrome

Download address: http://www.portablesoft.org/google-chrome-legacy-versions/ To the folder, click the executable file directly. Repeat the above configuration

Reference website:

http://www.oschina.net/news/49375/firefox-plan-to-stop-npapi-plugins

http://www.linuxidc.com/Linux/2015-04/116342.htm

http://www.cnbeta.com/articles/253889.htm

http://bbs.kafan.cn/thread-1631975-1-1.html

“Cannot resolve symbol R” in Android studio

Front end developers must read! Starting from scratch, teach you to build a low code website platform in stages>>>

Question:

Want to improve this post?

Want to improve this article

Provide detailed answers to this question, including citations and an explanation of why your answer is correct.

Provide a detailed answer to this question, including the citation and an explanation of why the answer is correct

Answers without enough detail may be edited or deleted.

Answers that are not detailed enough may be edited or deleted

in every instance in all of my classes where I reference r.id.something , the R is in red and it says “cannot resolve symbol R. in all instances of all classes that I refer to r.id.something , the R is in red and displays” cannot resolve symbol R “ Also every time there is R.layout.something it is underlined in red and says “cannot resolve method setContentView(?)”. similarly, every time there is r.layout.something it will use a red underline to indicate “unable to parse method setcontentview (?)” The project always builds fine It’s annoying to see this all the time I have read many other questions on here about something similar but most involved importing projects from eclipse. I have read many other questions here, which are related to similar but most involved importing projects from eclipse I am using what I believe to be the most recent version of Android studio and the project was created with Android studio and worked without any “cannot resolve R” problems. I am using what I think is the latest version of Android studio, and the project was created with Android studio, And it can work normally without any “unsolvable R” problem I would like to know what causes this if anyone knows


Solution:

reference 1:

https://stackoom.com/question/19YWW/Android-Studio In – the symbol r cannot be resolved

Reference 2:

https://oldbug.net/q/19YWW/cannot-resolve-symbol-R-in-Android-Studio

This paper solves the problem that the program published by QT prompts “unable to locate the program input point k32getmodulefilenameexa on the dynamic link library Kernel32. DLL” in XP environment

When developing with QT, there is no big problem when calling system API function in win7 and above systems. In XP, the phenomenon of Title Description appears, which makes it impossible to start the program. The solutions on the Internet are as follows:

Here I want to discuss some unfriendly errors in WinSDK v7.0. If you are a developer and are currently using WinSDK v7.0, which is included in the VS2010 compiler, when you execute a program, you can, You may encounter such an error prompt: the procedure entry point k32 * * could not be located in the dynamic link library Kernel32. DLL
the Chinese version is: unable to locate the program input point k32enumprocessmodules on the dynamic link library Kernel32. DLL. This kind of error prompt usually appears on the system other than Windows 7 or Windows Server 2008 R2

next, I’ll explain why such mistakes occur. Because of some performance problems, on Windows 7 and Windows Server 2008 R2 systems, Microsoft moved some API functions from psapi.dll to kernel32.dll dynamic library, and dealt with them on the version v7.0 of WinSDK that comes with VS2010 compiler. This design has no problem in Windows 7 and Windows Server 2008 R2 systems, but if you run the program compiled by VS2010 on the system before win7, you will definitely encounter the error just mentioned. Because the old system’s kernel32.dll does not have those functions that have been transplanted in the past, it will certainly fail to execute

the affected functions are as follows:

//Snapshot from Psapi.lib – WinSDK V7.0*

#if (PSAPI_ VERSION > 1)

#define EnumProcesses K32EnumProcesses

#define EnumProcessModules K32EnumProcessModules

#define EnumProcessModulesEx K32EnumProcessModulesEx

#define GetModuleBaseNameA K32GetModuleBaseNameA

#define GetModuleBaseNameW K32GetModuleBaseNameW

#define GetModuleFileNameExA K32GetModuleFileNameExA

#define GetModuleFileNameExW K32GetModuleFileNameExW

#define GetModuleInformation K32GetModuleInformation

#define EmptyWorkingSet K32EmptyWorkingSet

#define QueryWorkingSet K32QueryWorkingSet

#define QueryWorkingSetEx K32QueryWorkingSetEx

#define InitializeProcessForWsWatch K32InitializeProcessForWsWatch

#define GetWsChanges K32GetWsChanges

#define GetWsChangesEx K32GetWsChangesEx

#define GetMappedFileNameW K32GetMappedFileNameW

#define GetMappedFileNameA K32GetMappedFileNameA

#define EnumDeviceDrivers K32EnumDeviceDrivers

#define GetDeviceDriverBaseNameA K32GetDeviceDriverBaseNameA

#define GetDeviceDriverBaseNameW K32GetDeviceDriverBaseNameW

#define GetDeviceDriverFileNameA K32GetDeviceDriverFileNameA

#define GetDeviceDriverFileNameW K32GetDeviceDriverFileNameW

#define GetProcessMemoryInfo K32GetProcessMemoryInfo

#define GetPerformanceInfo K32GetPerformanceInfo

#define EnumPageFilesW K32EnumPageFilesW

#define EnumPageFilesA K32EnumPageFilesA

#define GetProcessImageFileNameA K32GetProcessImageFileNameA

#define GetProcessImageFileNameW K32GetProcessImageFileNameW

#endif

Copy code

Through the above explanation, you should understand why there is such a mistake, right?In general, I know how to correct this mistake. I don’t know if you have noticed that there is a conditional judgment # if (psapi)_ VERSION > 1) That is to say, only when psapi_ Version is defined as a value greater than 1, so the solution is to use psapi_ Version is defined as a value less than or equal to 1, as follows:

To add “include & lt; Psapi.h> Above

#ifndef PSAPI_ VERSION
#define PSAPI_ VERSION 1
#endif

#include < Tlhelp32.h>
#include < Psapi.h>
#pragma comment(lib, “Psapi.lib”)

At this point, the problem can be solved. Pay attention to the red font part. At the beginning, only the upper part is added. Compile the exception directly, and add the red part of the next line. Just started to set foot in QT, encountered problems can be solved online, the problem listed for their own reference