Supporting Gradle Experimental Plugin
See original GitHub issueDoes it support new Gradle Experimental Plugin? It works well with usual Gradle pugin:
apply plugin: 'com.android.application'
It does not work with new gradle exeprimental plugin.
apply plugin: 'com.android.model.application'
I see such kind of output each time trying to compile:
...
:app:compileDebugJavaWithJavac
An exception has occurred in the compiler (1.8.0_73). Please file a bug at the Java Bug Database (http://bugreport.java.com/bugreport/) after checking the database for duplicates. Include your program and the following diagnostic in your report. Thank you.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.lang.invoke.MethodType not found
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Experimental Plugin User Guide - Android Studio Project Site
The new experimental plugin is based on Gradle's new component model mechanism, while allows significant reduction in configuration time. It ...
Read more >rgoldberg.experimental-jigsaw - Gradle Plugin Portal
rgoldberg.experimental-jigsaw. Owner: Ross Goldberg. Experiment with Java 9 modules before they are officially supported.
Read more >Enable experimental NDK plugin support for Gradle and ...
Enable and configure the experimental Gradle plugin to improve AndroidStudio's NDK support. Check that you fulfill the following requirements:.
Read more >Android experimental gradle plugin & Android Studio 3
So to answer my own questions above. It's been announced that the experimental gradle plugin will no longer be supported after 0.11.0.
Read more >Experimental Plugin User Guide(From Android Tools Project ...
The new plugin supports only gradle-2.5. #Wed Apr 10 15:27:10 PDT 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Not that I know of, pull requests welcome. You can try using the new cmake or ndk-build support, since that doesn’t require the experimental model http://tools.android.com/tech-docs/external-c-builds
No idea, but it’s likely since it was just announced at io.