\ty-weather\bin\ty-weather.apk installed on device Done!

qq_26502155 2016-02-24 03:42:28
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>
求大神帮忙看看
...全文
149 3 打赏 收藏 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
wei220000 2016-02-24
  • 打赏
  • 举报
回复
<application android:label="@string/app_name" android:icon="@drawable/weather"> <receiver android:icon="@drawable/weather" android:label="@string/app_name" android:name="ForecastWidget"> <activity android:name=".surface.acticities.WelcomeActivity_" android:label="@string/app_name" android:theme="@style/SlideAppTheme"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application>
qq_26502155 2016-02-24
  • 打赏
  • 举报
回复
请问这个代码写在哪里?
wei220000 2016-02-24
  • 打赏
  • 举报
回复
<activity android:name=".surface.acticities.WelcomeActivity_" android:label="@string/app_name" android:theme="@style/SlideAppTheme"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> 他说的是,需要一个launcher。

80,490

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧