gpt4 book ai didi

android - ActivityThread错误

转载 作者:搜寻专家 更新时间:2023-11-01 09:42:07 24 4
gpt4 key购买 nike

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

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

你知道怎么解决吗?

干杯

最佳答案

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

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

关于android - ActivityThread错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39457466/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com