How to install an app .apk on UDOO ?

Discussion in 'General Discussion' started by Marie, May 5, 2014.

  1. Marie

    Marie New Member

    Joined:
    May 5, 2014
    Messages:
    5
    Likes Received:
    0
    I try to install an application on UDOO Android so I try this tutorial with Android and Arduino on UDOO – Simple Hello World tutorial but I don't know why my UDOO device is unknown.
    I typed adb connect 192.168.1.127
    And the response is :
    unable to connect to 192.168.1.127:5555
    When I type adb devices, I have nothing.
    I work on Linux and I connected my UDOO on wireless WIFI, I connected my USB cable on CN6, I downloaded ADB wireless on UDOO and its IP address is 192.168.1.127.

    It doesn't work and I don't know why, can you help me please
     
  2. stephano

    stephano New Member

    Joined:
    Feb 11, 2014
    Messages:
    6
    Likes Received:
    0
    I just install by putting my apk on the SD card, browsing to the folder with the apk in it, and typing:

    pm install myapp.apk

    Hope that helps.

    Cheers!
     
  3. ekirei

    ekirei Administrator

    Joined:
    Jun 14, 2013
    Messages:
    78
    Likes Received:
    3
    To install an application you can also put the .apk in a USB pendrive, browsing to the folder with the ES File Explorer and install by a click.

    However i usually use adb wireless to program new apps in UDOO with Android and only very few times i received the "unable to connect to" but after some try it worked.
    I always thought of some network problems because this happens sometimes with my smartphone too.

    Why you connect the usb cable if you are working with adb wireless?
     
  4. Marie

    Marie New Member

    Joined:
    May 5, 2014
    Messages:
    5
    Likes Received:
    0
    Thank you for your reply

    I can't use Adb Wireless because it tell me that my kernel must be in root. So that doesn't work.

    But I have solved my problem with this procedure :
    I create a file /etc/udev/rules.d/51-android.rules
    I put into that line SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
    In command line :
    sudo service udev reload
    adb devices
    adb install -r Application.apk

    Just before this line above, we have to put in developer option check the external OTG port enable and USB debugging in the UDOO.
     

Share This Page