I'm trying to cross compile jdk for android. I run:
./configure
--with-toolchain-path=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64
--with-sysroot=$ANDROID_NDK_HOME/platforms/android-21/arch-arm
--with-boot-jdk=$JAVA_BOOT
But it tells me that i need to install libasound2-dev
wich i have installed already. How could i fix this? I installed it using: sudo apt-get install libasound2-dev