Jul*_*ias 4 android android-studio
我正在尝试制作android studio项目,
我在Android设备管理器中运行项目很好,但是当我尝试在真实设备上运行时,我有一些错误:
Error:Failed to capture snapshot of input files for task 'transformClassesWithInstantRunForDebug' property 'otherFileInputs' during up-to-date check.
> Failed to create MD5 hash for file 'C:\Users\psd1-pc\AppData\Local\Android\sdk\platforms\android-21\android.jar'.
Run Code Online (Sandbox Code Playgroud)
我的真实设备有Lollipop Android,我该怎么做才能解决这个问题
谢谢.
启用Instant Run后,您需要使用相同的api级别构建和运行项目.使用Instant Run为特定api构建的调试应用程序仅适用于真实设备中的相同api级别.
如果您想运行该应用程序,请关闭"即时运行",然后重新构建应用程序.
| 归档时间: |
|
| 查看次数: |
6637 次 |
| 最近记录: |