80624

Android test application directly on device

Question:

is there a way to compile an apk and test it directly in an usb-attached device ? The emulator is way too slow for a fluid development.

Answer1:

Using eclipse, make sure the project is debuggable, software for the phone is installed on the computer. Set the phone to accept unknown recourses. First connect the phone, then start eclipse (sometimes the other way round results in the phone not being found) If you try to run the application eclipse should prompt you asking witch device to use. Click your phone and presto!

Recommend

  • how to attach debugger to device? chrome extention
  • Android java.lang.SecurityException for system app
  • Android doesn't show logcat messages
  • Bootstrap grid won't work using xs columns
  • “Application not installed” Error on Android
  • Fluid sticky footer using CSS
  • Where to get free math libraries for C/C++
  • bootstrap grid not working as expected [duplicate]
  • disablinging autorecover option for powepoint
  • How to lookup value with multiple criteria in excel 2007 and newer
  • Retrieving a contacts notes
  • Reloading table causes flickering
  • Installing apk from within application in android
  • Toolbar shifts up, when soft keyboard appears
  • Loop animation drawable
  • How to merge two Request in Laravel
  • Unique SMS sender id?
  • Gray line inside cardview :)?
  • Is looping through all style sheets and classes a good idea in JavaScript?
  • Wrapping text in spinner android
  • Any nice way to generate a timeline view of commits from subversion?
  • How to resolve permission denied maybe missing internet permission?
  • Local Development, Apache vs Developer - file permissions
  • Synchronize windows folders
  • Does Apportable support to build library binary (.a/.so)?
  • configure: error: no acceptable C compiler found in $PATH
  • Can I programmatically choose the Android layout folder?
  • Graphics.CopyFromScreen [Web application] + The handle is invalid
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Does Mobilefirst provide a provision to access web services directly?
  • Eclipse CDT error: Unable to compile
  • ADO and msqli connections very slow
  • Switching to Release Build causes runtime error in Web Reference
  • Asynchronous UI Testing in Xcode With Swift
  • Display issues when we change from one jquery mobile page to another in firefox
  • Deselecting radio buttons while keeping the View Model in synch
  • JSON with duplicate key names losing information when parsed
  • Jquery - Jquery Wysiwyg return html as a string
  • QuartzCore.framework for Mono Develop
  • How to get icons for entities from eclipse?