关于Android P 开发者预览版首发

193 阅读1分钟
  1. 简单介绍:android p使用WiFi RTT实现室内精确定位,消息通知栏的改进,多摄像头API以及神经网络API 1.1版本,用于NFC支付和安全交易的Open Moblie API等
  2. 随着android p 的发布,com.android.support:support-v4库已经跟新为新版本,从而我们使
    用com.android.support:support-v4:+意味着它将获得最新的版本(28.0.0),这可能使得某些插件不兼容导致错误。

      eg:

In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings

Error:Execution failed for task ':app:processDebugResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt


解决办法:在使用com.android.support:support-v4:+替换成固定版本,例如com.android.support:support-v4:27.1.0