# Setting up Android Mode in Processing

**URL:** <https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462>\
**Category:** Processing for Android\
**Created:** [January 29, 2021, 4:26pm UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462 "2021-01-29T16:26:04Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maanav](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@Maanav](https://discourse.processing.org/u/Maanav)\
**Post date:** [January 29, 2021, 4:26pm UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/1 "2021-01-29T16:26:04Z")

</div>

I am trying to set up Android in Processing. But every time I try to load or download the SDK I get a message saying " The Android SDK could not be loaded". I have downloaded the Android 9 and 10 SDK from Android Studio.  
Can someone help?

---

<div class="post-metadata">

**Author:** ![bertin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/bertin/32/391_2.png) [@bertin](https://discourse.processing.org/u/bertin)\
**Post date:** [January 31, 2021, 11:19am UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/2 "2021-01-31T11:19:32Z")

</div>

I had the same error, I resolved manually putting the sdk path in the preferences.txt file of Processing. Open preferences and on the bottom you should see the link to the file. Open it (while Processing is not running) and add this entry:

```auto
android.sdk.path=C:\...\sdk

```

Hope this helps

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [January 31, 2021, 11:24pm UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/3 "2021-01-31T23:24:22Z")

</div>

download this extract it in any path then chose the path it self when processing ask for sdk

> **[android.zip](https://drive.google.com/file/d/1JIMtod4Qxo8_ciJmZyfPKydyu0Xd6kDa/view)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![Maanav](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@Maanav](https://discourse.processing.org/u/Maanav)\
**Post date:** [February 1, 2021, 6:03am UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/5 "2021-02-01T06:03:20Z")

</div>

Which folder in the SDK did you put the address for ?

---

<div class="post-metadata">

**Author:** ![bertin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/bertin/32/391_2.png) [@bertin](https://discourse.processing.org/u/bertin)\
**Post date:** [February 1, 2021, 8:57am UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/6 "2021-02-01T08:57:06Z")

</div>

I downloaded the sdk directly in my Processing folder. So in the preferences.txt file I inserted this:

```auto
android.sdk.path=D:\Programs\processing-3.3.7\android\sdk

```

---

<div class="post-metadata">

**Author:** ![Maanav](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@Maanav](https://discourse.processing.org/u/Maanav)\
**Post date:** [February 1, 2021, 11:10am UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/7 "2021-02-01T11:10:26Z")

</div>

I tried this. But every time I start Processing the path address gets removed from the preferences.txt. file.

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [February 2, 2021, 3:23am UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/8 "2021-02-02T03:23:50Z")

</div>

D:\android\android\sdk

then select this path when you start processing android mode

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [February 2, 2021, 6:18am UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/9 "2021-02-02T06:18:31Z")

</div>

> [@Android mode install issue](https://discourse.processing.org/t/android-mode-install-issue/23276):
>
> I’m trying to install Android mode on my new windows 10 notebook. I’m receiving an “android sdk could not be loaded” error. I moved the sdk from my previous notebook and manually pointed to it but running the sketches, which worked on my previous notebook, in the emulator which fails with a standard known message. I tried deleting everything except the sketches and reinstall but I get the error message i previously mentioned. also, the pde erased my previous sdk install. The web and forums sugge…

follow this its is work with me

---

<div class="post-metadata">

**Author:** ![Maanav](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@Maanav](https://discourse.processing.org/u/Maanav)\
**Post date:** [February 2, 2021, 10:37am UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/10 "2021-02-02T10:37:07Z")

</div>

I tried this. But every time I add android.sdk.path to preferences.txt and open Processing, the path gets removed.

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [February 2, 2021, 10:40am UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/11 "2021-02-02T10:40:56Z")

</div>

uninstall every thing and try again

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [February 2, 2021, 10:44am UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/12 "2021-02-02T10:44:06Z")

</div>

![Untitled 29](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/4/405f6ee1cd882df7b311c4449b19365daa13939f.jpeg)

---

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [February 2, 2021, 10:55am UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/13 "2021-02-02T10:55:53Z")

</div>

i used just the folder without any thing from android studio maybe from your many trying you made conflicts cussed not finding the path first time i tried more than 14 days at last i install the folder on other pc that i have not run any sdk stuff or processing before it works fast without any issue then i re-installed windows on the pc that i tried also worked fine without any wrongs

**do not add any text just chose the path**

---

<div class="post-metadata">

**Author:** ![Maanav](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@Maanav](https://discourse.processing.org/u/Maanav)\
**Post date:** [February 3, 2021, 6:16pm UTC](https://discourse.processing.org/t/setting-up-android-mode-in-processing/27462/14 "2021-02-03T18:16:28Z")

</div>

Too many attempts probably caused some problem. After uninstalling everything and reinstalling it worked properly. Thank you
