longting opened a new issue #829: cordova build android error
URL: https://github.com/apache/cordova-android/issues/829
 
 
   # Bug Report
   cordova android@^7.1.4   
   corodva 8.1.2  
   
   ## Problem
   execute `cordova build android`  failure 
   
   ### What is expected to happen?
   build is OK. 
   
   ### What does actually happen?
   yesterday is OK.  No plugins added。
   
   
   ## Information
   this is androidx and  android.support conflict. 
   ```
   
:app:processDebugManifestD:\work\myproject\kaixinyunshi\kaiyun-app\platforms\android\app\src\main\AndroidManifest.xml:22:18-91
 Error:
           Attribute application@appComponentFactory 
value=(android.support.v4.app.CoreComponentFactory) from 
[com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
           is also present at [androidx.core:core:1.0.0] 
AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
           Suggestion: add 'tools:replace="android:appComponentFactory"' to 
<application> element at AndroidManifest.xml:5:5-91:19 to override.
   ```
   
   
   ### Command or Code
   `cordova build android` 
   
   
   
   ### Environment, Platform, Device
   Win7
   
   
   
   ### Version information
   cordova android@^7.1.4   
   corodva 8.1.2  
   Win7
   
   
   ## Checklist
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to