INSTALL_FAILED_DUPLICATE_PERMISSION error message - adb

So I've been trying to install the google app via ADB, but when i do it i get the following error:
[INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.google.android.googlequicksearchbox attempting to redeclare permission com.google.android.apps.now.OPT_IN_WIZARD already owned by com.google.android.apps.assistant]
I already tried with another app and it worked, im not really sure why this error shows up. Any help?

Related

error trying to load the config "relay" for the macro imported from "babel-plugin-relay/macro"

We are trying to upgrade our react project to latest packages including relay (7.0.0). Our application builds and works but we are getting this error message in the console (during build) on every file where we import graphql from 'babel-plugin-relay/macro'. We are doing exactly like documented here adding relay
The error is "There was an error trying to load the config "relay" for the macro imported from "babel-plugin-relay/macro. Please see the error thrown for more information." It is coming from \node_modules\babel-plugin-macros\dist\index.js in getConfig( ).
To understand how other projects were configured, I downloaded another sample relay project / installed it and it had the same problem. Interesting enough there was this recent post in that app's issues list error loading config
The solution noted worked for me (adding that noted .babel-plugin-macrosrc.yml file with empty relay plugin?) but I am not understanding why this is needed or what was causing this seemingly benign error message?

Error running the app after updating to Android Studio 3.4.1

After updating to Android Studio 3.4.1, I was checking my app and came to understand that there is no error while debugging/building the app, but there is an error while running the app.
Ends up with an error something like below
error: duplicate value for resource 'attr/pivotX' with config ''.
error: resource previously defined here.
app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml: error: file failed to compile.
Guys I got the answer for the question...
Its in your .gradle file where you need to change the attribute name of the pivotX (attribute name shown in the error).
Location : C:\Users\.gradle\caches\transforms-1\files-1.1\constraint-layout-2.0.0-beta1.aar\85a709bd4659f28dc59c0ee0faf968d5\res\values\values.xml
check for the line number in the error and in the same line check for the attribute name and change it to other name and save.
This solved my issue.

CI/CD pipeline deployment of AngularJS1.5.11 to azure websites giving error "Failed to instantiate module app.core due to Unknown provider: ENV_VARS"

after deploying the "AngularJs_1.5.11" app to "azure-websites" using "azure-devops" continuous-integration and deployment gives error:
[$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module app.core due to:
Error: [$injector:unpr] Unknown provider: ENV_VARS
below is the screenshot of the error while accessing the AngularJS azure-website :
also find below screenshot of my build pipeline in azure-devops which deploys AngularJS application build to "azure-websites"
below screenshot is my application code in VSCode
I just started working on this new project which uses AngularJS_1.5.11 so I have no clue what is going wrong. I tried these links
unknown ENV provider in AngularJS from stack but as I am new to AngularJS I have no idea where to apply the changes in my code mentioned in the link.
Any suggestions would be of great help.
Edit:
#Mark if you look at the screenshots below you will come to know how we are setting "ENV_VARS" in the code using "gulp.js, env.config.js, config.json" file
Edit1:
#Mark please find the screenshot of the 'config.js' file which gets created in the gulp task 'ng-config' using source file 'config.json' under "./src/client/app/config.js"
Here are the docs regarding the knowledge relevant to this issue.
Somewhere in your program, it is trying to reference one or more members defined in an angular provider registered as "ENV_VARS". Providers are angularjs objects that are available during compile time (see the table row for "object available in config phase" in this SO answer)
I would search the source of the application to see if this provider was further configured elsewhere (you can search by its name 'ENV_VARS') as it may not be getting sent over with your other source files.
To attempt a quick fix:
On the first line of your app.module.js, change it to this
angular.module('app.config', []).constant("ENV_VARS", {});
This will likely result in another error, but it should pinpoint you to what is trying to access this provider. I'm assuming this is either inherited code or from a purchased template so you may want to investigate the sources to that if possible.

React, Firebase Auth error

I have been getting this error when trying to authenticate using firebase with react.
I was able to log in after i updated all the Node_modules, but when i get the logged in user data from firebase i get this error code.
O {code: "auth/argument-error", message: "toJSON failed: First argument must be a valid string."}
I have been creating a file almost identical to this repo.
https://github.com/TaylorRayHoward/ReactReduxMessageBoard/tree/Video2
Even if i run this code, I'm unable to login and i still get the same error.
I have found the solution...
When i was using the redux devtools with google chrome the error came up. Now when i have removed the code from my application, the error does not exist any more.

Smartface gives error while trying to run

When I try to run my app on the emulator in Smartface App Studio, I get an error. It so interesting, i tried something to fix it and googled to find a solution lots of times. But i got nothing.
Checking Android SDK Configuration.Searching for Devices...Device found: Faea HY509SGenerating Exporting Packages for Android profile:"Default"Pages, JavaScripts files are preparingProject resources are preparingDatasets are preparingInstallation packages are creatingInstalling Emulator...Application could not install toError Message : pkg: /sdcard/SmartfaceEmulator.apkFailure [INSTALLFAILEDCONTAINER_ERROR]
Same issue again? Please refer to Troubleshooting document!Sorry, an error occured during launching! Please try to launch from your device.
The problem is about Manifest configuration.
I guess you changed some part of it.
There is a manifest entry like android:installLocation
it should be auto like;
android:installLocation="auto"
Smartface.io Team

Resources