wang1076554677 2015-08-11 02:46 采纳率: 0%
浏览 2422
已结题

Android项目运行后在虚拟器加载失败的问题

跟着《第一行代码》里的那个天气app敲的代码,敲了一部分,运行项目时在虚拟器中加载失败,代码应该没有什么问题,也没什么错误提示:
[2015-08-11 10:41:35 - CoolWeather] Android Launch!
[2015-08-11 10:41:35 - CoolWeather] adb is running normally.
[2015-08-11 10:41:35 - CoolWeather] Performing com.coolweather.app.activity.ChooseAreaActivity activity launch
[2015-08-11 10:41:38 - CoolWeather] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD '4.0.3'
[2015-08-11 10:41:38 - CoolWeather] Uploading CoolWeather.apk onto device 'emulator-5554'
[2015-08-11 10:41:38 - CoolWeather] Installing CoolWeather.apk...
[2015-08-11 10:41:52 - CoolWeather] Success!
[2015-08-11 10:41:52 - CoolWeather] Starting activity com.coolweather.app.activity.ChooseAreaActivity on device emulator-5554
[2015-08-11 10:41:53 - CoolWeather] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.coolweather.app/.activity.ChooseAreaActivity }

新手,各位前辈能帮我解答下吗,感激不尽。

补充,源码github地址:https://github.com/wang1076554677/QingFengWeather

  • 写回答

10条回答 默认 最新

  • DZL_ACE 2015-08-11 04:35
    关注

    试试在AndroidManifest里面把那个包的路径名用绝对路径,没遇到这个问题,看log第一感觉是找不到相应的activity

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog