Android Programming with Android Studio: Difference between revisions

From Variscite Wiki
No edit summary
 
Line 14: Line 14:
Refer to: https://developer.android.com/studio/debug/
Refer to: https://developer.android.com/studio/debug/


Before you go to step no 2, verify the devkit is present.  
Before you go to step no 2, verify the devkit is present. <br>
To verify the device is present run below commands
To verify the device is present run the below commands:
<syntaxhighlight lang="bash" line>
<syntaxhighlight lang="bash" line>
  $ adb devices
  $ adb devices
</syntaxhighlight>
</syntaxhighlight>
You should see below output
You should see below the output:
<syntaxhighlight lang="bash" line>
<syntaxhighlight lang="bash" line>
  $ adb devices
  $ adb devices
Line 25: Line 25:
  0a2299d4e6fe1111        device
  0a2299d4e6fe1111        device
</syntaxhighlight>
</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 the above output, proceed with step 2 and onwards as per the instructions: 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.}}

Latest revision as of 19:26, 12 September 2023

VAR-SOM-MX6 - Android Nougat - 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 the below commands:

 $ adb devices

You should see below the output:

 $ adb devices
 List of devices attached
 0a2299d4e6fe1111        device

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

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