Gradle issue with Android Studio - android

I'm just starting to learn Android Development and after installing Android Studio I get this error every time i create a project
org.gradle.api.plugins.unknownpluginexception

Related

Project Doesn't Build in Android Studio 2.3.1 at all

Yesterday I updated my Android Studio version from 2.3 to 2.3.1 and today when I tried to create a New Project this familiar screen should disappear after sometime but it didn't disappeared after 30 minutes of waiting. Anyhow I managed to close android studio by Task Manager and started Android Studio again and created a new project again and the same thing happened again.
Although when I open my previous projects again they are working fine but the problem is with the new project creation only. I am having a good working internet connection along with the latest version of gradle 3.4.1
Any idea why this would be happening?
How to resolve this?
I had this "problem" with android studio but after looking here and there I found out that when I update gradle version for my project, for example from 2.2 to 2.2.1, if I do not have that gradle version already android studio tries to download gradle distribution for that version to build the project and since I have poor internet connection, it was the download which was taking time.
Maybe your android studio is downloading the gradle too and it takes time.

I am getting the below error in the image when I just run a simple Hello World program in Android Studio

This is my build.gradle file in android studio
Clean you project and run again if still error then update you java sdk because you are uses latest studio and latest gradle version.

Visual Studio Crashes (File Not Found) When Creating New Android Project

Trying to get started with app development (again). Have Visual Studio 2015 Pro and installed and up-to-date Android SDK (in case it matters, here is exactly what is installed).
On creating a basic Android app from the Visual Studio templates, Visual Studio crashes. Debugging the instance (with another Visual Studio instance) shows:
What's wrong? How do I fix it?
Again, the problem is that Visual Studio is crashing. This has nothing to do with debugging my application, which I haven't written yet. It also has nothing to do with C# or Xamarin.

Errors while using AVD in Android Studio

I'm a beginner to Android app development and I recently installed Android Studio.
When I was trying to run the AVD, this error occurred, This Application failed to start because it could not find or load the Qt platform plugin "windows".
How can I resolve this??

Android Studio - Failed to refresh Gradle project - failed to find target 4.4w

I'm trying to move my project from eclipse into android studio so that I can start building an android wear app. I exported the app from eclipse and imported it into android studio. However, when I try and add the android wear app, I start getting the error message "failed to find target 4.4w" see screen shot.
When creating a brand new project, this error does not occur. I noticed that i'm still running on android api 19 for external libraries, but I can't upgrade it since it can't find it.
The 4.4w is installed via sdk manager, why can't android studio see this?
For some reason, the wear project had '4.4w' as the build target, i updated this to 20 and the error went away.

Categories

Resources