-
Notifications
You must be signed in to change notification settings - Fork 598
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
Attempt to recreate a file for type com.raizlabs.android.dbflow.config.MyDatabase$Database #176
Comments
it happens from time to time, but its not a problem. |
Ok, but it's not time to time, it's at every compile (tried on more than 30+ compile) |
Same for me. I'm also using Android Annotations. |
Same for me. It is not blocking build, but not good to see it there. |
Hey guys running into the same issue. @agrosner I noticed that there is a e.printStackTrace() in https://github.com/Raizlabs/DBFlow/blob/324a8d2f4d8ab282add03774b48d9ebd9f600b26/compiler/src/main/java/com/raizlabs/android/dbflow/processor/model/ProcessorManager.java#L297 Looks like it's coming from there and bubbles up to the gradle build. |
Same for me. Looks like the processor are called several times during the build (first pass create the files, others write warnings because already generated files). Could be related to the debug/release build or variants? |
Why was this closed? It's still a problem (for me) with latest 2.2.1 release. |
My build is very slow (+ than 2 minutes for incremental builds) and I believe that this is the cause of the slow build. In the issue #107 this was caused by a bug in the table definitions. |
Same here, and if I remove DBFlow, build times gets back to normal. |
+1 |
This message happens only if I have ButterKnife implemented in my app together with DBFlow : :app:compileDebugJavaWithJavac
warning: Attempt to recreate a file for type com.raizlabs.android.dbflow.config.LIFE_DATABASE$Database
warning: Attempt to recreate a file for type com.raizlabs.android.dbflow.config.LIFE_DATABASE$Database
warning: File for type 'com.raizlabs.android.dbflow.config.GeneratedDatabaseHolder' created in the last round will not be subject to annotation processing.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 warnings It vanish as soon as I remove it, but as said before it is not really a problem |
Run into same issue. |
Still no fix ? |
Still happening |
|
This could be related to this old dagger issue: google/dagger#442 |
Hi guys,
Is it normal that I get this error-warning each time I compile ? (the build still works)
The text was updated successfully, but these errors were encountered: