对于Mesonversionis0.44.1butprojectrequires>=0.45.感兴趣的读者,本文将会是一篇不错的选择,并为您提供关于Anapplicationisattemptingt
对于Meson version is 0.44.1 but project requires >=0.45.感兴趣的读者,本文将会是一篇不错的选择,并为您提供关于An application is attempting to perform an action that requires privileges. Authentication is requir、Android Wear错误ConnectionResult {statusCode = SERVICE_VERSION_UPDATE_REQUIRED,resolution = null}、Cannot detect Web Project version. Please specify version of Web Project through
- Meson version is 0.44.1 but project requires >=0.45.
- An application is attempting to perform an action that requires privileges. Authentication is requir
- Android Wear错误ConnectionResult {statusCode = SERVICE_VERSION_UPDATE_REQUIRED,resolution = null}
- Cannot detect Web Project version. Please specify version of Web Project through
configura - centos解决Could not find a version that satisfies the requirement pip3 (from versions: none)及No mat...
Meson version is 0.44.1 but project requires >=0.45.
/*******************************************************************************
* Meson version is 0.44.1 but project requires >=0.45.
* 说明:
* Yocto编译突然出现Meson编译出现版本问题;
*
* 2019-11-19 深圳 宝安西乡 曾剑锋
******************************************************************************/
一、出错现象:
Meson encountered an error in file meson.build, line 1, column 0:
Meson version is 0.44.1 but project requires >=0.45.
二、问题原因:
1. https://github.com/vkmark/vkmark/blob/master/meson.build#L6
2. 同步了Yocto的Source代码,然后更新了最新的vkmark,但是meson的版本还是之前的0.44.1版本的;
三、处理方法:
1. 修改tmp/work/aarch64-poky-linux/vkmark/1.0-r0/git/meson.build文件对应的版本小于0.44.1就行了:
project(
''vkmark'',
''cpp'',
default_options : [''cpp_std=c++14''],
version : ''2017.08'',
meson_version: ''>=0.41''
)
An application is attempting to perform an action that requires privileges. Authentication is requir
An application is attempting to perform an action that requires privileges. Authentication is required to perform this action.
resolve : sudo command...
Android Wear错误ConnectionResult {statusCode = SERVICE_VERSION_UPDATE_REQUIRED,resolution = null}
onConnectionFailed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_required,resolution=null}
掌上电脑的播放服务是最新的
我已经添加
compile 'com.google.android.gms:play-services:7.3.0'
对于两者,手持设备,作为磨损build.gradle.
可穿戴活动:
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); final WatchViewStub stub = (WatchViewStub) findViewById(R.id.watch_view_stub); stub.setonLayoutInflatedListener(new WatchViewStub.OnLayoutInflatedListener() { @Override public void onLayoutInflated(WatchViewStub stub) { mTextView = (TextView) stub.findViewById(R.id.text); } }); int result = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this); Log.i(TAG,"Services available: "+ result); mGoogleapiclient = new Googleapiclient.Builder(this) .addConnectionCallbacks(new Googleapiclient.ConnectionCallbacks() { @Override public void onConnected(Bundle connectionHint) { Log.d(TAG,"onConnected: " + connectionHint); // Now you can use the Data Layer API } @Override public void onConnectionSuspended(int cause) { Log.d(TAG,"onConnectionSuspended: " + cause); } }) .addOnConnectionFailedListener(new Googleapiclient.OnConnectionFailedListener() { @Override public void onConnectionFailed(ConnectionResult result) { Log.d(TAG,"onConnectionFailed: " + result); } }) // Request access only to the Wearable API .addApi(Wearable.API) .build(); } @Override protected void onStart() { super.onStart(); Log.i(TAG,"==OnStart==="); mGoogleapiclient.connect(); }
我做过研究,但找不到任何有效的解决方案.
解决方法
在穿戴中总是抛出错误:
ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_required,resolution=null
Google Play services out of date. Requires 7327000 but found 6774534
我发现可穿戴和手持式Google Play服务可能没有同步,我不知道为什么.
因此,请检查可穿戴的Google Play服务版本
设置 – >关于 – >软件版本
并重新同步应用程序
启动Android Wear应用 – >点击齿轮图标 – >选择您的设备 – >重新同步应用
等待3-5分钟,检查可穿戴的Google Play服务版本.
同步完成后,也许您可以使用它.
希望你能理解我破碎的英语.
Cannot detect Web Project version. Please specify version of Web Project through configura
编号 |
006 |
错误、问题类型 |
java开发-Maven |
描述 |
创建maven web项目时pom.xml文件报异常:Cannot detect Web Project version. Please specify version of Web Project through <version> configuration property of war |
解决方案 |
web项目的打包类型为war,因此需添加一个war的打包插件: <plugin> <artifactId>maven-war-plugin</artifactId> <version>2.4</version> <configuration> <version>3.0</version> </configuration> </plugin> |
是否解决 |
是 |
centos解决Could not find a version that satisfies the requirement pip3 (from versions: none)及No mat...
python环境:python 3.8
报错信息:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting pip3
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ''SSLError("Can''t connect to HTTPS URL because the SSL module is not available.")'': /simple/pip3/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ''SSLError("Can''t connect to HTTPS URL because the SSL module is not available.")'': /simple/pip3/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ''SSLError("Can''t connect to HTTPS URL because the SSL module is not available.")'': /simple/pip3/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ''SSLError("Can''t connect to HTTPS URL because the SSL module is not available.")'': /simple/pip3/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ''SSLError("Can''t connect to HTTPS URL because the SSL module is not available.")'': /simple/pip3/
Could not fetch URL https://pypi.org/simple/pip3/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=''pypi.org'', port=443): Max retries exceeded with url: /simple/pip3/ (Caused by SSLError("Can''t connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement pip3 (from versions: none)
ERROR: No matching distribution found for pip3
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=''pypi.org'', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can''t connect to HTTPS URL because the SSL module is not available.")) - skipping
安装python 3.8的方法:centos安装httprunner方法
执行命令:
#pip install httprunner
报错:使用pip 命令失败,见顶部“报错信息”
解决办法:升级openssl
1、查看openssl版本
# openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013
# cat /etc/issue
CentOS release 6.6 (Final)
Kernel \r on an \m
原因:系统版本centos6.6,其中openssl的版本为OpenSSL 1.0.1e-fips 11 Feb 2013,而python3.8需要的openssl的版本为1.0.2或者1.1.x,需要对openssl进行升级,并重新编译python3.8.0。
注意:yum 安装的openssl 版本都比较低。
2、下载openssl
#wget https://www.openssl.org/source/openssl-1.1.1a.tar.gz
#tar -zxvf openssl-1.1.1a.tar.gz
#cd openssl-1.1.1a
3、编译安装
#./config --prefix=/usr/local/openssl no-zlib #不需要zlib
#make && make install
4、备份原配置
#mv /usr/bin/openssl /usr/bin/openssl.bak
#mv /usr/include/openssl/ /usr/include/openssl.bak
5、新版配置
#ln -s /usr/local/openssl/include/openssl /usr/include/openssl
#ln -s /usr/local/openssl/lib/libssl.so.1.1 /usr/local/lib64/libssl.so
#ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl
6、修改系统配置
1)写入openssl库文件的搜索路径
#echo "/usr/local/openssl/lib" >> /etc/ld.so.conf
2)使修改后的/etc/ld.so.conf生效
#ldconfig -v
7、查看openssl版本
# openssl version
OpenSSL 1.1.1a 20 Nov 2018
8、重新安装python
进入python解压缩文件夹,执行
#./configure --prefix=/usr/local/python3 --with-openssl=/usr/local/openssl
#make
#make install
------------------------------------------------------Tanwheey--------------------------------------------------
爱生活,爱工作。
今天的关于Meson version is 0.44.1 but project requires >=0.45.的分享已经结束,谢谢您的关注,如果想了解更多关于An application is attempting to perform an action that requires privileges. Authentication is requir、Android Wear错误ConnectionResult {statusCode = SERVICE_VERSION_UPDATE_REQUIRED,resolution = null}、Cannot detect Web Project version. Please specify version of Web Project through
本文标签: