Failed to find byte code for android/hardware/fingerprint/FingerprintManager$AuthenticationCallback

https://stackoverflow.com/questions/49915775/failed-to-find-byte-code-for-android-hardware-fingerprint-fingerprintmanageraut
https://stackoverflow.com/questions/49888065/android-studio-update-and-now-app-wont-run/49888586#49888586

I get the following error while trying to run my app from Android Studio:

Failed to find byte code for android/hardware/fingerprint/FingerprintManager$AuthenticationCallback

The task that is failing is: :app:transformDexWithInstantRunDependenciesApkForDebug

Try turning off Instant Run:

Open the Settings or Preferences dialog: On Windows or Linux, select File > Settings from the menu bar. On Mac OSX, select Android Studio > Preferences from the menu bar.
Navigate to Build, Execution, Deployment > Instant Run.
Uncheck the first box
Re-build.

This is Google issue 72811718 a bug in AS 3.1

Now, I can at least install the apk with android studio, but still have some issue with debug, I may look into it later on.
在这里插入图片描述

发布了209 篇原创文章 · 获赞 18 · 访问量 39万+

猜你喜欢

转载自blog.csdn.net/llrraa2010/article/details/83067488