百度定位SDK出错:unable to resolve static field 155 (SUPPORTED_ABIS) in Landroid/os/Build
2017-05-25 11:48
393 查看
问题:
W/DeviceId: galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy
05-25 11:27:16.888 416-450:remote W/dalvikvm: VFY: unable to resolve static field 155 (SUPPORTED_ABIS) in Landroid/os/Build;
描述:
之前项目里已经导入了SDK使用也问题,但是近期需要修改项目的某些模块,才发现,定位一直无法成功,google了许多,也按照网上的说法同时加入armeabi 和 armeabi-v7a这两个文件夹,但是也无法解决。
最后找到原因是:因为我近期换过开发环境,因此android 默认的开发板的签名改变了,导致应用的安全码不对。
最后本人在命令行下找到debug版的SHA1,(CMD下找SHA1的方法:见下)进入百度开放平台下的“我的应用”下修改了开发版SHA1,最后完美的解决了。
CMD下找android 默认的 签名的SHA1:
第一步:进入CMD命令行
第二步:定位到.android文件夹下,输入cd .android
第三步:输入keytool -list -v -keystore debug.keystore,密钥口令是android
到这里就可以获取到android默认的SHA1啦!
W/DeviceId: galaxy lib host missing meta-data,make sure you know the right way to integrate galaxy
05-25 11:27:16.888 416-450:remote W/dalvikvm: VFY: unable to resolve static field 155 (SUPPORTED_ABIS) in Landroid/os/Build;
描述:
之前项目里已经导入了SDK使用也问题,但是近期需要修改项目的某些模块,才发现,定位一直无法成功,google了许多,也按照网上的说法同时加入armeabi 和 armeabi-v7a这两个文件夹,但是也无法解决。
最后找到原因是:因为我近期换过开发环境,因此android 默认的开发板的签名改变了,导致应用的安全码不对。
最后本人在命令行下找到debug版的SHA1,(CMD下找SHA1的方法:见下)进入百度开放平台下的“我的应用”下修改了开发版SHA1,最后完美的解决了。
CMD下找android 默认的 签名的SHA1:
第一步:进入CMD命令行
第二步:定位到.android文件夹下,输入cd .android
第三步:输入keytool -list -v -keystore debug.keystore,密钥口令是android
到这里就可以获取到android默认的SHA1啦!
相关文章推荐
- 新浪微博SDK引用时出现NoClassDefFoundError和VFY: unable to resolve static field 867....R$style错误
- Andriod-出错之Unable to build: the file dx.jar was not loaded from the SDK folder!
- 消除运行时的“VFY: unable to resolve static field”错误
- 运行时的“VFY: unable to resolve static field”错误
- android 打包出错 Unable to build:the file dx.jar was not loaded from the SDK folder
- [iphone]Pattern colors are not supported by the iPhone SDK for iPhone OS versions prior to 3.0 解决
- 安装Adobe Flash CS5出错的解决办法(Exit Code: 7 ERROR: Unable to get root from inChildPath)
- Unable to build: the file dx.jar was not loaded from the SDK folder
- Unable to build: the file dx.jar was not loaded from the SDK folder!
- android 项目导包出错(Unable to resolve target 'android-8')
- Unable to build: the file dx.jar was not loaded from the SDK folder! 问题的缺失文件
- [转]Unable to build: the file dx.jar was not loaded from the SDK folder!
- Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
- 安装Adobe Flash CS5出错的解决办法(Exit Code: 7 ERROR: Unable to get root from inChildPath)
- Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
- 解决SDK更新后项目工程Unable to resolve target 'android-**'问题
- delphi 2007 安装出错 unable to load plug-in library.
- Unable to find the report in the manifest resources. Please build the project, and try again.
- Android4.x引用第三方jar发生java.lang.NoClassDefFoundError and VFY: unable to resolve static method
- Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!