This repository was archived by the owner on Nov 14, 2018. It is now read-only.
This repository was archived by the owner on Nov 14, 2018. It is now read-only.
No resource identifier found for attribute 'appComponentFactory' in package 'android' #551
Closed
Description
After adding
implementation "androidx.core:core-ktx:${Versions.kotlin_ktx}"
my build failed with error
No resource identifier found for attribute 'appComponentFactory' in package 'android'
Message{kind=ERROR, text=No resource identifier found for attribute 'appComponentFactory' in package 'android', sources=[/Users/mozilla/Desktop/github/Rocket/app/build/intermediates/manifests/full/focusWebkit/firebase/AndroidManifest.xml:34], original message=, tool name=Optional.of(AAPT)}
Here's my build.gradle file
https://github.com/mozilla-tw/Rocket/blob/master/firebase/build.gradle
Thanks!
More details: mozilla-mobile/FirefoxLite#1970
Activity
JakeWharton commentedon May 22, 2018
That attribute was added in Android P. core-ktx 1.0.0 depends on core 1.0.0 which requires compilation with Android P.
djjterror commentedon Jun 8, 2018
same error here... how to fix this?
kenvernaillenvub commentedon Jun 10, 2018
Any news on this?
YaroslavG commentedon Jun 10, 2018
I have the same errors in my logs.
JakeWharton commentedon Jun 10, 2018
That attribute was added in Android P. core-ktx 1.0.0 depends on core 1.0.0 which requires compilation with Android P.
YaroslavG commentedon Jun 10, 2018
Thanks for your answer! that means need install Android P sdk ?
djjterror commentedon Jun 10, 2018
@JakeWharton
So what can i do about it?
I use Cocoon for compiling.
Do i need some plugin or what?
JakeWharton commentedon Jun 10, 2018
mykelsoft commentedon Jul 5, 2018
try this code
cordova plugin add cordova-android-support-gradle-release --variable ANDROID_SUPPORT_VERSION=27.+
alatella87 commentedon Jul 8, 2018
@mykelsofty solution worked for me. Seems related to :mergeDebugResources?
BrunoGiubilei commentedon Jul 23, 2018
@mykelsofty best answer! work fine for me! tks alot
loonix commentedon Jul 26, 2018
@mykelsofty worked for me as well, thanks!
bishwajeetbiswas commentedon Jul 28, 2018
Below solved the same issue.
Try installing android p sdk and change compileSdkVersion value to 28
Cdvalencia commentedon Sep 20, 2018
@mykelsofty Thank´s, i've lost 1 day shearching this solution.
Garynan52000 commentedon Sep 26, 2018
@mykelsofty It's really helpful, thank's!
angelpatxi commentedon Sep 27, 2018
best answer! work fine for me! tks alot
BrianOjeda commentedon Sep 28, 2018
@mykelsofty Thank you very much!!
zhaofy2323 commentedon Oct 12, 2018
@mykelsofty Where is this code written?
pravinraut809 commentedon Oct 26, 2018
Where to add this code
larryvisuals commentedon Oct 30, 2018
@mykelsofty Thanks! You save my day!