Skip to main content

Posts

Showing posts with the label Android

Your emulator is out of date, please update by launching Android Studio

Your emulator is out of date, please update by launching Android Studio I sometimes run Android emulator from the command line, like: c:\>emulator -avd Pixel_2_API_30 Most of the time I would see the following on the console output WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the emulator. INFO | added library vulkan-1.dll INFO | configAndStartRenderer: setting vsync to 60 hz ERROR | Failed to open /qemu.conf, err: 2 HAX is working and emulator runs in fast virt mode. INFO | Started GRPC server at 127.0.0.1:8554, security: Local INFO | Advertising in: C:\Users\u1\AppData\Local\Temp\avd\running\pid_14608.ini INFO | Your emulator is out of date, please update by launching Android Studio: - Start Android Studio - Select menu "Tools > Android > SDK Manager" - Click "SDK Tools" tab - Check "Android Emulator" checkbox - Click "OK" INFO | boot comple

termux powerline status configuration

termux is a terminal emulator and Linux environment on Android. To make it even better (looks), enable powerline-status. Start by installing git on termux, like: x1@x1-pc:~$ pkg install git Then clone termux-style, like: x1@x1-pc:~$ git clone https://github.com/adi1090x/termux-style.git x1@x1-pc:~$ cd termux-style x1@x1-pc:~$ chmod +x setup x1@x1-pc:~$ ./setup x1@x1-pc:~$ termux-style Then install Python, like: x1@x1-pc:~$ pkg install python Next up, install powerline-status, like: x1@x1-pc:~$ pip install powerline-status Update ~/.bash_profile to load powerline-status, like: //xyz

Android Studio Early Access Preview installation tour

Android Studio is a new Android development environment based on IntelliJ IDEA. Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging. On top of the capabilities you expect from IntelliJ, Android Studio offers: Gradle-based build support. Android-specific refactoring and quick fixes. Lint tools to catch performance, usability, version compatibility and other problems. ProGuard and app-signing capabilities. Template-based wizards to create common Android designs and components. A rich layout editor that allows you to drag-and-drop UI components, preview layouts on multiple screen configurations, and much more. This was tested on: Windows 7 64-bit Pro JDK 1.7 update 25 64-bit Workaround(s): Android Studio bundle 130.677228 gets confused when multiple versions of JDK are installed on the machine. To workaround set JAVA_HOME and PATH environment variables accordingly. For example, set JAVA_HOME

Personal best ssh client for Android

Remotely connecting to Linux securely in Android is like a walk in the park, ssh clients abound in Google Play Store. But ssh clients are not created alike. Some are designed with specific hardware in mind and for those who like to use physical keyboards, like Droid 3, you probably want to use all the keys. I have tried Terminal IDE, ConnectBot, Android Terminal Emulator but none of them work as I would have hoped. Like using ~, tab key for command line completion, display mc (Midnight Commander) properly. But one actually meet my need today, VX ConnectBot . In my understanding it is based on ConnectBot with changes to allow a much more pleasant experience using hardware keyboard. Try it for yourself, download from Google Play Store. Note: * Tested using Droid Razr Maxx using stock OS and Droid 3 using ICS.

Failed to successfully run an emulated Android device on Ubuntu 11.04

 I was trying to play with Android platform on Ubuntu 11.04 but I hit a roadblock trying to run an emulated Android device using a non-root account. Did an strace but nothing stands out, not that I am an expert. Searching the web does not provide me with something really useful. Here few things interesting. Running an android virtual device as root works as expected. But running an android virtual device as a regular user halt/stops at a blank window for the emulated device. Running it verbose shows the following: //---- some of the strings removed ---- . QEMU options list: emulator: argv[00] = "./emulator-arm" emulator: argv[01] = "-android-hw" emulator: argv[02] = "/home/timus/.android/avd/e.avd/hardware-qemu.ini" Concatenated QEMU options:  ./emulator-arm -android-hw /home/timus/.android/avd/e.avd/hardware-qemu.ini emulator: registered 'boot-properties' qemud service emulator: nand_add_dev: system,size=0x4e00000,initfile=/home/ti

Android emulator-arm.exe crashing in Windows XP

I have tried to install Android SDK (r12) to start playing with developing applications for the platform. For no reason, I picked Windows XP Sp3 as my development OS. Customary to getting started with new programming language or platform is to create the equivalent "Hello World". The sample program was small and easy to digest but running it for the first time was not a good experience. The default Android Virtual Device configuation as per the tutorial keeps crashing on Windows XP. This is the message that I am seeing: emulator-arm.exe has encountered a problem and needs to close. We are sorry for the inconvenience Searching the blogosphere shows the following sites that standout: Emulator.exe not working properly ( stackoverflow ) Emulator crash on QVGA-L resolution ( Google Code ) The information from Stackoverflow did give a good hint as to what might be the issue. It seems like the Android SDK, specially the emulator, does not like spaces in the directories