Learning Kotlin is fun, but where to get started? One the of the best tutorials for newbies is at https://code.tutsplus.com/series/kotlin-from-scratch--cms-1209. Learn from scratch. To practice, download IntelliJ IDEA and work on Kotlin code anytime in it.
After installing Android Studio, the Android emulator takes a long time to start up. It appears to have hanged and other activities on the Ubuntu computer are not possible. This could be due to incorrect installation of kvm. To resolve this problem, open a terminal window and install kvm using the following command: $ sudo … Continue reading Install kvm on Linux Mint for Android Studio x86 or x86_64 version of Android emulator
I created an application with a string-array in the strings.xml file. Unfortunately, I left some apostrophe in one of the string values that was: D'Souza Obviously, at compile time, the Android Studio 2.2 IDE threw an error about invalid characters not preceded by a . I should have actually put the string as: D'Souza Now, … Continue reading How to fix compile error in Android application where strings.xml contain invalid characters
Android Virtual device emulator not starting up or very slow with error sh: 1: glxinfo: not found takes a very long time to start the emulator and finally returns with an error. To resolve the above error, do following: $ sudo apt-get install lib64stdc++6 <enter> Then create a link to the new 64 bit libraries … Continue reading Android Virtual device emulator not starting up or very slow with error sh: 1: glxinfo: not found
If you notice error that the Gradle home path is incorrect, when building your Android Project in Android Studio, select and set the gradle path to correct one. To do so, select File -> Settings. Click on Build, Execution, Deployment -> Build Tools -> Gradle.
After I updated Android Studio from 1.4 to 1.5, all went well and the patch got applied. However, when starting the project, I got an error that read something like this. Error Junit:Junit:4.12 not found or missing This error occurred due to gradle not getting updated / synced properly. Apparently, to speed up Android Studio, … Continue reading Error Junit:Junit:4.12 not found or missing after Android Studio 1.4 to 1.5 update
When installing the Android Studio in Ubuntu Linux, the error Unable to run mksdcard SDK tool appears. This can be fixed by opening a terminal window and entering the following command:$ sudo apt-get install lib32z1 lib32ncurses5 lib32stdc++6 <enter>
As a user of Android Studio 1.4, I found that the menu bar and it's sub-menus / sub options had a considerable delay before they showed up. I identified this to be with the icons and the animation effects on the menu and it's appearance. To increase speed of the menu appearing, do the following: … Continue reading Speed up menu bar and sub options opening in Android Studio 1.4
android-sdks/build-tools/17.0.0/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory To fix the above error, open a terminal window and install:$ sudo apt-get install lib32z1 <enter>
This error Error ko:~/android-sdk-linux/tools/emulator64-arm: invalid option -- '-enable-kvm' only comes if you are trying to use KVM with and arm processor. KVM with android studio currently only works with Intel processors.