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/06/30 15:58:47 UTC
[GitHub] [cordova-android] mosabab opened a new issue, #1454: Error Messages: {Source and destination must not be the same} cordova-android@11.0.0
mosabab opened a new issue, #1454:
URL: https://github.com/apache/cordova-android/issues/1454
# Bug Report
## Problem
### What is expected to happen?
The build should success without any errors.
### What does actually happen?
I try to build from scratch without update.
When try to run cordova platform add adnroid, the following meesage appear:
"Source and destination must not be the same"
## Information
<!-- Include all relevant information that might help understand and reproduce the problem -->
Android 11.0.0
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
cordova platform add https://github.com/apache/cordova-android.git#11.0.0
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you experiencing the issue? -->
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [ ] I searched for existing GitHub issues
- [ ] I updated all Cordova tooling to most recent version
- [ ] I included all the necessary information above
--
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.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
[GitHub] [cordova-android] erisu closed issue #1454: Error Messages: {Source and destination must not be the same} cannot build using cordova-android@11.0.0
Posted by GitBox <gi...@apache.org>.
erisu closed issue #1454: Error Messages: {Source and destination must not be the same} cannot build using cordova-android@11.0.0
URL: https://github.com/apache/cordova-android/issues/1454
--
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
[GitHub] [cordova-android] jamesyoon11 commented on issue #1454: Error Messages: {Source and destination must not be the same} cannot build using cordova-android@11.0.0
Posted by GitBox <gi...@apache.org>.
jamesyoon11 commented on issue #1454:
URL: https://github.com/apache/cordova-android/issues/1454#issuecomment-1172729446
> > @breautek I just want to let you know that this happens to Mac as well.
> > ```
> > Installing "cordova-plugin-firebase" for android
> > Error during processing of action! Attempting to revert...
> > Failed to install 'cordova-plugin-firebase': CordovaError: Uh oh!
> > "/platforms/android/app/src/main/res/values/colors.xml" already exists!
> > at copyNewFile (/node_modules/cordova-android/lib/pluginHandlers.js:231:45)
> > at install (/node_modules/cordova-android/lib/pluginHandlers.js:34:17)
> > at ActionStack.process (/node_modules/cordova-common/src/ActionStack.js:56:25)
> > at PluginManager.doOperation (/node_modules/cordova-common/src/PluginManager.js:112:24)
> > at PluginManager.addPlugin (/node_modules/cordova-common/src/PluginManager.js:142:21)
> > at /node_modules/cordova-android/lib/Api.js:155:78
> > >> Uh oh!
> > >> "/platforms/android/app/src/main/res/values/colors.xml" already exists!
> > ```
>
> This is a completely different issue from what the OP is describing.
@breautek Okay, I see.. So, if a plugin uses a same file name for resource values ([colors.xml, strings.xml, theme.xml](https://github.com/apache/cordova-android/tree/master/templates/project/res/values)), should the plugin need to update to a different name on their end (ex. https://github.com/arnesson/cordova-plugin-firebase/blob/master/plugin.xml#L55)?
--
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
[GitHub] [cordova-android] AndrWeisR commented on issue #1454: Error Messages: {Source and destination must not be the same} cannot build using cordova-android@11.0.0
Posted by GitBox <gi...@apache.org>.
AndrWeisR commented on issue #1454:
URL: https://github.com/apache/cordova-android/issues/1454#issuecomment-1173244836
I get the error in 11.0.1-nightly.2022.7.4.f38e8eb3:
```
copy C:/Build/xxxx/stream-2.4-API31+/platforms/android/app/src/main/java/com/xxxx/app/xxxx/MainActivity.java to C:\Build\xxxx\stream-2.4-API31+\platforms\android\app\src\main\java\com\xxxx\app\xxxx\MainActivity.java
Source and destination must not be the same.
Error: Source and destination must not be the same.
at Object.checkPathsSync (C:\Build\xxxx\stream-2.4-API31+\node_modules\cordova-android\node_modules\fs-extra\lib\util\stat.js:78:13)
at Object.copySync (C:\Build\xxxx\stream-2.4-API31+\node_modules\cordova-android\node_modules\fs-extra\lib\copy\copy-sync.js:27:38)
at updateProjectAccordingTo (C:\Build\xxxx\stream-2.4-API31+\node_modules\cordova-android\lib\prepare.js:314:12)
at C:\Build\xxxx\stream-2.4-API31+\node_modules\cordova-android\lib\prepare.js:67:21
at async Promise.all (index 0)
```
--
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
[GitHub] [cordova-android] AndrWeisR commented on issue #1454: Error Messages: {Source and destination must not be the same} cannot build using cordova-android@11.0.0
Posted by GitBox <gi...@apache.org>.
AndrWeisR commented on issue #1454:
URL: https://github.com/apache/cordova-android/issues/1454#issuecomment-1173344072
> @AndrWeisR Could you try this in your project? as a test to confirm if this works for you...
>
> In `node_modules/cordova-android/lib/prepare.js`
>
> On line [306](https://github.com/apache/cordova-android/blob/11.0.0/lib/prepare.js#L306), you should see this:
>
> ```js
> const destFile = java_files[0];
> ```
>
> Change it to this:
>
> ```js
> const destFile = path.normalize(java_files[0]);
> ```
>
> This should correct the path segment separator to the platform-specific path segment separator...
The fix works - both destFile and newDestFile have '\'.
--
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
[GitHub] [cordova-android] breautek commented on issue #1454: Error Messages: {Source and destination must not be the same} cannot build using cordova-android@11.0.0
Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1454:
URL: https://github.com/apache/cordova-android/issues/1454#issuecomment-1172722878
> @breautek I just want to let you know that this happens to Mac as well.
>
> ```
> Installing "cordova-plugin-firebase" for android
> Error during processing of action! Attempting to revert...
> Failed to install 'cordova-plugin-firebase': CordovaError: Uh oh!
> "/platforms/android/app/src/main/res/values/colors.xml" already exists!
> at copyNewFile (/node_modules/cordova-android/lib/pluginHandlers.js:231:45)
> at install (/node_modules/cordova-android/lib/pluginHandlers.js:34:17)
> at ActionStack.process (/node_modules/cordova-common/src/ActionStack.js:56:25)
> at PluginManager.doOperation (/node_modules/cordova-common/src/PluginManager.js:112:24)
> at PluginManager.addPlugin (/node_modules/cordova-common/src/PluginManager.js:142:21)
> at /node_modules/cordova-android/lib/Api.js:155:78
> >> Uh oh!
> >> "/platforms/android/app/src/main/res/values/colors.xml" already exists!
> ```
This is a completely different issue from what the OP is describing.
--
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
[GitHub] [cordova-android] jamesyoon11 commented on issue #1454: Error Messages: {Source and destination must not be the same} cannot build using cordova-android@11.0.0
Posted by GitBox <gi...@apache.org>.
jamesyoon11 commented on issue #1454:
URL: https://github.com/apache/cordova-android/issues/1454#issuecomment-1172697838
@breautek I just want to let you know that this happens to Mac as well.
```
Installing "cordova-plugin-firebase" for android
Error during processing of action! Attempting to revert...
Failed to install 'cordova-plugin-firebase': CordovaError: Uh oh!
"/platforms/android/app/src/main/res/values/colors.xml" already exists!
at copyNewFile (/node_modules/cordova-android/lib/pluginHandlers.js:231:45)
at install (/node_modules/cordova-android/lib/pluginHandlers.js:34:17)
at ActionStack.process (/node_modules/cordova-common/src/ActionStack.js:56:25)
at PluginManager.doOperation (/node_modules/cordova-common/src/PluginManager.js:112:24)
at PluginManager.addPlugin (/node_modules/cordova-common/src/PluginManager.js:142:21)
at /node_modules/cordova-android/lib/Api.js:155:78
>> Uh oh!
>> "/platforms/android/app/src/main/res/values/colors.xml" already exists!
```
--
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
[GitHub] [cordova-android] mosabab commented on issue #1454: Error Messages: {Source and destination must not be the same} cordova-android@11.0.0
Posted by GitBox <gi...@apache.org>.
mosabab commented on issue #1454:
URL: https://github.com/apache/cordova-android/issues/1454#issuecomment-1171422593
> --verbose
C:\Users\mbkda\Desktop\test>cordova platform add android --verbose
No scripts found for hook "before_platform_add".
No version supplied. Retrieving version from config.xml...
Using cordova-fetch for cordova-android@https://github.com/apache/cordova-android.git#11.0.0
fetch: Installing cordova-android@https://github.com/apache/cordova-android.git#11.0.0 to C:\Users\mbkda\Desktop\test
Running command: npm install cordova-android@https://github.com/apache/cordova-android.git#11.0.0 --save-dev
Command finished with error code 0: npm install,cordova-android@https://github.com/apache/cordova-android.git#11.0.0,--save-dev
Removing "cordova-" prefix from cordova-android
Adding android project...
Loaded API for android project C:\Users\mbkda\Desktop\test\node_modules\cordova-android
Creating Cordova project for the Android platform:
Path: platforms\android
Package: com.maintrip
Name: TripFalcon.com
Activity: MainActivity
Android Target SDK: android-32
Android Compile SDK: 32
Copying android template project to platforms\android
Subproject Path: CordovaLib
Subproject Path: app
Android project created with cordova-android@11.0.0
Loaded API for android project C:\Users\mbkda\Desktop\test\platforms\android\cordova\Api.js
Generating platform-specific config.xml from defaults for android at C:\Users\mbkda\Desktop\test\platforms\android\app\src\main\res\xml\config.xml
Merging project's config.xml into platform-specific android config.xml
[Gradle Properties] Preparing Configuration
[Gradle Properties] File missing, creating file with Cordova defaults.
[Gradle Properties] Appending default configuration properties
[Gradle Properties] Appending configuration item: org.gradle.jvmargs=-Xmx2048m
[Gradle Properties] Appending configuration item: android.useAndroidX=true
[Gradle Properties] Appending configuration item: android.enableJetifier=true
[Gradle Properties] Appending custom configuration properties
[Gradle Properties] Updating and Saving File
Merging and updating files from [www, platforms\android\platform_www] to platforms\android\app\src\main\assets\www
mkdir platforms\android\app\src\main\assets\www\assets
mkdir platforms\android\app\src\main\assets\www\assets\css
copy www\assets\css\fontawesome-all.min.css platforms\android\app\src\main\assets\www\assets\css\fontawesome-all.min.css (new file)
copy www\assets\css\main.css platforms\android\app\src\main\assets\www\assets\css\main.css (new file)
mkdir platforms\android\app\src\main\assets\www\assets\google-fonts
copy www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfABc4EsA.woff2 (new file)
copy www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfBBc4.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfBBc4.woff2 (new file)
copy www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfBxc4EsA.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfBxc4EsA.woff2 (new file)
copy www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfCBc4EsA.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfCBc4EsA.woff2 (new file)
copy www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfCRc4EsA.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfCRc4EsA.woff2 (new file)
copy www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2 (new file)
copy www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfCxc4EsA.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOlCnqEu92Fr1MmWUlfCxc4EsA.woff2 (new file)
copy www\assets\google-fonts\KFOmCnqEu92Fr1Mu4WxKOzY.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOmCnqEu92Fr1Mu4WxKOzY.woff2 (new file)
copy www\assets\google-fonts\KFOmCnqEu92Fr1Mu4mxK.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOmCnqEu92Fr1Mu4mxK.woff2 (new file)
copy www\assets\google-fonts\KFOmCnqEu92Fr1Mu5mxKOzY.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOmCnqEu92Fr1Mu5mxKOzY.woff2 (new file)
copy www\assets\google-fonts\KFOmCnqEu92Fr1Mu72xKOzY.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOmCnqEu92Fr1Mu72xKOzY.woff2 (new file)
copy www\assets\google-fonts\KFOmCnqEu92Fr1Mu7GxKOzY.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOmCnqEu92Fr1Mu7GxKOzY.woff2 (new file)
copy www\assets\google-fonts\KFOmCnqEu92Fr1Mu7WxKOzY.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOmCnqEu92Fr1Mu7WxKOzY.woff2 (new file)
copy www\assets\google-fonts\KFOmCnqEu92Fr1Mu7mxKOzY.woff2 platforms\android\app\src\main\assets\www\assets\google-fonts\KFOmCnqEu92Fr1Mu7mxKOzY.woff2 (new file)
copy www\assets\google-fonts\roboto400700.css platforms\android\app\src\main\assets\www\assets\google-fonts\roboto400700.css (new file)
mkdir platforms\android\app\src\main\assets\www\assets\js
copy www\assets\js\main.js platforms\android\app\src\main\assets\www\assets\js\main.js (new file)
mkdir platforms\android\app\src\main\assets\www\assets\sass
mkdir platforms\android\app\src\main\assets\www\assets\sass\base
copy www\assets\sass\base\_bg.scss platforms\android\app\src\main\assets\www\assets\sass\base\_bg.scss (new file)
copy www\assets\sass\base\_page.scss platforms\android\app\src\main\assets\www\assets\sass\base\_page.scss (new file)
copy www\assets\sass\base\_reset.scss platforms\android\app\src\main\assets\www\assets\sass\base\_reset.scss (new file)
copy www\assets\sass\base\_typography.scss platforms\android\app\src\main\assets\www\assets\sass\base\_typography.scss (new file)
mkdir platforms\android\app\src\main\assets\www\assets\sass\components
copy www\assets\sass\components\_button.scss platforms\android\app\src\main\assets\www\assets\sass\components\_button.scss (new file)
copy www\assets\sass\components\_form.scss platforms\android\app\src\main\assets\www\assets\sass\components\_form.scss (new file)
copy www\assets\sass\components\_icon.scss platforms\android\app\src\main\assets\www\assets\sass\components\_icon.scss (new file)
copy www\assets\sass\components\_icons.scss platforms\android\app\src\main\assets\www\assets\sass\components\_icons.scss (new file)
copy www\assets\sass\components\_list.scss platforms\android\app\src\main\assets\www\assets\sass\components\_list.scss (new file)
copy www\assets\sass\components\_section.scss platforms\android\app\src\main\assets\www\assets\sass\components\_section.scss (new file)
mkdir platforms\android\app\src\main\assets\www\assets\sass\layout
copy www\assets\sass\layout\_footer.scss platforms\android\app\src\main\assets\www\assets\sass\layout\_footer.scss (new file)
copy www\assets\sass\layout\_header.scss platforms\android\app\src\main\assets\www\assets\sass\layout\_header.scss (new file)
copy www\assets\sass\layout\_signup-form.scss platforms\android\app\src\main\assets\www\assets\sass\layout\_signup-form.scss (new file)
mkdir platforms\android\app\src\main\assets\www\assets\sass\libs
copy www\assets\sass\libs\_breakpoints.scss platforms\android\app\src\main\assets\www\assets\sass\libs\_breakpoints.scss (new file)
copy www\assets\sass\libs\_functions.scss platforms\android\app\src\main\assets\www\assets\sass\libs\_functions.scss (new file)
copy www\assets\sass\libs\_mixins.scss platforms\android\app\src\main\assets\www\assets\sass\libs\_mixins.scss (new file)
copy www\assets\sass\libs\_vars.scss platforms\android\app\src\main\assets\www\assets\sass\libs\_vars.scss (new file)
copy www\assets\sass\libs\_vendor.scss platforms\android\app\src\main\assets\www\assets\sass\libs\_vendor.scss (new file)
copy www\assets\sass\main.scss platforms\android\app\src\main\assets\www\assets\sass\main.scss (new file)
mkdir platforms\android\app\src\main\assets\www\assets\tripfalcon-font
mkdir platforms\android\app\src\main\assets\www\assets\tripfalcon-font\fonts
copy www\assets\tripfalcon-font\fonts\icomoon.eot platforms\android\app\src\main\assets\www\assets\tripfalcon-font\fonts\icomoon.eot (new file)
copy www\assets\tripfalcon-font\fonts\icomoon.svg platforms\android\app\src\main\assets\www\assets\tripfalcon-font\fonts\icomoon.svg (new file)
copy www\assets\tripfalcon-font\fonts\icomoon.ttf platforms\android\app\src\main\assets\www\assets\tripfalcon-font\fonts\icomoon.ttf (new file)
copy www\assets\tripfalcon-font\fonts\icomoon.woff platforms\android\app\src\main\assets\www\assets\tripfalcon-font\fonts\icomoon.woff (new file)
copy www\assets\tripfalcon-font\tripfalcon-style.css platforms\android\app\src\main\assets\www\assets\tripfalcon-font\tripfalcon-style.css (new file)
mkdir platforms\android\app\src\main\assets\www\assets\webfonts
copy www\assets\webfonts\fa-brands-400.eot platforms\android\app\src\main\assets\www\assets\webfonts\fa-brands-400.eot (new file)
copy www\assets\webfonts\fa-brands-400.svg platforms\android\app\src\main\assets\www\assets\webfonts\fa-brands-400.svg (new file)
copy www\assets\webfonts\fa-brands-400.ttf platforms\android\app\src\main\assets\www\assets\webfonts\fa-brands-400.ttf (new file)
copy www\assets\webfonts\fa-brands-400.woff platforms\android\app\src\main\assets\www\assets\webfonts\fa-brands-400.woff (new file)
copy www\assets\webfonts\fa-brands-400.woff2 platforms\android\app\src\main\assets\www\assets\webfonts\fa-brands-400.woff2 (new file)
copy www\assets\webfonts\fa-regular-400.eot platforms\android\app\src\main\assets\www\assets\webfonts\fa-regular-400.eot (new file)
copy www\assets\webfonts\fa-regular-400.svg platforms\android\app\src\main\assets\www\assets\webfonts\fa-regular-400.svg (new file)
copy www\assets\webfonts\fa-regular-400.ttf platforms\android\app\src\main\assets\www\assets\webfonts\fa-regular-400.ttf (new file)
copy www\assets\webfonts\fa-regular-400.woff platforms\android\app\src\main\assets\www\assets\webfonts\fa-regular-400.woff (new file)
copy www\assets\webfonts\fa-regular-400.woff2 platforms\android\app\src\main\assets\www\assets\webfonts\fa-regular-400.woff2 (new file)
copy www\assets\webfonts\fa-solid-900.eot platforms\android\app\src\main\assets\www\assets\webfonts\fa-solid-900.eot (new file)
copy www\assets\webfonts\fa-solid-900.svg platforms\android\app\src\main\assets\www\assets\webfonts\fa-solid-900.svg (new file)
copy www\assets\webfonts\fa-solid-900.ttf platforms\android\app\src\main\assets\www\assets\webfonts\fa-solid-900.ttf (new file)
copy www\assets\webfonts\fa-solid-900.woff platforms\android\app\src\main\assets\www\assets\webfonts\fa-solid-900.woff (new file)
copy www\assets\webfonts\fa-solid-900.woff2 platforms\android\app\src\main\assets\www\assets\webfonts\fa-solid-900.woff2 (new file)
copy platforms\android\platform_www\cordova.js platforms\android\app\src\main\assets\www\cordova.js (updated file)
copy www\css\index.css platforms\android\app\src\main\assets\www\css\index.css (updated file)
mkdir platforms\android\app\src\main\assets\www\images
copy www\images\bg01.jpg platforms\android\app\src\main\assets\www\images\bg01.jpg (new file)
copy www\images\bg02.jpg platforms\android\app\src\main\assets\www\images\bg02.jpg (new file)
copy www\images\bg03.jpg platforms\android\app\src\main\assets\www\images\bg03.jpg (new file)
copy www\images\bg04.jpg platforms\android\app\src\main\assets\www\images\bg04.jpg (new file)
mkdir platforms\android\app\src\main\assets\www\images\loader
copy www\images\loader\dots.svg platforms\android\app\src\main\assets\www\images\loader\dots.svg (new file)
copy www\images\loader\flight.svg platforms\android\app\src\main\assets\www\images\loader\flight.svg (new file)
delete platforms\android\app\src\main\assets\www\img\cordova.png (no source)
copy www\img\logo.png platforms\android\app\src\main\assets\www\img\logo.png (updated file)
copy www\index.html platforms\android\app\src\main\assets\www\index.html (updated file)
copy www\js\index.js platforms\android\app\src\main\assets\www\js\index.js (updated file)
copy www\js\jquery.min.js platforms\android\app\src\main\assets\www\js\jquery.min.js (new file)
Wrote out android application name "TripFalcon.com" to C:\Users\mbkda\Desktop\test\platforms\android\app\src\main\res\values\strings.xml
Wrote out Android application SplashScreen Color to C:\Users\mbkda\Desktop\test\platforms\android\app\src\main\res\values\colors.xml
The "AndroidWindowSplashScreenBrandingImage" is undefined. Cordova's default will be used.
Wrote out Android application SplashScreen Icon Color to C:\Users\mbkda\Desktop\test\platforms\android\app\src\main\res\values\colors.xml
Wrote out Android application themes to C:\Users\mbkda\Desktop\test\platforms\android\app\src\main\res\values\themes.xml
copy C:/Users/mbkda/Desktop/test/platforms/android/app/src/main/java/com/maintrip/MainActivity.java to C:\Users\mbkda\Desktop\test\platforms\android\app\src\main\java\com\maintrip\MainActivity.java
Source and destination must not be the same.
Error: Source and destination must not be the same.
at Object.checkPathsSync (C:\Users\mbkda\Desktop\test\node_modules\fs-extra\lib\util\stat.js:78:13)
at Object.copySync (C:\Users\mbkda\Desktop\test\node_modules\fs-extra\lib\copy\copy-sync.js:27:38)
at updateProjectAccordingTo (C:\Users\mbkda\Desktop\test\node_modules\cordova-android\lib\prepare.js:314:12)
at C:\Users\mbkda\Desktop\test\node_modules\cordova-android\lib\prepare.js:67:21
at async Promise.all (index 0)
C:\Users\mbkda\Desktop\test>
--
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
[GitHub] [cordova-android] mosabab commented on issue #1454: Error Messages: {Source and destination must not be the same} cordova-android@11.0.0
Posted by GitBox <gi...@apache.org>.
mosabab commented on issue #1454:
URL: https://github.com/apache/cordova-android/issues/1454#issuecomment-1171436108
> Thanks, seems to potentially be a regression of #1154 (maybe only in windows?). Strange that unit tests wouldn't catch this.
>
> cordova-android@11 is already in the voting stage at this time of writing so I'm going to add this to a 11.0.1 milestone.
Thanks for contribute for this, yes sorry to mentioned that run on Windows 11 Command.
--
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
[GitHub] [cordova-android] erisu commented on issue #1454: Error Messages: {Source and destination must not be the same} cannot build using cordova-android@11.0.0
Posted by GitBox <gi...@apache.org>.
erisu commented on issue #1454:
URL: https://github.com/apache/cordova-android/issues/1454#issuecomment-1173338038
@AndrWeisR Could you try this in your project? as a test to confirm if this works for you...
In `node_modules/cordova-android/lib/prepare.js`
On line [306](https://github.com/apache/cordova-android/blob/11.0.0/lib/prepare.js#L306), you should see this:
```js
const destFile = java_files[0];
```
Change it to this:
```js
const destFile = path.normalize(java_files[0]);
```
This should correct the path segment separator to the platform-specific path segment separator...
--
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
[GitHub] [cordova-android] erisu commented on issue #1454: Error Messages: {Source and destination must not be the same} cannot build using cordova-android@11.0.0
Posted by GitBox <gi...@apache.org>.
erisu commented on issue #1454:
URL: https://github.com/apache/cordova-android/issues/1454#issuecomment-1173353023
Thank you for your quick test and confirmation. @AndrWeisR
As @breautek pointed out in a previous comment:
> cordova-android@11 is already in the voting stage at this time of writing so I'm going to add this to a 11.0.1 milestone.
The voting stage generally lasts 48 hours and requires a 2+1 approval vote to be successful.
It has already been open for over 48 hours and has enough votes to be considered successful.
Since the release itself was not completed and I have not officially closed the vote, I need to decide if I should terminate or continue with the release.
If I continue with the release, I will push the fix as soon after the release for a quick patch release as Norman suggested. But again all releases require the same voting requirements. (48 hours minimum w/ 2+1 approval)
--
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
[GitHub] [cordova-android] breautek commented on issue #1454: Error Messages: {Source and destination must not be the same} cordova-android@11.0.0
Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1454:
URL: https://github.com/apache/cordova-android/issues/1454#issuecomment-1171433422
Thanks, seems to potentially be a regression of https://github.com/apache/cordova-android/pull/1154 (maybe only in windows?). Strange that unit tests wouldn't catch this.
cordova-android@11 is already in the voting stage at this time of writing so I'm going to add this to a 11.0.1 milestone.
--
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
[GitHub] [cordova-android] breautek commented on issue #1454: Error Messages: {Source and destination must not be the same} cordova-android@11.0.0
Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1454:
URL: https://github.com/apache/cordova-android/issues/1454#issuecomment-1171417359
Can you retry the command with the `--verbose` argument and provide the output? It should contain useful stack traces.
--
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