Android Programming with Android Studio: Difference between revisions

From Variscite Wiki
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=Debugging With Android Studio=
<!-- Set release according to "release" parameter in URL and use RELEASE_N7.1.1_1.0.0_VAR-SOM-MX6 as default
==Android Studio And Hello World APK==
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
--> {{#lst:Android_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_N7.1.1_1.0.0_VAR-SOM-MX6}}}} <!--
--> {{PageHeader|{{#var:HARDWARE_NAME}} - {{#switch: {{#var:ANDROID_NAME}} | Android 10 = {{#var:ANDROID_NAME}} | Android 11 = {{#var:ANDROID_NAME}} | | Android 12 = {{#var:ANDROID_NAME}} | Android 13 = {{#var:ANDROID_NAME}} | Android {{#var:ANDROID_NAME}} }} - Programming with Android Studio}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Android}} __toc__
= Debugging With Android Studio =
== Android Studio And Hello World APK ==
Create a Hello World APK  
Create a Hello World APK  
Refer to: {{Varlink|Android Hello World|{{#var:RELEASE_LINK}}|Hello World 'APK' application}}
Refer to: {{Varlink|Android Hello World|{{#var:RELEASE_LINK}}|Hello World 'APK' application}}
Line 10: 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>
  $ adb devices
  $ adb devices
You should see below output
</syntaxhighlight>
 
You should see below the output:
<syntaxhighlight lang="bash" line>
  $ adb devices
  $ adb devices
  List of devices attached
  List of devices attached
  0a2299d4e6fe1111        device
  0a2299d4e6fe1111        device
If you see above output, proceed with step 2 and onwards as per the instruction: https://developer.android.com/studio/debug/
</syntaxhighlight>
 
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 it is physical devices 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.