Entry is not public in LinkedHashMap; cannot be accessed from outside package
See original GitHub issueHi,
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!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:10
Top Results From Across the Web
Entry is not public in TreeMap; cannot be accessed from ...
The problem is that the compiler's behavior is making code depending on implementation details. If TreeMap does not have an internally used, non ......
Read more >not public in java. can't be accessed from outside package
MainProgram.java:120: java.util.HashMap.Entry is not public in java. Is anyone able to explain to me what this is actually saying?
Read more >LinkedHashMap.Entry
(package private) void, recordAccess(HashMap m) This method is invoked by the superclass whenever the value of a pre-existing entry is read by Map.get...
Read more >Java AC Solution via overriding LinkedHashMap ... - LeetCode
Entry <Integer, Integer> eldest) { return size() > capacity; } }; } public int ... is not public in LinkedHashMap; cannot be accessed...
Read more >HashMap entrySet() Method in Java - GeeksforGeeks
Syntax: · Parameters: The method does not take any parameter. · Return Value: The method returns a set having same elements as the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.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.