-
Notifications
You must be signed in to change notification settings - Fork 350
plugin produces compile error #227
Comments
Having the exact same problem building with cordova locally. Removing the plugin fixes my issue, but I need the plugin. /path/to/platforms/android/build/intermediates/manifests/full/armv7/release/AndroidManifest.xml:57: AAPT: No resource identifier found for attribute 'appComponentFactory' in package 'android' /path/to/platforms/android/build/intermediates/manifests/full/armv7/release/AndroidManifest.xml:57: error: No resource identifier found for attribute 'appComponentFactory' in package 'android' FAILURE: Build failed with an exception.
|
I hava the same problem,All my projects have been affected. |
Same problem building with PhoneGap cli-6.5.2. Setting PhoneGap cli back to 6.0.0 fixed the problem. |
I don't feel like that's a fix. I don't even use PhoneGap cli. The real temp fix is somewhere in here You make a build-extras.gradle file and you try and figure out which library version you need. Good luck. EDIT: The comment from jetma worked from me. |
As pointed out by @Scuttman in #205, this is caused when building with Android Support Library v28. To avoid needing to manually create a
|
@dpa99c this method works for me, thank you dude u save me |
@dpa99c this method works for me and thank you so much. |
I feel like installing a plugin to fix a bug is a bit like killing a mosquito with a hammer. Is this really the correct solution? |
@Moghul There's plugins and there's Plugins... This "plugin" is just Gradle config which is deployed by a nodejs script fired by Cordova. It's a generic solution to a problem which is inherently caused by the fact that cordova-android doesn't provide a mechanism by which you can take fine-grain control of Gradle dependency versions. The "correct" solution would be to add such a mechanism to the cordova-android platform. |
That worked for me! Thanks @dpa99c !! |
@dpa99c thanks man , that worked for me ! , thanks |
@dpa99c thanks man |
@dpa99c thank you very much! |
I used cocoon and phonegap
both give following compile error:
No resource identifier found for attribute 'appComponentFactory' in package 'android'
com.android.ide.common.process.ProcessException: Failed to execute aapt
then i removed cordova-plugin-crosswalk-webview plugin and compile worked
So what now?
The text was updated successfully, but these errors were encountered: