Android error: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE] - apk

I'm getting this error and don't know how to fix this:
When trying to run an Android app on a real device (NEXUS4(rooted) in my case) I'm getting the following error in the Console:
pkg: /data/local/tmp/test.apk
Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
I've try to google this error and have got some solutions:
Delete the source with "android.uid.system".
->The error fixed but I need to use SharedUserID for system permission so I can't take this.
Use platform.pk8 and platform.x509.pem from "build\target\product\security" to signature my app.
->Same error occured.
Add my own UID(the xml below(copied from system)) into packages.xml and reset.
->The app disappeard from my phone after reset. I've no idea why I can't see it.
<shared-user name="android.uid.cc" userId="10910">
<sigs count="1">
<cert index="2" />
</sigs>
<perms>
...
</perms>
</shared-user>
None of these solutions solved the problem.
My andriod version is 4.4.2.
Any help would be greatly appreciated! Thanks.

In other answer INSTALL_FAILED_SHARED_USER_INCOMPATIBLE while using shared user id they describe to do:
I got the solution for now .I followed the steps as follows
1) Removed existing application (if it is already installed )
2) Removed share user ID from android manifest
3) Bulid the application.
4) Now enter share user ID again
5) build the application 1 more time
and It works !!!
Thanks to Hemant

I met this error too, when run application show a dialog, most message is saying
INSTALL_FAILED_SHARED_USER_COMPATIBLE
Except this error above you mentioned, and another error in my logcat is:
Error using StatusBarManagerService - java.lang.SecurityException on android.permission.STATUS_BAR
Lastly, add platform debug key fixed it.

Related

System Extension Validation Fails

im trying to submit a Network Extension activation request but i get this error.
The operation couldn’t be completed. (OSSystemExtensionErrorDomain error 9.)
I looked it up and apparently it means "validationFailed". Is there a way to debug this because i cant seem to figure out why the validation is failing. Thanks.
Finally found the solution. You need to set the NEMachServiceName property on the Info.plist of the extension to match the app group name.

Azure App Service recently started throwing an error: Could not load file or assembly 'Microsoft.EntityFrameworkCore, Version=2.1.4.0

I didn't change anything, and my Azure App Service started throwing the error:
An error occurred while starting the application.
FileLoadException: Could not load file or assembly'Microsoft.EntityFrameworkCore, Version=2.1.4.0 ...
Which seemed odd, so I tried adding Microsoft.EntityFrameworkCore v2.1.4 with Nuget, and from that i just get a white error screen with
This page isn’t working
[WEBSITE] is currently unable to handle this request.
HTTP ERROR 500
With no other errors.
This all works perfectly fine locally (as always...) - I am not sure where to go from here? Any ideas? Thank you.
The error is because of the different versions between packages.
Please use this command in PM.
Install-Package Microsoft.VisualStudio.Web.CodeGeneration.Design -Version 2.0.3
For more details, you could refer to this issue.

Why Push Notification is not working on Android?

I had push notifications working some time ago, but it is not working anymore.
Is there any issue with Android 8.0?
I did not change the AndroidManifest.xml since the last working version and I checked up the http://docs.gluonhq.com/samples/pushnotes example again.
When sending the message and running the logcat I get the following error message:
No Channel found for pkg=[myPackageName], channelId=null, id=123456, tag=null, opPkg=[myPackageName], callingUid=10298, userId=0, incomingUserId=0, notificationUid=10298, notification=Notification(channel=null pri=2 contentView=null vibrate=default sound=null defaults=0x2 flags=0x10 color=0x00000000 category=event vis=PUBLIC)
This one too:
The Google Play services resources were not found. Check your project configuration to ensure that the resources are included
Any help appreciated!

Unable to lookup the settings for submission for the application at this time due to a general error

When I try upload my app to app store I get the following error: "Unable to lookup the settings for submission for the application at this time due to a general error". Have anyone ever get this message? Is it due to an Apple developer portal problem?
IDEDistribution.critical.log:
2017-01-06 15:32:14 +0000 The store submission configuration response failed with errors: (
"Error Domain=ITunesConnectionOperationErrorDomain Code=1614 \"Unable to lookup the settings for submission for the application at this time due to a general error\" UserInfo={NSLocalizedRecoverySuggestion=Unable to lookup the settings for submission for the application at this time due to a general error, NSLocalizedDescription=Unable to lookup the settings for submission for the application at this time due to a general error, NSLocalizedFailureReason=iTunes Store operation failed.}"
), warnings: (
), info messages: (
).
2017-01-06 15:32:16 +0000 [MT] Presenting: Error Domain=ITunesConnectionOperationErrorDomain Code=1614 "Unable to lookup the settings for submission for the application at this time due to a general error" UserInfo={NSLocalizedRecoverySuggestion=Unable to lookup the settings for submission for the application at this time due to a general error, NSLocalizedDescription=Unable to lookup the settings for submission for the application at this time due to a general error, NSLocalizedFailureReason=iTunes Store operation failed.}
I have found the solution, before uploading the app by xcode, you should create the app at http://itunesconnect.apple.com/
I had the same issue, and after playing around I realized that when updating a new version of an app, the "Bundle ID" must match the original version "Bundle ID".
Matching the Bundle ID to my version 1.0 upload solved the problem.
I got the same problem, and I realized I made spelling mistake of bundle Id...
I'm getting the same for the last couple of hours.
From the verbose.log:
Bundle ID based store submission configuration response received = (null)
Looks like a problem at their end.
I had this same problem and I went to analyze my account on Itunes, I realized that I was as a Developer. To create apps and send versions to iTunes you must also have access to the Application Manager function
In Itune connect,App info: group ID + suffix ID must be as same as your Bundle ID in Xcode Info.plist
In my case the problem was that I had specified the wrong bundle ID in my app settings in xCode. It didn't match the bundle ID I had specified in iTunes connect.
Basically this setting in xCode:
Needs to match this setting in iTunes Connect:

Submit app windows phone fail

I submit app on windows phone store. I receive messages:Certification failed. In error file Microsoft send for me, they don't show detail error for me. Nomally, If my app has error, I will receive message "Result: Failed", number of error in error file. I dont' know error in my app can't repair it. What is solution for that, please tell me.
Detail my error file:
Application Test Details:
Capabilities Tested: Networking
Language(s): Vietnamese
Result: None
Failure Summary:None
Exception(s) Applied:None
Thanks!!!
I'm feeling your pain, I've been there before. This site should describe all errors that will be caught during app submission:
http://msdn.microsoft.com/en-us/library/windowsphone/help/jj206735(v=vs.105).aspx

Resources