Open pascalll922 opened 6 years ago
I am facing same issue . did you solve the problem?
No, downgraded back to Cordova Android 6.4..
Cordova 7 has changed app structure, now AndroidManifest.xml is inside app/src/main/ plugin should be updated to use it with Cordova Android 7.
cordova-android-7 there is a release note here, but i don't know how to do
+1 need this.
+1 please!
any solution
Please! Help US!
Happy to merge a PR as usual.
Here is my for-now solution...
$ln -s /Users/andre/my_project/platforms/android/app/src/main/AndroidManifest.xml /Users/andre/my_project/platforms/android/AndroidManifest.xml
$cordova plugin add https://github.com/Telerik-Verified-Plugins/ImagePicker.git --variable PHOTOLIBRARY_USAGE_DESCRIPTION="Allow the app to access your photos" --variable PHOTO_LIBRARY_USAGE_DESCRIPTION="Allow the app to access your photos"
Creating the symlink did the trick for me. It's works for now...
Upgrading to Android platform 7.0 fails. I get the following error: Failed to install 'com.synconset.imagepicker': Error: ENOENT: no such file or directory, open '../platforms/android/AndroidManifest.xml'
@EddyVerbruggen could you give us a hand, please? Thanks in advance!
@fedemoreno Happy to merge a PR!
Hi, does anyone have any solution to this?
<!-- An existing config.xml -->
<edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge">
<!-- needs to change to -->
<edit-config file="app/src/main/AndroidManifest.xml" target="/manifest/application" mode="merge">
this needs to be changed
@reaVen- I am using ionic 3, I tried to put this into my config.xml, but it does not work. Do you have any idea which config.xml I should amend?
@ratanahing I downgraded to android@6.4.0 and used this fork https://github.com/shaik305/cordova-plugin-image-picker.git
@reaVen- Thanks for reply. I am currently stuck with android@7.0.0 coz of other dependencies. Do we have any solution?
Hi, i need this solution too... anyone? i cannot downgrade
Downgrade the Cordova Android.
cordova platform rm android
cordova platform add android@6.4
Ionic.
ionic cordova platform rm android
ionic cordova platform add android@6.4
Anyone with a solution for android 7 ?????????
facing the same problem over here, i spent some hours..not solution found yet, I installed the latest android@~7.1.0
I found this hook
In your config.xml
file add:
<platform name="android">
<hook src="hooks/patch-android-studio-check.js" type="before_plugin_install" />
<hook src="hooks/patch-android-studio-check.js" type="before_plugin_add" />
</platform>
And then you can install.
For debbug your project remove
@pistou
Your solution had worked for me after long stuck with error prompting that MultiImageClass has not been added to Manifest.xml.
Appreciation!
Upgrading to Android platform 7.0 fails. I get the following error:
Failed to install 'com.synconset.imagepicker': Error: ENOENT: no such file or directory, open '../platforms/android/AndroidManifest.xml'