Android studio gives the following error after clicking “run app”
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_USER_RESTRICTED
List of apks:
[0] 'E:\MyProject\xxx\app\build\outputs\apk\debug\xxxxx_.apk'
Installation via USB is disabled.
Troubleshooting steps:
1. It may be that the USB installation is not enabled in the developer option. Check whether it is enabled and try again
2. It is possible that the application tag of androidmanifest.xml has been added
android:appComponentFactory=""
tools:replace="android:appComponentFactory"
Delete this attribute and try again.
Read More:
- [Solved] Phone Debug Program Error: The application could not be installed: INSTALL_FAILED_TEST_ONLY
- [Solved] The application could not be installed: INSTALL_FAILED_NO_MATCHING_ABIS
- [Solved] Android Studio 4 Error: The application could not be installed: INSTALL_FAILED_OLDER_SDK
- [Solved] Android12 Download Error: The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
- [Solved] Installation failed due to: ‘INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package com.
- [Solved] Xcode13.1 Upgrade Error: CocoaPods installed but not working Failed to build gem native extension
- Error while trying to run project:unable to start debugging.the debugger is not properly installed. run setup to install or repa
- [Solved] PySide2 Error: This application failed to start because no Qt platform plugin could be initialized
- [Solved] INSTALL_FAILED_DEXOPT (DEX optimization verification failed)
- [Solved] Failed to install the following Android SDK packages as some licences have not been accepted
- Postgis Install Error: could not load library “C:\……“:The specified module could not be found.
- Rabbitmq Install Error (You have already installed the higher version of Erlang)
- Rendering Problems The following classes could not be instantiated: xml layout file could not be loaded
- [Solved] Installing github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest FAILED和cannot install, GOBIN must be an ab
- [Solved] Keil Error: *** ERROR L250: CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED
- Android Studio HAXM is not installed [How to Solve]
- [Solved] Android Studio APK install Error: INSTALL_FAILED_CONFLICTING_PROVIDER
- [Solved] error: password authentication failed for user “postgres”
- [Solved] Android-android studio apk Install Error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
- Spark-shell startup error: Yarn application has already ended! It might have been killed or unable to launch application master