I am trying to build a new fresh project in Android Studio 3.0.1 with Java 1.8.0_151-b12. My computer is running Ubuntu 16.04.3. I get the following errors:
Error:java.util.concurrent.ExecutionException: java.lang.RuntimeException: No server to serve request. Check logs for details.
Error:Execution failed for task ':app:mergeDebugResources'. Error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: No server to serve request. Check logs for details.
I realize there is already this question asked here, but the suggested solutions did not resolve the errors.
I have tried all suggested fixes such as ldd Android/Sdk/build-tools/26.0.2/aapt2
and get the result not a dynamic executable
. I removed and re-downloaded the SDK twice. I ran chmod -R 777 Android/
. I haven't tried a reinstall of Android Studio yet but that is next on my things to try. Any other solutions? Thanks.
Edit: Did a reinstall of Android Studio and still have same error.