0

I am trying to convert my Android app to JAR.

While clicking the build option in the GRADLE toolbar, it shows this error:

Fix the issues identified by lint or add the following to your build script to proceed with errors: ... android { lintOptions { abortOnError false } }

Now I added these lines to my build.gradle but JAR has not been created and not showing any errors too. Pls help

kit
  • 1,166
  • 5
  • 16
  • 23
Peer Mohamed
  • 408
  • 4
  • 15

2 Answers2

0

try using the creteFullJarDebug or createFullJarRelease that are located in the other on the same tab

Nikos Hidalgo
  • 3,666
  • 9
  • 25
  • 39
0

Apparently, there is a bug with fetching lintOptions. Maybe your problem is related to that. Try to change the order of repositories, move google() to the top in your project gradle and app gradle(if it exists) as well.

enter image description here

Eren Utku
  • 1,731
  • 1
  • 18
  • 27