please me locate issue here...
[2013-07-15 10:29:36 - database demo] activitymanager: starting: intent { act=android.intent.action.main cat=[android.intent.category.launcher] cmp=com.assentapp.v100/com.assentapp.v100 } [2013-07-15 10:29:36 - database demo] new package not yet registered system. waiting 3 seconds before next attempt. [2013-07-15 10:29:39 - database demo] starting activity com.assentapp.v100 on device emulator-5554 [2013-07-15 10:29:40 - database demo] new package not yet registered system. waiting 3 seconds before next attempt. [2013-07-15 10:29:43 - database demo] starting activity com.assentapp.v100 on device emulator-5554 [2013-07-15 10:29:45 - database demo] new package not yet registered system. waiting 3 seconds before next attempt. [2013-07-15 10:29:48 - database demo] starting activity com.assentapp.v100 on device emulator-5554 [2013-07-15 10:29:49 - database demo] activitymanager: starting: intent { act=android.intent.action.main cat=[android.intent.category.launcher] cmp=com.assentapp.v100/com.assentapp.v100 } [2013-07-15 10:29:49 - database demo] activitymanager: error type 3 [2013-07-15 10:29:49 - database demo] activitymanager: error: activity class {com.assentapp.v100/com.assentapp.v100} not exist.
i presuming have names incorrectly, potentially in manifext xml. or perhaps elsewhere...
looking @ above code, see launches package on emulator, , unable find activity class com.assentapp.v100 . think have re-names field wrong somewhere, below main.xml inspection
<?xml version="1.0" encoding="utf-8"?> <tabhost xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@android:id/tabhost" > <tabwidget android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@android:id/tabs" /> <framelayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingtop="70dp" > </framelayout> </tabhost>
here manifest
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.assentapp.v100" android:versioncode="1" android:versionname="1.0" > <uses-permission android:name="android.permission.write_external_storage" /> <uses-permission android:name="android.permission.record_audio" /> <uses-permission android:name="android.permission.camera" /> <uses-permission android:name="android.permission.record_video" /> <uses-permission android:name="android.permission.access_fine_location" /> <application android:icon="@drawable/icon" android:label="@string/app_name" > <activity android:name="com.assentapp.v100" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name=".addemployee" android:label="add employee" > </activity> <activity android:name=".gridlist" android:label="employees" > </activity> <activity android:name=".photoactivity" android:label="@string/title_activity_photo" > </activity> <activity android:name=".audiorecordtest" android:label="@string/title_activity_audio_record_test" > </activity> </application> <uses-sdk android:minsdkversion="7" /> </manifest>
i think issue may come line <action android:name="android.intent.action.main" />
speculating...
this has stemmed trying rename scr folders. not others... don't try unless know doing. or more importantly, take backup first !
the problem build / run configuration . please check "deploy application" checkbox in run/debug configuration screen, under general tab.
Comments
Post a Comment