Skip to content
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

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

Open
FruityXXL opened this issue Feb 3, 2018 · 10 comments

Comments

@FruityXXL
Copy link

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
Copy link

Emadello commented Mar 7, 2018

Same problem, any suggestions?

@BluebambooSRL
Copy link

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

@carauzs
Copy link

carauzs commented Mar 17, 2018

+1

@mkihellas
Copy link

Hey guys,
I had the same problem while I was trying to find a solution for an other issue: #263

The problem was on a variable mistake in ImageFetcher.java.
mkihellas@61c18fc#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
Copy link

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

@nazrdogan
Copy link

+1

davidofwatkins added a commit to zenput/cordova-plugin-image-picker that referenced this issue Apr 20, 2018
This also addresses the following error:
wymsee#262
davidofwatkins added a commit to zenput/cordova-plugin-image-picker that referenced this issue Jun 8, 2018
Add support for cordova-android 7+

This also addresses the following error:
wymsee#262
@DmcSDK
Copy link

DmcSDK commented Jun 20, 2018

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

@dansterrett
Copy link

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
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants