You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am in the process of upgrading my projects to the latest version of the gradle android plugin (currently 0.9.0/19.03 with gradle 1.11). Builds within AndroidStudio work properly, but trying to build on the command line fails lint with the following errors
<issueid="InvalidPackage"severity="Error"message="Invalid package reference in library; not included in Android: javax.lang.model.element. Referenced from butterknife.internal.Listener."category="Correctness"priority="6"summary="Finds API accesses to APIs that are not supported in Android"explanation="This check scans through libraries looking for calls to APIs that are not included in Android.When you create Android projects, the classpath is set up such that you can only access classes in the API packages that are included in Android. However, if you add other projects to your libs/ folder, there is no guarantee that those .jar files were built with an Android specific classpath, and in particular, they could be accessing unsupported APIs such as java.applet.This check scans through library jars and looks for references to API packages that are not included in Android and flags these. This is only an error if your code calls one of the library classes which wind up referencing the unsupported package.">
<locationfile="C:\Users\User\.gradle\caches\modules-2\files-2.1\com.jakewharton\butterknife\4.0.1\f43b36925363701633d01adb8e54df7150397a78\butterknife-4.0.1.jar"/>
</issue>
<issueid="InvalidPackage"severity="Error"message="Invalid package reference in library; not included in Android: javax.lang.model.util. Referenced from butterknife.internal.Listener."category="Correctness"priority="6"summary="Finds API accesses to APIs that are not supported in Android"explanation="This check scans through libraries looking for calls to APIs that are not included in Android.When you create Android projects, the classpath is set up such that you can only access classes in the API packages that are included in Android. However, if you add other projects to your libs/ folder, there is no guarantee that those .jar files were built with an Android specific classpath, and in particular, they could be accessing unsupported APIs such as java.applet.This check scans through library jars and looks for references to API packages that are not included in Android and flags these. This is only an error if your code calls one of the library classes which wind up referencing the unsupported package.">
<locationfile="C:\Users\User\.gradle\caches\modules-2\files-2.1\com.jakewharton\butterknife\4.0.1\f43b36925363701633d01adb8e54df7150397a78\butterknife-4.0.1.jar"/>
</issue>
The text was updated successfully, but these errors were encountered:
I am in the process of upgrading my projects to the latest version of the gradle android plugin (currently 0.9.0/19.03 with gradle 1.11). Builds within AndroidStudio work properly, but trying to build on the command line fails lint with the following errors
The text was updated successfully, but these errors were encountered: