AndroidFillableLoaders icon indicating copy to clipboard operation
AndroidFillableLoaders copied to clipboard

nothing to launch?

Open AndroidDeveloperLB opened this issue 6 years ago • 4 comments

I get this: image

AndroidDeveloperLB avatar Mar 08 '18 14:03 AndroidDeveloperLB

I think we need a bit more description than just a screenshot

Letme avatar Feb 26 '19 19:02 Letme

@Letme OK,tried again after a long time since the original issue was reported. Here's a new one, after another trial to clone the project and use it:

image

And just because you don't like screenshots, here's the textual form of it:

Executing tasks: [:sampleapp:assembleDebug]

Configure project :library WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html RELEASE BUILD

Configure project :sampleapp WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

Task :sampleapp:preBuild UP-TO-DATE Task :sampleapp:preDebugBuild UP-TO-DATE Task :sampleapp:compileDebugAidl NO-SOURCE Task :sampleapp:compileDebugRenderscript NO-SOURCE Task :sampleapp:checkDebugManifest UP-TO-DATE Task :sampleapp:generateDebugBuildConfig UP-TO-DATE Task :sampleapp:javaPreCompileDebug FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':sampleapp:javaPreCompileDebug'.

1 exception was raised by workers: java.lang.RuntimeException: Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - butterknife-7.0.1.jar (com.jakewharton:butterknife:7.0.1) Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future. See https://developer.android.com/r/tools/annotation-processor-error-message.html for more details.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 0s 4 actionable tasks: 1 executed, 3 up-to-date

AndroidDeveloperLB avatar Feb 26 '19 22:02 AndroidDeveloperLB

Thanks this is indeed a lot more helpful and it just tells us that we need to maintain it with recent Android practices. You can prepare a pull request if you have time, otherwise I will dive into it when I have.

In your first screenshot you can only see Build successful, so I did need more information, while this here is descriptive enough.

Letme avatar Feb 26 '19 23:02 Letme

In the first one, I failed to do anything. It didn't let me to run the app. It couldn't find its module.

AndroidDeveloperLB avatar Feb 26 '19 23:02 AndroidDeveloperLB