尝试生成签名的APK后无法使用Android Studio进行调试-生成OK(立即),但无法下载到手机

时间:2018-08-20 15:03:12

标签: android-studio android-gradle

老实说,我不记得我来到这里所采取的步骤。它正在运行且调试良好,现在尝试调试时出现此错误:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:lint'.
> Lint found errors in the project; aborting build.

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

  Errors found:

  D:\Users\jordan\AndroidStudioProjects\garageMonitorApp\app\libs\bcprov-    ext-jdk15on-160.jar: Error: Invalid package reference in library; not included     in Android: javax.naming.directory. Referenced from     org.bouncycastle.jce.provider.X509LDAPCertStoreSpi. [InvalidPackage]
  D:\Users\jordan\AndroidStudioProjects\garageMonitorApp\app\libs\bcprov-        ext-jdk15on-160.jar: Error: Invalid package reference in library; not included     in Android: javax.naming. Referenced from     org.bouncycastle.jce.provider.X509LDAPCertStoreSpi. [InvalidPackage]



* 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 44s
51 actionable tasks: 26 executed, 25 up-to-date
10:54:43 AM: Task execution finished 'buildDependents'.

0 个答案:

没有答案