Android Programming with Android Studio: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 16: Line 16:
Before you go to step no 2, verify the devkit is present.  
Before you go to step no 2, verify the devkit is present.  
To verify the device is present run below commands
To verify the device is present run below commands
<source lang="bash">
<syntaxhighlight lang="bash" line='line'>
  $ adb devices
  $ adb devices
</source>
</syntaxhighlight>
You should see below output
You should see below output
<source lang="bash">
<syntaxhighlight lang="bash" line='line'>
  $ adb devices
  $ adb devices
  List of devices attached
  List of devices attached
  0a2299d4e6fe1111        device
  0a2299d4e6fe1111        device
</source>
</syntaxhighlight>
If you see above output, proceed with step 2 and onwards as per the instruction: https://developer.android.com/studio/debug/
If you see above output, proceed with step 2 and onwards as per the instruction: https://developer.android.com/studio/debug/
{{note|Please don't use emulator instruction mentioned there as the physical device({{#var:HARDWARE_NAME}}) already present.}}
{{note|Please don't use emulator instruction mentioned there as the physical device({{#var:HARDWARE_NAME}}) already present.}}

Revision as of 15:08, 20 May 2020

VAR-SOM-MX6 - Android Nougat N7.1.1 - Programming with Android Studio

Debugging With Android Studio

Android Studio And Hello World APK

Create a Hello World APK Refer to: Hello World 'APK' application

Setting up ADB/Fast Boot for the DevKit

Refer to: Adb and Fastboot

Debugging with Android Studio and DevKit

Refer to: https://developer.android.com/studio/debug/

Before you go to step no 2, verify the devkit is present. To verify the device is present run below commands

 $ adb devices

You should see below output

 $ adb devices
 List of devices attached
 0a2299d4e6fe1111        device

If you see above output, proceed with step 2 and onwards as per the instruction: https://developer.android.com/studio/debug/

Please don't use emulator instruction mentioned there as the physical device(VAR-SOM-MX6) already present.