Entry is not public in LinkedHashMap; cannot be accessed from outside package
FruityXXL opened this issue · 10 comments
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!
Same problem, any suggestions?
I have the same problem, did you find the solution?
+1
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.
Thanks @mkihellas will give it a shot and let you know
+1
the plugin no longer maintained ! I recently made a new plugin: https://github.com/DmcSDK/cordova-plugin-mediaPicker
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.
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.
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.