Forum Discussion

MohammedKhalil's avatar
MohammedKhalil
Occasional Contributor
2 years ago

Appium Server

Hello I have This Error when I need to connect the real device with Local Appium

 

My data

Spoiler
 

 

5 Replies

  • Looks like the device refused the connection. Can you try enabling USB Debugging under Developer Options?

    • MohammedKhalil's avatar
      MohammedKhalil
      Occasional Contributor

      Yes I can Enable it
      Note:my device Redmi note 11pro + 5g Android 12

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Are you able to install your apk manually from the command prompt?

     

    adb install example.apk
    
    or 
    
    adb -s emulator-5554 install example.apk

     

     

    • MohammedKhalil's avatar
      MohammedKhalil
      Occasional Contributor

      I Think  you mean install via USB I am Already Enable it

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Ignore my statement about "Install unknown apps". However, you should be able to run the adb command from the command prompt to see the full error message, which will help in diagnosing any issues.

     

    I'm not sure if your app is built in x86 or x64? Memory may be full? Could be invalid package name due to capital letters being used?