\ty-weather\bin\ty-weather.apk installed on device Done!
2016-02-24 15:47:32 - ty-weather] No Launcher activity found!
[2016-02-24 15:47:32 - ty-weather] The launch will only sync the application package on the device!
[2016-02-24 15:47:32 - ty-weather] Performing sync
[2016-02-24 15:47:32 - ty-weather] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'MyPhone'
[2016-02-24 15:47:32 - ty-weather] Uploading ty-weather.apk onto device 'emulator-5554'
[2016-02-24 15:47:33 - ty-weather] Installing ty-weather.apk...
[2016-02-24 15:47:38 - ty-weather] Success!
[2016-02-24 15:47:38 - ty-weather] \ty-weather\bin\ty-weather.apk installed on device
[2016-02-24 15:47:38 - ty-weather] Done!
我的配置文件是这样的
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ty.weather" android:versionCode="1" android:versionName="1.0">
<application android:label="@string/app_name" android:icon="@drawable/weather">
<receiver android:icon="@drawable/weather" android:label="@string/app_name"
android:name="ForecastWidget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"></action>
</intent-filter>
<meta-data android:name="android.appwidget.provider"
android:resource="@xml/weatherwidget"></meta-data>
</receiver>
<activity android:name="ConfigureActivity" android:icon="@drawable/weather"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"></action>
</intent-filter>
</activity>
<activity android:name="DetailForecastActivity"
android:excludeFromRecents="true"></activity>
<service android:name="ForecastService"></service>
<provider android:name="ForecastProvider"
android:authorities="com.ty.weather"></provider>
<service android:name="ForecastTimeService"></service>
</application>
<uses-sdk android:minSdkVersion="3" />
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
</manifest>
求大神帮忙看看