how to write package name in android manifest? -
i working on application had created 3 packages in application , put 3 package in 1 particular package , had updated android manifest still force closed.i had tried lots of things no working please me. how solve that? android manifest
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="mayank.com" android:versioncode="1" android:versionname="1.0" > <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme" > <activity android:name="mayank.com.onlinerecharge.mainactivity" android:label="@string/app_name" android:theme="@style/tabtheme"> <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name="mayank.com.onlinerecharge.signup" /> <activity android:name="mayank.com.onlinerecharge.signin" /> <activity android:name="mayank.com.onlinerecharge.account" android:label="@string/app_name" android:theme="@style/tabtheme"/> <activity android:name="mayank.com.onlinerecharge.mobile" /> <activity android:name="mayank.com.onlinerecharge.dth" /> <activity android:name="mayank.com.onlinerecharge.datacard" /> <activity android:name="mayank.com.onlinerecharge.about" /> <activity android:name="mayank.com.onlinerecharge.viewpageradapter" /> <activity android:name="mayank.com.after_login.main_after_login" android:label="@string/app_name" android:theme="@style/tabtheme" /> <activity android:name="mayank.com.after_login.help" /> <activity android:name="mayank.com.after_login.history" /> <activity android:name="mayank.com.after_login.ewallet" /> <activity android:name="mayank.com.after_login.signout" /> <activity android:name="mayank.com.utils.const" /> <activity android:name="mayank.com.utils.pref" /> </application> <uses-permission android:name="android.permission.internet" /> </manifest>
i suspect have package , absolute path activity defined incorrectly. thing note: packages typically com.mayank... not mayank.com.
check path 'signin' against it's definition in manifest , consider changing ".onlinerecharge.signin".
also, please, please, please press ctrl-f (command-f macs) before save code it'll formatted ;)
Comments
Post a Comment