Could not find aapt with appium server
<p>I am currently trying to run a test on an android emulator device with appium,
everything goes fine, appium unlocks the screen of the device but then I have this error:</p>

<pre><code>[ADB] Error: Could not find aapt Please set the ANDROID_HOME environment variable with the Android SDK root directory path
</code></pre>

<p>I set the <strong>ANDROID_HOME</strong> varaibale im my bash file to : </p>

<pre><code>export ANDROID_HOME=/home/tar/android/android-sdk-linux/ 
</code></pre>

<p>and I also set the other variables to : </p>

<pre><code>export ANDROID_SDK_HOME=/home/tar/android/android-sdk-linux

export PATH=${PATH}:/home/tar/android/android-sdk-linux/platform-tools

export PATH=${PATH}:/home/tar/android/android-sdk-linux/tools 
</code></pre>

<p>But I am still facing the same error, </p>

<p>does someone have an idea how to solve this please? </p>

<p>Thank you</p>