Unable to install android app via usb debugging

前端 未结 11 1578
鱼传尺愫
鱼传尺愫 2021-02-19 02:52

I know this is an old question but I am trying to install my app the very first time on Redmi note 4. Whenever i try to install it displays a dialog saying..

Installatio

相关标签:
11条回答
  • 2021-02-19 03:14

    Open

    1.File 
    2.Settings 
    3.Build,Execution,Deployment
    4.Instant Run  
    5.Un-check (Enable Instant Run to hot swap code)
    

    Its work for me..

    0 讨论(0)
  • 2021-02-19 03:16

    I didn't have to turn off MIUI optimizations (using MIUI v8.5.3.0 MAGCNED). In my case I was blocked by the MIUI security system.

    Go to Settings > Additional settings > Developer Options

    1. Turn ON USB Debugging
    2. Turn ON install via USB
    3. Turn OFF Verify apps over USB.

    Once you do this MIUI will prompt you whether you want to install your app. You only need to accept permission once.

    One strange issue I notice is that I cannot enable install via USB without sim card. However, Once it is enabled I am able to remove the sim.

    0 讨论(0)
  • 2021-02-19 03:17

    In my case Faced the Same Issue with My Redmi 3s PRIME and I can't able to enable the Install Via USB and it asks to connect Network So I tried the Following Method and luckily it works...!!

    1. Open Inbuilt Securit App.

    2. Click On Optimize. (While Scanning, It Disables the Developer Option )

    3. Now Open Settings->About Phone-> Tap On MIUI Version to Enable the Developer Option

    4. Open Additional Settings -> Developer Options.

    5. Now Re-enable the USB Debugging it automatically enables the Install Via USB

    6. In Android Studio Disable Instant Run Settings>Build, Execution, Deployment>Instant Run

    7. Now Run the App with Android Studio.

    0 讨论(0)
  • 2021-02-19 03:19

    This issue was happening on my phone which is Xiaomi Phones running on Miui 8. After turning off Miui Optimizations on Developer Settings, restarting the phone a recompiling the application it worked.

    have so much pain looking for this way. just scroll down to bottom and you will find it.

    0 讨论(0)
  • 2021-02-19 03:24

    The latest version of Android OS will have multiple user logins like admin and guest, whenever we install an app through USB debugging, that .apk file will be installed for all users in the mobile, Uninstall the .apk file from all the users including guest login.

    0 讨论(0)
  • 2021-02-19 03:25

    How to disabling Miui Optimizations

    This issue was happening on my phone which is Xiaomi Phones running on Miui 8. After turning off Miui Optimizations on Developer Settings, restarting the phone a recompiling the application it worked.

    for more detail: android gradle:2.3.0 install apk fail

    0 讨论(0)
提交回复
热议问题