permission-manager | Permission Manager is a project that brings sanity | Authorization library
kandi X-RAY | permission-manager Summary
kandi X-RAY | permission-manager Summary
A template is a ClusterRole with a prefix. When we started the development of this project, a template was one-to-one to a clusterrole, the usage of a CRD looked overkill. This will obviously change in future to avoid polluting clusterroles and will allow us to have a more precise encapsulation of what is owned by the permission manager.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of permission-manager
permission-manager Key Features
permission-manager Examples and Code Snippets
Community Discussions
Trending Discussions on permission-manager
QUESTION
Before asking this question I searched for an answer
In short: problem appears with the latest version of Gradle plugin for Android Studio version 3.0.0.
If I use previous version of Gradle plugin (2.3.3) Studio builds .apk without problem/
Error text:
Error:Execution failed for task ':stockManagment:transformClassesWithStackFramesFixerForNextDebug'.
com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.builder.utils.FileCache$FileCreatorException: java.util.zip.ZipException: duplicate entry: META-INF/
All solutions found at SO and other sites recommend using 'exclude', but these problems usually appear with 'META-INF/somefile.txt' , not 'META-INF/' directory itself.
I can't exclude whole 'META-INF/' directory, but I exclude common files inside this dir (licence, dependencies, etc.).
Here are my build.gradle files.
...ANSWER
Answered 2017-Nov-27 at 12:35The problem was with Apache POI library which was included as .jar file from /libs directory. This .jar contained empty /META-INF directory which was the cause of the problem.
Deleting this empty directory from .jar file resolved the problem. If /META-INF is not empty it also works ok. With Gradle plugin 2.3.3 building .apk works smoothly even with empty /META_INF directory.
So, the combination of Gradle plugin 3.0.0 and empty /META_INF directory in .jar creates the problem.
UPDATE 27.11.2017 This bug has been fixed in the current version
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install permission-manager
We love contributions from the community :heart:. Learn how-to-contribute.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page