No resource identifier found for attribute 'appComponentFactory' in package 'android'
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: https://github.com/mozilla-tw/Rocket/pull/1970
That attribute was added in Android P. core-ktx 1.0.0 depends on core 1.0.0 which requires compilation with Android P.
same error here... how to fix this?
Any news on this?
I have the same errors in my logs.
That attribute was added in Android P. core-ktx 1.0.0 depends on core 1.0.0 which requires compilation with Android P.
Thanks for your answer! that means need install Android P sdk ?
@JakeWharton So what can i do about it? I use Cocoon for compiling. Do i need some plugin or what?
Sounds like you need to consult their documentation or support.
On Sun, Jun 10, 2018, 11:51 AM djjterror [email protected] wrote:
@JakeWharton https://github.com/JakeWharton So what can i do about it? I use Cocoon for compiling. Do i need some plugin or what?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/android/android-ktx/issues/551#issuecomment-396059638, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEEEXv6KslWqc9fxLcjXLZafDm7_Rh4ks5t7UCIgaJpZM4UIsJX .
try this code
cordova plugin add cordova-android-support-gradle-release --variable ANDROID_SUPPORT_VERSION=27.+
@mykelsofty solution worked for me. Seems related to :mergeDebugResources?
@mykelsofty best answer! work fine for me! tks alot
@mykelsofty worked for me as well, thanks!
Below solved the same issue. Try installing android p sdk and change compileSdkVersion value to 28
@mykelsofty Thank´s, i've lost 1 day shearching this solution.
@mykelsofty It's really helpful, thank's!
best answer! work fine for me! tks alot
@mykelsofty Thank you very much!!
@mykelsofty Where is this code written?
Where to add this code
@mykelsofty Thanks! You save my day!