wymsee / cordova-imagePicker

Cordova Plugin For Multiple Image Selection
MIT License
407 stars 853 forks source link

Entry is not public in LinkedHashMap; cannot be accessed from outside package #262

Open FruityXXL opened 6 years ago

FruityXXL commented 6 years ago

Hi,

android compilation fails with error

...\platforms\android\app\src\main\java\com\synconset\ImageFetcher.java Error:(293, 58) error: Entry is not public in LinkedHashMap; cannot be accessed from outside package Error:Execution failed for task ':app:compileDebugJavaWithJavac'. Compilation failed; see the compiler error output for details.

Cordova 8 Gradle 3.0 defaultCompileSdkVersion=26

Any suggestions how to fix this problem?

Thank you very much for your help!

Emadello commented 6 years ago

Same problem, any suggestions?

BluebambooSRL commented 6 years ago

I have the same problem, did you find the solution?

carauzs commented 6 years ago

+1

mkihellas commented 6 years ago

Hey guys, I had the same problem while I was trying to find a solution for an other issue: https://github.com/wymsee/cordova-imagePicker/issues/263

The problem was on a variable mistake in ImageFetcher.java. https://github.com/mkihellas/cordova-imagePicker/commit/61c18fc63fc9a5e69296715d76e38d043741dcd9#diff-76acd7e874d9233cd649120f24357319

We can use our repositery that has the fix: https://github.com/mkihellas/cordova-imagePicker.

Keep in mind that I also changed some things in plugin.xml in order to make it build successfully with CLI 8.0.0 on PhoneGap.

Emadello commented 6 years ago

Thanks @mkihellas will give it a shot and let you know

nazrdogan commented 6 years ago

+1

DmcSDK commented 5 years ago

the plugin no longer maintained ! I recently made a new plugin: https://github.com/DmcSDK/cordova-plugin-mediaPicker

dansterrett commented 5 years ago

This bug was a showstopper for me. I ended up using to the camera plugin (https://github.com/apache/cordova-plugin-camera) instead. Just pass PictureSourceType: PHOTOLIBRARY, and it will open the photo library instead of the Camera.

ericbrumfield commented 4 years ago

In having to maintain an older ionic project, without changing much on my machine and coming back to the ionic app months later, I ended up having to do what @dansterrett suggests and used cordova-plugin-camera and it seems to work well and is probably the most actively maintained.

There were too many broken dependencies between mediaPicker and others to successfully build for me. I suspect it's where I've updated cordova and ionic over time that the older ionic app and plugins began breaking all of a sudden.

hnguyen48206 commented 4 years ago

the plugin no longer maintained ! I recently made a new plugin: https://github.com/DmcSDK/cordova-plugin-mediaPicker

Dear Sir,

Can you share with us the proper way to use your plugin (which looks really promising) with an ionic 3 project?

Best Regards.