Note that there are some explanatory texts on larger screens.

plurals
  1. POset up device for development (???????????? no permissions)
    primarykey
    data
    text
    <p>I am using a Samsung galaxy nexus phone (<strong>Android 4.0</strong> platform) .</p> <p>I am developing Android app on Ubuntu linux OS. I would like to run my application directly on the Samsung handset device, so I performed the following setup steps:</p> <ol> <li><p>in my project <code>AndroidManifest.xml</code> file, added <code>android:debuggable="true"</code> to the <code>&lt;application&gt;</code> element</p></li> <li><p>On the device, in the <strong>Settings > Security</strong> enabled <strong>Unknown sources</strong></p></li> <li><p>On the device, in the <strong>Settings > Developer options</strong> enabled <strong>USB debugging</strong></p></li> <li><p>On my computer, created the <code>/etc/udev/rules.d/51-android.rules</code> file with the following content:</p> <pre><code>SUBSYSTEM=="usb", ATTR{idVendor}=="04E8", MODE="0666", GROUP="plugdev" </code></pre></li> <li><p>On my computer, run the <code>chmod a+r /etc/udev/rules.d/51-android.rules</code> command</p></li> </ol> <p>Then, on my computer I opened a terminal and executed the <code>adb devices</code> command, I got:</p> <pre><code>List of devices attached ???????????? no permissions </code></pre> <p>Since I did not see my device but only <code>???????????? no permissions</code>, I then run the following commands:</p> <pre><code> adb kill-server adb start-server adb devices </code></pre> <p>But I still got:</p> <pre><code>List of devices attached ???????????? no permissions </code></pre> <p>Why? What am I missing?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload