# Problem with running processing android app in external device

**URL:** https://discourse.processing.org/t/problem-with-running-processing-android-app-in-external-device/1806
**Category:** Processing for Android
**Created:** [July 16, 2018, 7:32am UTC](https://discourse.processing.org/t/problem-with-running-processing-android-app-in-external-device/1806 "2018-07-16T07:32:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![megaMind432](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/megamind432/32/768_2.png) [@megaMind432](https://discourse.processing.org/u/megaMind432)
#### Post date: [July 16, 2018, 7:32am UTC](https://discourse.processing.org/t/problem-with-running-processing-android-app-in-external-device/1806/1 "2018-07-16T07:32:12Z")

</div>

Howdy,

I’m trying to build a simple App in processing and run it on my device samsung…

In procesing console I am getting the following error.

I’m not even sure what information would be useful in debugging this. Can you help?

Build folder: C:\Users\davef\AppData\Local\Temp\android1587529277536989285sketch :app:preBuild UP-TO-DATE :app:preDebugBuild :app:compileDebugAidl :app:compileDebugRenderscript FAILED

FAILURE: Build failed with an exception.

What went wrong: Execution failed for task ‘:app:compileDebugRenderscript’. llvm-rs-cc is missing

Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at [https://help.gradle.org](https://help.gradle.org)

---

<div class="post-metadata">

### Author: ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)
#### Post date: [July 17, 2018, 5:04am UTC](https://discourse.processing.org/t/problem-with-running-processing-android-app-in-external-device/1806/2 "2018-07-17T05:04:39Z")

</div>

Please cross-link your posts:

> <https://stackoverflow.com/questions/33108452/getting-an-error-when-compiling-with-renderscript-library-llvm-rs-cc-exe-fini>

Here next suggest to regenerate your gradle file. No need to erase it, just move it to another temp location.

> <https://github.com/Antox/Antox/issues/281>

What code where you try to run? A simple sketch? First time running apps from Processing? Have you run apps from AS?

Kf

---

<div class="post-metadata">

### Author: ![akenaton](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@akenaton](https://discourse.processing.org/u/akenaton)
#### Post date: [September 25, 2018, 1:47pm UTC](https://discourse.processing.org/t/problem-with-running-processing-android-app-in-external-device/1806/4 "2018-09-25T13:47:09Z")

</div>

@megaMind432===  
that is a problem with the build tools; firstly: verify that in your SDK/build-tools/26 or 27 directory you have a subfolder named “renderscript”; verify also that at the first level of build-tools/26 or 27 you have a file called llvm-rs-cc; if no, download (or update) with the SDKmanager your build-tools.
