Android Studio AVD – Emulator: Process finished with exit code 1

These are known errors from libGL and libstdc++ You can quick fix this by change to use Software for Emulated Performance Graphics option, in the AVD settings. Or try to use the libstdc++.so.6 (which is available in your system) instead of the one bundled inside Android SDK. There are 2 ways to replace it: The emulator has a switch -use-system-libs. You can found it here: ~/Android/Sdk/tools/emulator … Read more

Could not find or load main class org.gradle.wrapper.GradleWrapperMain

Your gradle wrapper is missing, broken or corrupted. What is gradle wrapper:gradlew is the gradle wrapper executable – batch script on windows and shell script elsewhere. The wrapper script when invoked, downloads the defined gradle version and executes it. By distributing the wrapper with your project, anyone can work with it without needing to install Gradle … Read more

Default Activity not found in Android Studio

In Android Studio, right click on the project and choose Open Module Settings. Then go to the Sources tab in your module, find the src folder, right click on it and mark it as Sources (blue color). EDIT: There is no sources tab in later versions of Android Studio, but you can edit the build.gradle file instead: https://stackoverflow.com/a/22028681/1101730 (thanks for comment Josh)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)