위젯을 구현하기 위해 데모 프로젝트를 실행 하려는데 성공적으로 컴파일되었지만 실행되지 않았고, 또한 휴대 전화에 설치되어 있지 않습니다.장치에서 응용 프로그램을 시작할 수 없습니다.
또한이 튜토리얼 http://www.tutorialspoint.com/android/android_widgets.htm
이 튜토리얼 https://github.com/TechIsFun/android-widget-example에게 다음하지만 같은 문제를 얻고있다.
내 콘솔
[2014-11-23 11:01:30 - WidgetExample] Performing sync
[2014-11-23 11:01:30 - WidgetExample] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2014-11-23 11:01:34 - WidgetExample] Uploading WidgetExample.apk onto device '1C9E_9E18_MicromaxA111'
[2014-11-23 11:01:34 - WidgetExample] Installing WidgetExample.apk...
[2014-11-23 11:01:37 - WidgetExample] Success!
[2014-11-23 11:01:37 - WidgetExample] \WidgetExample\bin\WidgetExample.apk installed on device
[2014-11-23 11:01:37 - WidgetExample] Done!
내가 매니페스트 파일에 일부 문제가 있다고 생각을 보여줍니다?
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.widgetexample"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="21" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<receiver
android:name="MyWidgetProvider"
android:icon="@drawable/ic_launcher"
android:label="Example Widget" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/widget_info" />
</receiver>
</application>
</manifest>
1- 장치의 플러그를 뽑고 다시 연결해보십시오. 2 - 장치를 다시 시작하십시오. 3 USB 디버깅 옵션을 선택하고 다시 켜기를 다시 시도하십시오. 작동하지 않는 경우 의견을 보내주십시오. –
manifest.xml에 주요 런처 활동이 없습니다. – Nepster
답변을 찾으면 질문을 종료하십시오. –