首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ActivityThread错误

ActivityThread错误
EN

Stack Overflow用户
提问于 2016-09-13 03:30:42
回答 1查看 1.7K关注 0票数 3

每次我将我的android代码编译到我的手机(而不是模拟器)时,我总是在应用程序开始启动之前得到这种代码。(这只是一个警告,应用程序运行得很好)

代码语言:javascript
复制
09-09 22:13:04.785 26459-26459/com.adrastel.niviel W/ActivityThread: Application com.adrastel.niviel can be debugged on port 8100...
09-09 22:13:07.355 26459-26459/com.adrastel.niviel W/art: Failed to find OatDexFile for DexFile /data/data/com.adrastel.niviel/files/instant-run/dex/slice-slice_8-classes.dex ( canonical path /data/data/com.adrastel.niviel/files/instant-run/dex/slice-slice_8-classes.dex) with checksum 0x2dd48748 in OatFile /data/data/com.adrastel.niviel/cache/slice-slice_8-classes.dex
09-09 22:13:08.250 26459-26459/com.adrastel.niviel W/art: Failed to find OatDexFile for DexFile /data/data/com.adrastel.niviel/files/instant-run/dex/slice-slice_7-classes.dex ( canonical path /data/data/com.adrastel.niviel/files/instant-run/dex/slice-slice_7-classes.dex) with checksum 0x5a6c56b9 in OatFile /data/data/com.adrastel.niviel/cache/slice-slice_7-classes.dex
09-09 22:13:09.560 26459-26459/com.adrastel.niviel W/art: Failed to find OatDexFile for DexFile /data/data/com.adrastel.niviel/files/instant-run/dex/slice-slice_3-classes.dex ( canonical path /data/data/com.adrastel.niviel/files/instant-run/dex/slice-slice_3-classes.dex) with checksum 0xb4a18bff in OatFile /data/data/com.adrastel.niviel/cache/slice-slice_3-classes.dex
09-09 22:13:10.950 26459-26459/com.adrastel.niviel W/art: Failed to find OatDexFile for DexFile /data/data/com.adrastel.niviel/files/instant-run/dex/slice-slice_2-classes.dex ( canonical path /data/data/com.adrastel.niviel/files/instant-run/dex/slice-slice_2-classes.dex) with checksum 0x667d4b9b in OatFile /data/data/com.adrastel.niviel/cache/slice-slice_2-classes.dex
09-09 22:13:12.065 26459-26459/com.adrastel.niviel W/art: Failed to find OatDexFile for DexFile /data/data/com.adrastel.niviel/files/instant-run/dex/slice-slice_1-classes.dex ( canonical path /data/data/com.adrastel.niviel/files/instant-run/dex/slice-slice_1-classes.dex) with checksum 0x1672e1ac in OatFile /data/data/com.adrastel.niviel/cache/slice-slice_1-classes.dex
09-09 22:13:12.905 26459-26459/com.adrastel.niviel W/art: Failed to find OatDexFile for DexFile /data/data/com.adrastel.niviel/files/instant-run/dex/slice-slice_0-classes.dex ( canonical path /data/data/com.adrastel.niviel/files/instant-run/dex/slice-slice_0-classes.dex) with checksum 0x2204c222 in OatFile /data/data/com.adrastel.niviel/cache/slice-slice_0-classes.dex

你知道怎么解决这个问题吗?

干杯

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-09-13 04:00:50

这看起来像是Instant Run的问题。Android Studio的即时运行功能可以让你在手机上预览快速的代码更改,而不必重新编译整个应用程序包。你可以关闭这个功能,编译和测试应用程序仍然可以工作。(这个功能还是有一点The,所以我个人更倾向于禁用它)

要关闭它,请转到文件->设置->构建,执行,部署->即时运行,并取消选中“启用即时运行”

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39457466

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档