-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to install 'cordova-plugin-app-preferences': Error: ENOENT: no such file or directory #135
Comments
Having the same issue here, any ideas? |
What is your cordova version? My initial suspicion is that the cordova version is |
@iamjoyce yes version is indeed |
I having the same issue,blow is my ionic info
|
Any news about this issue? |
…th of the resources. Bugfix issue apla#135
Hi. Any news of this ? |
Having the same issue here. How can we get an updated version of the plugin? |
The forked version at https://github.com/vash15/me.apla.cordova.app-preferences fixes the issue. Please merge it in. |
Thanks for the reply, but pretty much of a newbie here. |
:) I'm asking the owner of this repository to merge it in. |
@mapicard to install the patched version use:
|
thanks @unstableair this works |
@jacobg Because of the reverse domain naming convention in the repository name plugman kept giving me 'Could not fetch from registry' errors. This caused trouble when installing from scratch on our CI server. To fix this I've re-hosted your fork here: https://bitbucket.org/packt-internal/cordova-plugin-app-preferences/src/master/ With the same repo-name as the plugin name, that tends to work, if anyone has the same trouble when reinstalling platforms or running
Thanks for sorting out Cordova 7+ support. |
thanks @jamescodesthings |
@jacobg please submit a PR for your fixes |
Same problem for me |
+1 here. Is this project still maintained? I assume @jacobg did PR his fix? |
+1 thanks @jacobg |
Issue is still there: Ionic 3.9, cordova 7.1 had to use @jamescodesthings source to have it working |
This solution was reported on issue: apla#135 . The solution was implemented in this branch: https://github.com/vash15/me.apla.cordova.app-preferences. But as we need to have a solution which contains both cordova 9.0.0 compatibility AND a fix for this error. I'm mergin the two solutions into our own repository
I am able to open the app preferences in IOS via Cordova plugin add https://github.com/myieye/me.apla.cordova.app-preferences but not working in android. Can anyone have a solution for this issue? We are getting an error while clicking on the app preference icon - Class me.apla.cordova.AppPreferencesActivity not found. Please run preference generator. cordova plugin add https://github.com/myieye/me.apla.cordova.app-preferences |
I have the same problem that you report @mayursofbang4 |
Issue: Every time I try to install this plugin, I keep getting these errors. Here is one snippet of what I keep on getting:
Plugin "cordova-plugin-app-preferences" already installed on android. Installing "cordova-plugin-app-preferences" for browser unhandled exception { Error: ENOENT: no such file or directory, open 'platforms/android/src/me/apla/cordova/AppPreferencesActivity.java' errno: -2, code: 'ENOENT', syscall: 'open', path: 'platforms/android/src/me/apla/cordova/AppPreferencesActivity.java' } Failed to install 'cordova-plugin-app-preferences': Error: ENOENT: no such file or directory, open 'platforms/android/src/me/apla/cordova/AppPreferencesActivity.java' (node:8160) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open 'platforms/android/src/me/apla/cordova/AppPreferencesActivity.java' (node:8160) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
After deleting it manually, I try doing a clean install of it:
Installing "cordova-plugin-app-preferences" for android Android Studio project detected unhandled exception { Error: ENOENT: no such file or directory, open 'platforms/android/src/me/apla/cordova/AppPreferencesActivity.java' errno: -2, code: 'ENOENT', syscall: 'open', path: 'platforms/android/src/me/apla/cordova/AppPreferencesActivity.java' } Failed to install 'cordova-plugin-app-preferences': Error: ENOENT: no such file or directory, open 'platforms/android/src/me/apla/cordova/AppPreferencesActivity.java' (node:8196) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open 'platforms/android/src/me/apla/cordova/AppPreferencesActivity.java' (node:8196) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
As you can see, there is no difference of when I try to install this, or reinstall this.
Please specify your environment
Plugin version:
Toolchain:
Platforms affected:
What the scope of your problem:
The text was updated successfully, but these errors were encountered: