Saturday, July 30, 2022

How To Learn Android Development Directly On Android

  


1) Download OVA file.

https://archive.org/download/android-vbox/Android44-AIDE.ova 

2) Import OVA into VirtualBox

you may need to edit settings ...

2.1) USB 2.0 = disable

2.2) Network Adapter = NAT

2.3) Graphics Controller = VboxVGA


3) Run


How To Run Android On VirtualBox

 


1) Download OVA file.

https://archive.org/download/android-vbox/Android44.ova


2) Import OVA into VirtualBox

you may need to edit settings ...

2.1) USB 2.0 = disable

2.2) Network Adapter = NAT

2.3) Graphics Controller = VboxVGA


3) Run


How To Solve: Hyper V Not Running In AMD Ryzen

 


How to Run AVD with AMD Ryzen CPU in Android Studio?

Change some options in BIOS. 

1) Restart your machine.

2) Enter the BIOS menu.

3) Search for the SVM Mode option and ENABLE it. 

4) Search for the UMA Frame Buffer Size row and set it to AUTO.


https://sunnylib.com/how-to-run-avd-with-amd-ryzen-cpu-in-android-studio/

How To Solve: Microsoft Hyper V cannot Install on Windows 10 Home

 

.

Hyper-V is a Microsoft-owned Windows Hypervisor platform (Type-1) that allows users to run virtual machines with high performance. However, if you are using Windows 10 Home Edition, then you will not have the “Hyper-V” option in the “Turns Windows feature on or off” to run virtual computers because it is available only for Windows 10  Professional, Education, and Enterprise Editions (know the difference). However, still, there is a way to easily download, install and enable the Hyper-V feature on Windows 10 Home using the command line.

https://www.how2shout.com/how-to/download-and-install-hyper-v-on-windows-10-home.html

Here are the simple steps that we can follow to download and install Hypervisor using a Command-line script.

Script to download Hyper v for Windows 10 home. ...

Run Hyper-V Enabler Batch file. ...

Feature installation will start. ...

Restart your Windows 10 System. ...



How To Solve: Android Studio Error: Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.

  


Error: 

Android Studio Error: Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.


Solution:

go to the folder ...

1) ...\sdk\build-tools\33.0.0\...

rename d8.bat as dx.bat

2) ...\sdk\build-tools\33.0.0\lib\...

rename d8.jar as dx.jar


Reference:

https://ourcodeworld.com/articles/read/1591/how-to-solve-android-studio-error-installed-build-tools-revision-3100-is-corrupted-remove-and-install-again-using-the-sdk-manager




Friday, July 29, 2022

How To Solve: Android Studio error: "Manifest merger failed: Apps targeting Android ... "

  

.

Error:

Android Studio error: "Manifest merger failed: Apps targeting Android ... "


Solution:

Android Official Reference says ...

If the app component includes the LAUNCHER category, set android:exported to true. In most other cases, set android:exported to false.


Therefore, edit manifest file, specify android:exported="true".


<activity
    android:name=".MainActivity"
    android:exported="true"
    android:theme="@style/Theme.MyApplication.NoActionBar">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
</activity>


.

Reference:

https://developer.android.com/about/versions/12/behavior-changes-12#security

Wednesday, July 27, 2022

How To Install Android Studio On ChromeBook / ChromeOS

 


1) Read AndroidStudio official info

https://developer.android.com/studio/install#chrome-os 


2) Installation steps

2.1) Activate Debian Linux on ChromeBook

2.2) Download AndroidStudio for ChromeBook

2.3) Browse for the downloaded file and run installation















It took 7 minutes in asus chromeos