Gotta this error message from Android Studio when started android programming for the first time.
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:103) at org.gradle.api.internal.
From the solvent start, set proper path of JDK was effective.
I also downloaded other SDK version for each Android version.
Other error message.
Edit Configuration: Error Please select Android SDK
I Logged in to Google Account
Installed many SDK versions and Tools from SDK Manager icon on Android Studio.
Right upper icon on Android Studio – Project settings (icon) > change JDK to /usr/lib/jvm/1.8
I guess my case was cause of JVM path.
Perhaps SDK was only latest one, I downloaded even the oldest one.
It expanded to 11.9GB…
Solved this !!!
Next execute on my tablet.
My Ubuntu didn’t recognize my tablet.
make sure the tablet’s
developer options > usb debugging on
sudo usermod -aG plugdev $LOGNAME to add yourself to the plugdev group about adb command.
cd to ..
masa@em-p:~/Android/Sdk/platform-tools$ ./adb devices
List of devices attached
adb server version (32) doesn’t match this client (40); killing…
* daemon started successfully
restart tablet and ubuntu resolved this.
Often usb debugging mode is don’t know why..