You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/01/07 10:34:17 UTC

[GitHub] [cordova-common] bhandaribhumin edited a comment on issue #151: Unable to graft xml at selector "manifest/uses-sdk"

bhandaribhumin edited a comment on issue #151:
URL: https://github.com/apache/cordova-common/issues/151#issuecomment-1007304495


   @breautek  facing similar issue 
   `Unable to graft xml at selector "/manifest/application/activity[@android:theme='@style/Theme.AppCompat.NoActionBar']" from "/Users/bhuminbhandari/Desktop/projects/app/platforms/android/app/src/main/AndroidManifest.xml" during config install`
   
   First time works but second time when we run `cordova build android` it will show above error.
   
   Script 
    ```
    <edit-config  mode="overwrite"  file="app/src/main/AndroidManifest.xml" target="/manifest/application/activity[@android:theme='@style/Theme.AppCompat.NoActionBar']" >
               <activity android:theme="@style/RemoveSystemSplashScreen"></activity>
           </edit-config>
   ```


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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