Comments (8)
@kirtan403 are you using Instant Run? I don't, and it builds much longer any time I change any code in the class where these annotations are present. Maybe it has something to do with annotation processor? Like, maybe it's because we're not using annotationProcessor/kapt for this lib but classpath for project gradle file and applying the plugin?
from quickpermissions.
For the first time, yes. But sub-sequence builds should be fast.
from quickpermissions.
Yes, if you are changing the file annotation is present, it will take some time. But I don't think it should re compile all the files. It will just recompile the file which is changed. So It should not take too much time as you are saying. I have tested it and after initial compilation, it worked pretty fast, even If I modified the file which contains the annotation.
from quickpermissions.
I have the same issue, Kotlin project, instant run disabled, compilation times decreased drammatically. At least by minute. That's super annoying :(
from quickpermissions.
@MrBIMC I think you mean compilation time increased. Yes, that takes some time to process your files. I have tried a few optimizations but failed to make it work. I can understand the pain as Me too have gone through it. But I am trying and If I get it work, I'll surely post it.
from quickpermissions.
Same here, add 40 seconds to build time this side, considering going back to what I had, can't waste time like this. Also don't do instant run, I have my reasons. Actually quite ironic, if you look at the name. Also it is probably worth mentioning on the info page, although you might save time to initially do the permission implementation, you will pay indefinitely (in time) per build.
from quickpermissions.
@Ornolfr @MrBIMC @Corical I have a good news to all of you. If you are using kotlin, you can use the new QuickPermissions-Kotlin that works out of the box without any gradle plugins and works with instant run.
from quickpermissions.
Amazing, thank you!
from quickpermissions.
Related Issues (14)
- Proguard rules needed for databinding HOT 2
- Instrumentation Test - Build Failed HOT 5
- Unable to compile app using Gradle 6 /Android Studio 3.6.1
- Invalid byte tag in constant pool: 19 HOT 2
- Build Failed
- Execution failed for task ':app:transformClassesWithQuickPermissionsForDebug' for package firebase-auth-api
- provide a demo? HOT 1
- OnPermissionsDenied fires when permission is granted. HOT 1
- Have to disable Instant Run to successfully compile HOT 5
- How to Refer the string constant(created from strings.xml) for rationaleMessage? HOT 6
- InvalidUserDataException: Cannot change dependencies of configuration '<project>' after it has been included in dependency resolution. HOT 1
- Error when compiling HOT 8
- Is it possible to downgrade requirements? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickpermissions.