我正在尝试使用Android Studio生成已签名的APK文件,但是出现了以下错误。我确定我的密码等信息都是正确的,因为我已经使用任意字符串尝试了同样的过程,并且它们失败并输出了预期的错误(密码错误)。对于这个错误,谷歌并没有提供有用的解决方法,请问有人知道是怎么回事吗? 我正在使用0.8.6版本。以下是两张截图:
![enter image description here](https://istack.dev59.com/4TVvM.webp)
![enter image description here](https://istack.dev59.com/4TVvM.webp)
![assertion error](https://istack.dev59.com/FmrlF.webp)
null
java.lang.AssertionError
at com.android.sdklib.BuildToolInfo.getPath(BuildToolInfo.java:244)
at org.jetbrains.android.exportSignedPackage.ExportSignedPackageWizard.createAndAlignApk(ExportSignedPackageWizard.java:380)
at org.jetbrains.android.exportSignedPackage.ExportSignedPackageWizard.access$200(ExportSignedPackageWizard.java:81)
at org.jetbrains.android.exportSignedPackage.ExportSignedPackageWizard$1$1.run(ExportSignedPackageWizard.java:157)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:471)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:380)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)