<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Installation Guide on KnightLi Blog</title>
        <link>https://knightli.com/en/tags/installation-guide/</link>
        <description>Recent content in Installation Guide on KnightLi Blog</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <lastBuildDate>Sat, 16 May 2026 17:34:59 +0800</lastBuildDate><atom:link href="https://knightli.com/en/tags/installation-guide/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>Running Android Apps on Ubuntu 26.04 LTS: Waydroid Setup and Practical Notes</title>
        <link>https://knightli.com/en/2026/05/16/ubuntu-2604-lts-run-android-apps-waydroid/</link>
        <pubDate>Sat, 16 May 2026 17:34:59 +0800</pubDate>
        
        <guid>https://knightli.com/en/2026/05/16/ubuntu-2604-lts-run-android-apps-waydroid/</guid>
        <description>&lt;p&gt;On Ubuntu 26.04 LTS, the most practical way to run Android apps is still &lt;code&gt;Waydroid&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Waydroid is not a traditional Android emulator. It runs a LineageOS-based Android system inside a Linux container. The benefit is lower overhead and better desktop integration; the limitation is that it depends heavily on Wayland, kernel features, graphics drivers, and each app&amp;rsquo;s compatibility.&lt;/p&gt;
&lt;p&gt;If you only need to occasionally open an Android utility, test an APK, or run lightweight apps, Waydroid is worth trying. If you want to play heavy mobile games, rely on banking apps, or use Google services heavily, keep expectations modest.&lt;/p&gt;
&lt;h2 id=&#34;check-whether-it-fits-your-setup&#34;&gt;Check whether it fits your setup
&lt;/h2&gt;&lt;p&gt;Ubuntu 26.04 LTS was released on April 23, 2026. The official desktop requirements include at least a 2 GHz dual-core CPU, 6 GB of RAM, and 25 GB of storage. Waydroid needs additional disk, memory, and graphics resources, so a more comfortable baseline is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;8 GB of RAM or more;&lt;/li&gt;
&lt;li&gt;at least 10 GB of free disk space;&lt;/li&gt;
&lt;li&gt;a working Wayland session;&lt;/li&gt;
&lt;li&gt;recent Intel, AMD, or NVIDIA graphics drivers;&lt;/li&gt;
&lt;li&gt;acceptance that some Android apps will not work perfectly.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Waydroid&amp;rsquo;s documentation also notes that Ubuntu 22.04 and later desktops need a Wayland session. Ubuntu 26.04 LTS defaults more strongly to Wayland, which actually helps here.&lt;/p&gt;
&lt;h2 id=&#34;install-waydroid&#34;&gt;Install Waydroid
&lt;/h2&gt;&lt;p&gt;Install the basic dependencies first:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt install curl ca-certificates -y
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Add the official Waydroid repository:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;curl -s https://repo.waydro.id &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; sudo bash
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Then install Waydroid:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt install waydroid -y
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;After installation, you can start Waydroid from the app menu or from the terminal.&lt;/p&gt;
&lt;h2 id=&#34;initialize-android&#34;&gt;Initialize Android
&lt;/h2&gt;&lt;p&gt;On first launch, Waydroid needs to initialize the Android system image. The default image is usually enough.&lt;/p&gt;
&lt;p&gt;If the graphical flow does not appear, start the container manually:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo waydroid container start
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Then start the user session:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;waydroid session start
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Open the full Android UI:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;waydroid show-full-ui
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You should now see an Android tablet-like interface. Apps you install later can be opened inside Waydroid, and some may appear in Ubuntu&amp;rsquo;s app launcher.&lt;/p&gt;
&lt;h2 id=&#34;install-apk-files&#34;&gt;Install APK files
&lt;/h2&gt;&lt;p&gt;If you already have an APK file, install it directly:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;waydroid app install app.apk
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;List installed apps:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;waydroid app list
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Launch an app by package name:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;waydroid app launch com.example.app
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;This is useful for F-Droid, open-source tools, test builds, or your own APKs. Avoid random APKs from unknown sources, especially apps that ask for accounts, payments, contacts, or SMS permissions.&lt;/p&gt;
&lt;h2 id=&#34;multi-window-mode&#34;&gt;Multi-window mode
&lt;/h2&gt;&lt;p&gt;By default, Waydroid feels more like one full Android window. If you want Android apps to appear as separate desktop windows, enable multi-window mode:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;waydroid prop &lt;span class=&#34;nb&#34;&gt;set&lt;/span&gt; persist.waydroid.multi_windows &lt;span class=&#34;nb&#34;&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Restart the session:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;waydroid session stop
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;waydroid session start
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;After that, launched apps should behave more like normal desktop windows. The experience still depends on the app, desktop environment, and graphics drivers.&lt;/p&gt;
&lt;h2 id=&#34;should-you-install-google-play&#34;&gt;Should you install Google Play?
&lt;/h2&gt;&lt;p&gt;Waydroid is not the same as a fully Google-certified Android device.&lt;/p&gt;
&lt;p&gt;Many users really want Google Play, Google Play Services, and apps that depend on Google&amp;rsquo;s framework. This can be configured, but it is not a stable production assumption:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Google services involve device certification and account risk checks, so login behavior can change.&lt;/li&gt;
&lt;li&gt;Some apps check SafetyNet, Play Integrity, root status, virtual environments, or device fingerprints.&lt;/li&gt;
&lt;li&gt;Banking, payment, games, and streaming apps are more likely to fail.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For ordinary tools, prefer F-Droid, open-source APKs, or apps that do not require Google services. That usually fits a Linux desktop better.&lt;/p&gt;
&lt;h2 id=&#34;common-issues&#34;&gt;Common issues
&lt;/h2&gt;&lt;p&gt;If the screen is black after launch, first confirm that you are using Wayland rather than X11:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;echo&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;$XDG_SESSION_TYPE&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;You should see:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;wayland
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;If the container is not running:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo waydroid container start
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;If the session is stuck, restart it:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;waydroid session stop
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;waydroid session start
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Check logs if the issue continues:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;waydroid log
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;NVIDIA users may see more graphics-stack issues. Ubuntu 26.04 LTS has better Wayland and NVIDIA support than older releases, but Waydroid is still not a normal native desktop app, so rendering, black-screen, or window problems can happen.&lt;/p&gt;
&lt;h2 id=&#34;how-it-differs-from-emulators-and-vms&#34;&gt;How it differs from emulators and VMs
&lt;/h2&gt;&lt;p&gt;Waydroid is closer to &amp;ldquo;Android in a container&amp;rdquo; than a full virtual machine.&lt;/p&gt;
&lt;p&gt;Its strengths are fast startup, low resource usage, and good desktop integration. Its weaknesses are host-system sensitivity, high graphics-stack dependency, and weaker fit for security-sensitive apps.&lt;/p&gt;
&lt;p&gt;Traditional Android emulators are better for development testing and device simulation, but they usually use more resources. Virtual machines provide stronger isolation, but graphics acceleration and desktop integration are often worse.&lt;/p&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Option&lt;/th&gt;
          &lt;th&gt;Best for&lt;/th&gt;
          &lt;th&gt;Main issue&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;Waydroid&lt;/td&gt;
          &lt;td&gt;Lightweight apps, APK testing, Linux desktop integration&lt;/td&gt;
          &lt;td&gt;Google services and some apps are unstable&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Android Studio Emulator&lt;/td&gt;
          &lt;td&gt;Development and device simulation&lt;/td&gt;
          &lt;td&gt;High resource usage, not ideal for daily users&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Virtual machine&lt;/td&gt;
          &lt;td&gt;Isolated testing and experiments&lt;/td&gt;
          &lt;td&gt;Graphics and performance are usually weaker&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;my-recommendation&#34;&gt;My recommendation
&lt;/h2&gt;&lt;p&gt;Treat Waydroid on Ubuntu 26.04 LTS as a supplementary tool, not a full Android tablet replacement.&lt;/p&gt;
&lt;p&gt;Good use cases:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;F-Droid tools;&lt;/li&gt;
&lt;li&gt;testing your own or downloaded APKs;&lt;/li&gt;
&lt;li&gt;temporarily using an Android app without a Linux version;&lt;/li&gt;
&lt;li&gt;keeping a lightweight Android environment on the Linux desktop.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Poor fits:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;long-term banking, payment, or securities apps;&lt;/li&gt;
&lt;li&gt;heavy mobile games;&lt;/li&gt;
&lt;li&gt;apps that strongly depend on Google Play certification;&lt;/li&gt;
&lt;li&gt;workflows that need reliable notifications, background services, location, Bluetooth, or camera access.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you only want to occasionally open Android apps on Ubuntu, Waydroid is the first option to try. It is not perfect, but setup is simple and it matches Ubuntu 26.04 LTS&amp;rsquo;s Wayland direction well.&lt;/p&gt;
&lt;h2 id=&#34;references&#34;&gt;References
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://docs.waydro.id/usage/install-on-desktops&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Waydroid: Install Instructions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://documentation.ubuntu.com/release-notes/26.04/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Ubuntu 26.04 LTS release notes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://canonical.com/blog/canonical-releases-ubuntu-26-04-lts-resolute-raccoon&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;Canonical: Ubuntu 26.04 LTS announcement&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        </item>
        <item>
        <title>How to Install and Run Gemma 4 on Android: Complete Getting-Started Guide</title>
        <link>https://knightli.com/en/2026/04/08/android-gemma4-install-run-guide/</link>
        <pubDate>Wed, 08 Apr 2026 17:55:53 +0800</pubDate>
        
        <guid>https://knightli.com/en/2026/04/08/android-gemma4-install-run-guide/</guid>
        <description>&lt;p&gt;If you want to run Gemma 4 offline on your phone, this guide walks you through the full process from setup to practical usage.&lt;/p&gt;
&lt;h2 id=&#34;step-1-get-the-app&#34;&gt;Step 1: Get the App
&lt;/h2&gt;&lt;p&gt;&lt;code&gt;Google AI Edge Gallery&lt;/code&gt; is currently not available on Google Play, so you need to install it via APK sideloading.&lt;/p&gt;
&lt;p&gt;On your Android device, go to:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Settings -&amp;gt; Apps -&amp;gt; Special app access -&amp;gt; Install unknown apps&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Then:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Find your browser (for example, Chrome or Firefox) and enable &amp;ldquo;Allow from this source.&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Open the &lt;code&gt;Google AI Edge Gallery&lt;/code&gt; GitHub Releases page in your mobile browser.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;URL: &lt;a class=&#34;link&#34; href=&#34;https://github.com/google-ai-edge/gallery/releases&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;https://github.com/google-ai-edge/gallery/releases&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Download the latest &lt;code&gt;.apk&lt;/code&gt; package.&lt;/li&gt;
&lt;li&gt;After the download completes, open the file from notifications or your file manager and follow the prompts.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;With a stable connection, this step usually takes around 2 minutes.&lt;/p&gt;
&lt;h2 id=&#34;step-2-open-the-app-and-grant-permissions&#34;&gt;Step 2: Open the App and Grant Permissions
&lt;/h2&gt;&lt;p&gt;When you first open &lt;code&gt;AI Edge Gallery&lt;/code&gt;, it will request storage permission to save model files. It&amp;rsquo;s best to allow this; otherwise, the app cannot download or load models.&lt;/p&gt;
&lt;p&gt;You will typically see these sections on the home screen:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Ask Image&lt;/code&gt;: Vision tasks (describe images, answer questions about photos)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;AI Chat&lt;/code&gt;: Standard text chat&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Summarize&lt;/code&gt;: Paste text and generate summaries&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Smart Reply&lt;/code&gt;: Generate reply suggestions&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For most users, &lt;code&gt;AI Chat&lt;/code&gt; is the primary entry point.&lt;/p&gt;
&lt;h2 id=&#34;step-3-download-a-gemma-4-model&#34;&gt;Step 3: Download a Gemma 4 Model
&lt;/h2&gt;&lt;ol&gt;
&lt;li&gt;Enter &lt;code&gt;AI Chat&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Tap &lt;code&gt;Get Models&lt;/code&gt; when prompted.&lt;/li&gt;
&lt;li&gt;Choose a Gemma 4 model from the list (model size is shown).&lt;/li&gt;
&lt;li&gt;Pick based on your device capability; if your phone has &lt;code&gt;8GB RAM&lt;/code&gt;, start with &lt;code&gt;Gemma 4 4B&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Tap &lt;code&gt;Download&lt;/code&gt; and let it run in the background.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Note: Larger models take longer to download. You can download multiple models and switch between them later. Downloaded models stay on your device, so you do not need to re-download them.&lt;/p&gt;
&lt;h2 id=&#34;step-4-start-chatting&#34;&gt;Step 4: Start Chatting
&lt;/h2&gt;&lt;p&gt;After the model download is finished:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Tap the model name to load it (the first load usually takes 10 to 30 seconds depending on model size and device performance).&lt;/li&gt;
&lt;li&gt;Enter your prompt in the chat box and send it.&lt;/li&gt;
&lt;li&gt;The model generates responses locally, and your data does not leave the phone.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The first reply is often slower due to model warm-up. Later messages in the same session are usually faster.&lt;/p&gt;
&lt;h2 id=&#34;step-5-try-vision-features-gemma-4-multimodal&#34;&gt;Step 5: Try Vision Features (Gemma 4 Multimodal)
&lt;/h2&gt;&lt;p&gt;If you downloaded a Gemma 4 multimodal variant:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go back to the main menu and open &lt;code&gt;Ask Image&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Select an image or take a photo.&lt;/li&gt;
&lt;li&gt;Ask a question (for example, &amp;ldquo;What&amp;rsquo;s in this image?&amp;rdquo; or &amp;ldquo;Is there any text I should pay attention to?&amp;rdquo;).&lt;/li&gt;
&lt;li&gt;Wait for the model to analyze the image locally and return a result.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This feature works offline, and your image is not sent to external servers.&lt;/p&gt;
&lt;h2 id=&#34;related-posts&#34;&gt;Related Posts
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://knightli.com/en/2026/04/05/google-gemma-4-model-comparison/&#34; &gt;Google Gemma 4 Model Comparison: How to Choose Between 2B/4B/26B/31B&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&#34;link&#34; href=&#34;https://knightli.com/en/2026/04/08/run-gemma4-on-laptop/&#34; &gt;How to Run Gemma 4 on a Laptop: 5-Minute Local Setup Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        </item>
        
    </channel>
</rss>
