How to properly manage manifest before releasing android APP? - android

Can someone help me i am new on android and i have published my app but its been 6 days i get no download from anyone. I think the issue with my manifest file. Do i need to add someone in manifest to get index by google playstore here is my manifest example`
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.blogspot.znetworktv.facebookupdate"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<meta-data android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version"/>
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="#string/facebook_app_id"/>
<application
android:hardwareAccelerated="true"
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:roundIcon="#mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".why" />
<activity android:name=".Kion" />
<activity android:name=".Past" />
<activity android:name=".war" />
<activity android:name=".Start" />
<activity android:name=".bestad" />
<activity android:name=".start2"></activity>`

No, you don't need to add anything to manifest.
The problem is more likely in the title, screenshots and description of your app in Play Store. Check out Get discovered on Google Play search for more information.

Related

How can I fix android gradle build making strange error

I made a file manager app and now I am trying to build it to an APK. The problem is that every time I try to build it returns this error:
error: failed processing manifest.
here's my manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<application
android:allowBackup="true"
android:dataExtractionRules="#xml/data_extraction_rules"
android:fullBackupContent="#xml/backup_rules"
android:icon="#mipmap/ic_launcher"
android:requestLegacyExternalStorage="true"
android:label="FileManager"
android:supportsRtl="true"
android:roundIcon="#mipmap/ic_launcher_round"
android:theme="#style/Theme.FileManager"
tools:targetApi="31">
<activity
android:name=".FileListActivity"
android:exported="false">
<meta-data
android:name="android.app.lib_name"
android:value="" />
</activity>
<activity
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.lib_name"
android:value="" />
</activity>
</application>
</manifest>
I tried everything, I found similar questions in the internet but none of them works for me, can someone please help.

Android application is installing 2 times in device

I am getting multiple applications(with the same name) while installing this application, if I uninstall one other one gets deleted, in the beginning, the count was three but after making changes the count is two, now I want only single app ....how do ideal with this?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.mypc.panjabisamajapp">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:allowBackup="true"
android:hardwareAccelerated="false"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:roundIcon="#mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity android:name=".MainActivity" />
<activity android:name=".LoginActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".GirlsBoys">
</activity>
<activity android:name=".RegistrationForm" />
<activity android:name=".UploadPhoto" />
<activity android:name=".PopupOccupation" />
<activity android:name=".ContactDetailsForm" />
<activity android:name=".ParticularsForm" />
<activity android:name=".UserProfile" />
<activity android:name=".DisplayCardResult" />
<activity android:name=".ZoomImage" />
<activity android:name=".MenuActivity" />
<activity android:name="com.example.mypc.panjabisamajapp.MailBox"></activity>
<activity android:name=".ChatWindow" />
<activity android:name=".EditPProfile" />
<activity android:name=".UpdateDetails">
</activity>
<meta-data
android:name="preloaded_fonts"
android:resource="#array/preloaded_fonts" />
</application>
If the app names are the same the reason can be using multiple launcher intent in your manifest file. Check your merged manifest file instead of application manifest file.
i think u must have used this intent filter twice in multiple activities.check your manifest file

what permissions should i add in mainfest.xml

what permissions should i add in mainfest.xml of adroid studio for following app. Please help me. i am new developer.
https://play.google.com/store/apps/details?id=aa.bb.waqas.myapplication&hl=en
tell me about all permissions that i need to add it.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="aa1.bb.waqas.myapplication">
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="IELTS Preparation In One Day"
android:roundIcon="#mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity android:name=".splash">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".t1" />
<activity android:name=".MainActivity" />
<activity android:name=".t2" />
<activity android:name=".t3" />
<activity android:name=".t4" />
<activity android:name=".t5" />
<activity android:name=".t6" /><activity android:name=".t7" />
</application>
</manifest>
As you shared the link of application, there are only two permissions are needed
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
and You may need to add more permissions as per your requirements.

Getting MALFORMED error in android

This is my manifest file and I don't know why am I getting this error . Please help me out with this error. Everything is working fine, but the problem is the meta tags inside the applciation tags, if I write them outside the application tags then it crashes the app, and if I write them inside the application tags then I get the error "INSTALL_PARSE_FAILED_MANIFEST_MALFORMED".
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.nadeemahmad.guitest">
<!--Permissions-->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<permission android:name="com.example.nadeemahmad.guitest.MAPS.RECIEVE" android:protectionLevel="signature"/>
<uses-permission android:name="com.example.nadeemahmad.guitest.MAPS.RECIEVE"/>
<uses-permission android:name="com.google.android.providers.gsf.permissions.READ_GSERVICES"/>
<uses-feature android:glEsVersion="0x0020000" android:required="true"/>
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity
android:name=".splash"
android:noHistory="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".MainActivity"
android:noHistory="true" />
<activity
android:name=".profile"
android:noHistory="true" />
<activity
android:name=".profile_update"
android:noHistory="true" />
<activity
android:name=".sync_contacts"
android:noHistory="true" />
<activity
android:name=".settings"
android:noHistory="true" />
<activity android:name=".synced_contacts_list"></activity>
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="#string/google_android_map_api_key" />
<meta-data android:name="come.google.android.gms.version"/>
</application>
</manifest>
Rectify Your meta-data TAG . It should be com instead of come .
Wrong
<meta-data android:name="come.google.android.gms.version"/>
Perfect
<meta-data android:name="com.google.android.gms.version"/>
After that Clean-Rebuild and Run .

Android Internet permission failing even though it's in the manifest

I'm sort of new to android development and am running into an issue only when installing my app from the play store. Basically when I try to connect to my api site from the app it fails. Here's my manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="12" android:versionName="1.2" android:installLocation="auto" package="com.jadestripe.retextbook"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<application android:theme="#style/AppTheme" android:label="#string/app_name" android:icon="#drawable/ic_launcher" android:allowBackup="true" android:logo="#drawable/ic_launcher">
<activity android:label="#string/window_title" android:name="com.jadestripe.retextbook.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:label="#string/title_activity_search_results" android:name="com.jadestripe.retextbook.SearchResultsActivity" android:parentActivityName="com.jadestripe.retextbook.MainActivity">
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.jadestripe.retextbook.MainActivity" />
</activity>
<activity android:label="#string/title_activity_comparison" android:name="com.jadestripe.retextbook.ComparisonActivity" android:parentActivityName="com.jadestripe.retextbook.SearchResultsActivity">
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.jadestripe.retextbook.SearchResultsActivity" />
</activity>
</application>
</manifest>
I'm using Lorg.apache.http.impl.client.DefaultHttpClient to grab a json string from http://api.retextbook.com/search?keyword=test, for example.
EDIT: I also should mention it's not asking me to use my internet connection when I install from the play store...

Categories

Resources