ebhsgit commented on issue #1070:
URL: 
https://github.com/apache/cordova-android/issues/1070#issuecomment-714923226


   For others that with similar needs
   
   I was able to build by adding the following to my project's config.xml
   
   ```
           <edit-config file="AndroidManifest.xml" mode="merge" 
target="/manifest">
               <manifest xmlns:tools="http://schemas.android.com/tools"; />
           </edit-config>
           <config-file parent="/manifest" target="AndroidManifest.xml">
               <uses-sdk tools:overrideLibrary="org.apache.cordova" />
           </config-file>
   ```
   
   As noted by @breautek 
   ```
       <edit-config file="AndroidManifest.xml" target="/manifest" mode="merge">
           <manifest xmlns:tools="http://schemas.android.com/tools"; />
       </edit-config>
       <edit-config file="AndroidManifest.xml" target="/manifest/uses-sdk" 
mode="merge">
           <uses-sdk tools:overrideLibrary="<packageThatNeedsToBeOverridden>" />
       </edit-config>
   ```
   
   Results in error
   > Unable to graft xml at selector "/manifest/uses-sdk" from "[project 
path]\platforms\android\app\src\main\AndroidManifest.xml" during config install
   
   


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to