Incorrect Package Name in AndroidManifestFile when using Android Studio -
Incorrect Package Name in AndroidManifestFile when using Android Studio -
i created new project in android studio.
however bundle name in androidmanifest.xml incorrect.
current have : package="username.appname"
when should : bundle = com.example.appname ?
when seek run app, error of "manifest_malformed"
so thought alter bundle name in androidmanifest.xml, androidstudio give me error saying "cannot resolve symbol myactivity.
is there must gradle file? in advance help
edit : androidmanifest.xml added <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="rohan.unibargainr" > <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme" > <activity android:name=".myactivity" 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>
i found inefficient solution problem....
i created new project , on first page alternative alter bundle name.
by default set username.appname, changed com.example.appname.
not best solution because have start scratch now.
android-studio package android-manifest
Comments
Post a Comment