For people who use Android Studio for Android programming and in the Ubuntu / Debian Environment, there was a recent problem loading a AVD in the latest 2.3 version.
This blog post helps you solve this peculiar problem.
The details:
1. You write some android code, and want to test with a AVD. You install the specific target machine, but after gradle build, the launch of AVD totally stops.
There is a timeout of about 300 seconds and the AVD fails to load.
One alternate method is to use your existing Android based smart phone and connect it with a USB cord.
The second approach is given below:
Issue this below command in bold and then restart Android Studio. The problem should be solved.
ln -sf /usr/lib/libstdc++.so.6 /your_sdk/emulator/lib64/libstdc++/libstdc++.so.6
Make
sure to replace your_sdk above with your respective $ANDROID_SDK
path.
Tc,
Ananth G S
No comments:
Post a Comment