Skip to content
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

nothing to launch? #20

Open
AndroidDeveloperLB opened this issue Mar 8, 2018 · 4 comments
Open

nothing to launch? #20

AndroidDeveloperLB opened this issue Mar 8, 2018 · 4 comments

Comments

@AndroidDeveloperLB
Copy link

I get this:
image

@Letme
Copy link
Contributor

Letme commented Feb 26, 2019

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

@AndroidDeveloperLB
Copy link
Author

@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

@Letme
Copy link
Contributor

Letme commented Feb 26, 2019

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.

@AndroidDeveloperLB
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants