Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Neil Gittens
Neil Gittens
1,826 Points

Errors

Hi I originally installed the treehouse version of android studio from their site. Now I have switch and install the version straight from Google. Since then I've been getting tons of issues.

I still have both versions currently installed.

I believe all the issues stem from that. When I install the google version I got an error about white space in my sdk. This is because the path was "treehouse - sdk". So I copy my sdk folder into my program file folder. (over 5gb) now when I open my SDK manager or start android studio I have this error:

Android location: C:\Program Files\Android\Android Studio\sdk The android SDK is inside studio install location

how can I stop from getting this error???

Secondly: I'm getting the follow error. Is it related. How do I fix it? It originally appeared when I created a new vector asset in the vector asset studio.

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:processDebugResources'.

    com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Android\Android Studio\sdk\build-tools\android-4.4W\aapt.exe'' finished with non-zero exit value 1

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

BUILD FAILED