You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "shutaozhenzhen (via GitHub)" <gi...@apache.org> on 2023/09/05 08:47:48 UTC
[GitHub] [cordova-android] shutaozhenzhen opened a new issue, #1660: fail on `cordova platform add android`
shutaozhenzhen opened a new issue, #1660:
URL: https://github.com/apache/cordova-android/issues/1660
# Bug Report
## Problem
### What is expected to happen?
### What does actually happen?
```
cordova platform add android
Using cordova-fetch for cordova-android@^10.1.2
Adding android project...
Creating Cordova project for the Android platform:
Path: platforms\android
Package: com.foxdebug.acodefree
Name: Acode
Activity: MainActivity
Android target: android-33
Subproject Path: CordovaLib
Subproject Path: app
Android project created with cordova-android@10.1.2
Installing "admob-plus-cordova" for android
Subproject Path: CordovaLib
Subproject Path: app
Installing "cordova-plugin-consent" for android
Subproject Path: CordovaLib
Subproject Path: app
ENOENT: no such file or directory, open 'C:\Users\user\Documents\workplace\acode编译\Acode\platforms\android\app\src\main\java\org\apache\cordova\file\FileUtils.java'
```
## Information
<!-- Include all relevant information that might help understand and reproduce the problem -->
trying to build [Acode](https://github.com/deadlyjack/Acode) on windows
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
### 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] -->
- [x] I searched for existing GitHub issues
- [ ] I updated all Cordova tooling to most recent version
- [x] 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] breautek commented on issue #1660: fail on `cordova platform add android`
Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek commented on issue #1660:
URL: https://github.com/apache/cordova-android/issues/1660#issuecomment-1713891728
The problem comes from their `before_prepare` hook: https://github.com/deadlyjack/Acode/blob/main/hooks/update-mimetype.js
It can't modify files platform files on before_prepare because `prepare` is what setups those files... They probably want `after_prepare` instead...
This isn't a bug with cordova-android, so I'm closing this issue.
--
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 closed issue #1660: fail on `cordova platform add android`
Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek closed issue #1660: fail on `cordova platform add android`
URL: https://github.com/apache/cordova-android/issues/1660
--
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