adb - Installed HelloWorld app on physical Android device through Eclipse. How do I find it on phone? -
the console in eclipse says this:
[2014-03-10 17:46:08 - myfirstapp] ------------------------------ [2014-03-10 17:46:08 - myfirstapp] android launch! [2014-03-10 17:46:08 - myfirstapp] adb running normally. [2014-03-10 17:46:08 - myfirstapp] no launcher activity found! [2014-03-10 17:46:08 - myfirstapp] launch sync application package on device! [2014-03-10 17:46:08 - myfirstapp] performing sync [2014-03-10 17:46:17 - myfirstapp] uploading myfirstapp.apk onto device 'ta88307t9s' [2014-03-10 17:46:17 - myfirstapp] installing myfirstapp.apk... [2014-03-10 17:46:19 - myfirstapp] success! [2014-03-10 17:46:19 - myfirstapp] \myfirstapp\bin\myfirstapp.apk installed on device [2014-03-10 17:46:19 - myfirstapp] done!
that after importing hello world app online. hoping find app icon on phone launch it, can't find it. how launch app?
my manifest xml file looks this, after merlevede's answer:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.myfirstapp" android:versioncode="1" android:versionname="1.0" > <uses-sdk android:minsdkversion="8" android:targetsdkversion="19" /> <intent-filter android:label="@string/app_name"> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:debuggable="true" android:theme="@style/apptheme" > </application> </manifest>
but issue persists.
no launcher activity found!
as logs saying not have launcher activity. solve make activity laucher per requirement
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.myfirstapp" android:versioncode="1" android:versionname="1.0" > <uses-sdk android:minsdkversion="8" android:targetsdkversion="19" /> <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:debuggable="true" android:theme="@style/apptheme" > <activity android:name="com.example.myfirstapp.mainactivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> </application> </manifest>
Comments
Post a Comment