跟着《第一行代码》里的那个天气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