Description
Bug
I am getting the following errors:
ERROR: In FontFamilyFont, unable to find attribute android:font
ERROR: In FontFamilyFont, unable to find attribute android:fontStyle
ERROR: In FontFamilyFont, unable to find attribute android:fontVariationSettings
ERROR: In FontFamilyFont, unable to find attribute android:fontWeight
ERROR: In FontFamilyFont, unable to find attribute android:ttcIndex
ERROR: In GradientColor, unable to find attribute android:endX
ERROR: In GradientColor, unable to find attribute android:endY
ERROR: In GradientColor, unable to find attribute android:startX
ERROR: In GradientColor, unable to find attribute android:startY
ERROR: In GradientColorItem, unable to find attribute android:offset
:react-native-device-info:processReleaseResources FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':react-native-device-info:processReleaseResources'.
com.android.ide.common.process.ProcessException: Failed to execute aapt
Environment info
Environment:
OS: Windows 10
Node: 10.13.0
Yarn: 1.12.3
npm: 6.4.1
Watchman: Not Found
Xcode: N/A
Android Studio: Version 3.2.0.0 AI-181.5540.7.32.5056338
Packages: (wanted => installed)
react: 16.3.2 => 16.3.2
react-native: 0.55.4 => 0.55.4
React native info output:
"react-native-device-info": "^0.21.5",
Activity
javascriptNode commentedon Jun 18, 2019
我也遇到了就是今天
myshowject commentedon Jun 18, 2019
我也遇到这个报错
cheneywan commentedon Jun 18, 2019
The same problem
nandini12396 commentedon Jun 18, 2019
Any solution? Tried using older version also. Blocked completely!
Janain commentedon Jun 18, 2019
版本升级后,项目跑不起来了,sdk之前是26,今天项目跑不起来了 ,是因为androidx库,android.supoort不一致,是这个问题导致的吗,求赐教下????在线等!!急急急
mikehardy commentedon Jun 18, 2019
that's pretty odd - have you guys tried upgrading, we're on 2.1.2 now and the only version listed here is very old. We just pushed a release that limits the play services dependency to a pre-AndroidX version, as that may cause build breaks - 2.1.2 has that. The changes from 0.x.x to 1.x.x and from 1.x.x to 2.x.x are very easy to adapt to, nothing serious from a breaking change perspective
Janain commentedon Jun 18, 2019
After the version is upgraded, the project can't run. The sdk was 26 before. Today, the project can't run. It is because the androidx library and android.supoort are inconsistent. Is this caused by this problem? ? ? ? Online, etc.!
Janain commentedon Jun 18, 2019
You said that you just retired the previous version, but my project still can't run?
dandan6002 commentedon Jun 18, 2019
My project can't run up.
MikePodgorniy commentedon Jun 18, 2019
the very old "react-native-device-info": "0.24.0" is broke too
nandini12396 commentedon Jun 18, 2019
same for me. I tried 2.1.2 as well as the version I was using before. Nothing is working. Tried gradle clean and build also.
Janain commentedon Jun 18, 2019
你是什么问题 ,项目能起来不
myshowject commentedon Jun 18, 2019
the very old"react-native-device-info": "^0.12.0" is broke too
tututututututu commentedon Jun 18, 2019
because compile "com.google.android.gms:play-services-gcm:$googlePlayServicesVersion"
the googlePlayServicesVersion default is use "+" and com.google.android.gms:play-services-gcm update today and bringin androidX
add this code to your project build.gradle
solved
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 18
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
googlePlayServicesVersion="15.0.1"
}
Janain commentedon Jun 18, 2019
那我只想把sdk依赖停留在26,所以这怎么破?
Then I just want to keep the sdk dependency at 26, so how is this broken?
22 remaining items