Huawei Appgallery Publishing Problem - Manifest Warnings - android

I am trying to upload an APK file to Huawei App gallery and after submitting it to review i got this result with two warnings
https://i.imgur.com/8E2cewu.jpg
FIRST Warning :
Incorrect adaptive devices. Check whether the configuration in the AndroidManifest.xml file is compatible with watch apps.
SECOND Warning :
Incorrect adaptive devices. Check whether the configuration in the AndroidManifest.xml file is compatible with VR apps.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="####">
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application
android:name=".Application"
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/GreenActionBarTheme">
</application>
</manifest>

Looks it was not a big problem because they accepted my app 3 days later .. So you just need to be patient !

Related

How reinstall application after changes in androidManifest without removing previous version of application

How reinstall application after changes in android.manifest without removing previous version of application?
I have ready installed application on phone. Then I changed something in AndroidManifest.xml and build apk file. Now I want install application on phone,
but I get "The application has not been installed."
When I remove old version and then install new everything is ok, but another device I want reinstall app without removing previous version, because I don't want lost data.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="eu.treative.fca_pops">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="29"
tools:ignore="ScopedStorage" />
<uses-permission
android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
android:minSdkVersion="30"
tools:ignore="ScopedStorage" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<application
android:name="com.orm.SugarApp"
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:networkSecurityConfig="#xml/network_security_config"
android:roundIcon="#mipmap/ic_launcher_round"
android:usesCleartextTraffic="true"
android:supportsRtl="true"
android:theme="#style/Theme.Fcapops"
android:requestLegacyExternalStorage="true"
tools:replace="android:icon">
The application has not been installed.
Sometimes that error not because of the android manifest.
Make sure that the apk had signed by the same certificate.
That case sometimes happens to me, when I install the release version from google play, then I install debug version from my local project.
After making sure that the apps signed by the same certificate, make sure that the app had the same or bigger number build version.
You can't replace apk with build versionCode 12 with build versionCode 11, should be 12 or higher.

android new versio app can't rollout to production

i have uploaded my app to playstore and couldnt download it from there because i faced this issue "your device isnt compatible with this version". on further analysis I could found out that I have used feature "android.hardware.type.watch" in my manifest
now after i remove this line from the manifest and uploaded a new version to production im getting an error
"You can't rollout this release because it doesn't allow any existing users to upgrade to the newly added APKs."
i encreased the versioncode number but the message remains
how can i fix it and upload a new version
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.appiness"
>
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.android.alarm.permission.SET_ALARM"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="false"
android:fullBackupContent="false"
android:hardwareAccelerated="true"
android:icon="#drawable/ic_appiness_icon"
android:label="#string/app_name"
android:name="AppinessApplication"
android:roundIcon="#drawable/ic_appiness_icon"
android:supportsRtl="true"
android:versionCode="10"
android:theme="#style/Theme.AppinessProject"
>

How to make an application available for particular device?

My users complain that my android application is not available in Google Play for particular device - Samsung Galaxy Tab Pro.
What should I check (and where) to make it available?
AndroidManifest.xml part related to permissions and features:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.rosspam"
android:versionCode="19"
android:versionName="1.6.0.0" >
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="22" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.READ_SMS" />
<uses-permission android:name="android.permission.WRITE_SMS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<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" />
<application ...>
...
<receiver android:name="org.myapp.SMSReceiver" >
<intent-filter android:priority="999" >
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
</receiver>
...
<meta-data android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<meta-data android:name="com.google.android.gms.games.APP_ID"
android:value="#string/app_id" />
</application>
</manifest>
First, check in android developer console whether you disclosed/removed some devices there - check under APK. You also should check in your Manifest.xml for the right values of android:minSdkVersion and android:targetSdkVersion.
Try following:
Sign into your Google Play Developer Console.
Click on All Applications and click on the application whose device availability you'd like to view.
After that, click on APK.
After that, under Current APK, click on the link labeled See Supported Devices
Source: support.google.com
Also, some devices aren't able to download because you specified (for example) a minSdkVersion of 16 and the device which wants to access is only on Gingerbread 2.3.3 API 10.
Or if you wrote in the manifest, your app urgently needs a big screen, some device won't be able to see it in the store, because the device is against the requirements of your app.
Nono no, it's not only the SDK. Check if the Device allows ALL your permissions. If you want to have some permissions which are optional you can use use-features like
<uses-feature
android:name="android.hardware.camera.autofocus"
android:required="false" />
Means. SDK AND Permissions must match.

Upload fails on google play even after adding android:debuggable="false"

I am trying to upload my apk to the google store and it says You uploaded a debuggable APK. For security reasons you need to disable debugging before it can be published in Google Play.
I have added android:debuggable="false" and i am signing it in release mode with a unique key still I am getting the error. I am building using xamarin
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.mycompApp.MyApp" android:versionCode="1" android:versionName="1.0" android:installLocation="auto">
<application android:label="MyApp" android:icon="#drawable/Icon" android:hardwareAccelerated="true" android:debuggable="false">
<activity android:name=".MainActivity" android:label="MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"></activity>
<!-- Only C2DM servers can send messages for the app. If permission is not set - any other app can generate it -->
</application>
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="14" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.WRITE_CALENDAR" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_OWNER_DATA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
The problem was that the androidmanifest.xml was showing some windows encoding instaed of and this was not throwing any error in xamarin. i changed it to utf-8 and it got uploaded
Xamarin Studio doesn't always update well changes in AndroidManifest. I could solve the same issue by manually deleting the Droid/obj/Release/android folder in my project directory, then clean + build + package. The new package was accepted by Google Play.

Android - App not showing in Market for some devices

we already searched a lot of similar topics on StackOverflow and in other forums but haven't managed to solve this issue so far.
We developed an Android application that is missing from the market for some devices. It uses geo-data and the camera extensively. The "Copy Protection" is already off, and we can't figure why it isn't showing on some devices that appear to be completely compatible.
The manifesto is as follows:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.syncmobile.riogastronomia"
android:versionCode="5"
android:versionName="1.2.1" >
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.SET_ORIENTATION" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature android:name="android.hardware.camera" android:required="true"/>
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<supports-screens
android:xlargeScreens="false"
/>
<application
android:icon="#drawable/icon"
android:label="#string/app_name" >
<activity
android:name=".Splash" android:label="#string/app_name"
android:theme="#android:style/Theme.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</manifest>
Devices that we're having problem with so far:
Model: Xperia x10 | Model Number: X10i | Android Version: 2.3.3
If you would like to see if it shows up in your device the app name is: "Rio Gastronomia"
Thank you all beforehand for your precious time. =D
Update:
I opened the app direct URL in the browser and I got this message from the market:
Your content filtering level doesn't allow you to download this item.
The app maturity level is set to low.
So... after getting this error from the market I tried switching my filtering configuration. It was set to "Everyone", when I set it to "All Apps" I could finally see the app in the market. But I can't change the settings in my users devices, so what should I do to get people that have "Everyone" set to see our app?
(The app is set to "Low Maturity" cause the option "Everyone" was disabled by Google Play)

Categories

Resources