Android Sample Project cannot be built on my Android Studio - android

I download the Sample Project from https://android.googlesource.com/platform/development/+/master/samples/WiFiDirectDemo?autodive=0%2F
However, I cannot build it or do anything with it (it's gray). I guess it's about the version of my Android Studio or something. I'm using Mac OS X, Android Studio 3.0.1

Related

Cordova / Android Studio verions doesn't work

When create a Cordova Android project by running Cordova prepare everything seems to be created correctly.
It creates a file called cdv-gradle-config.json with all versions that I want to use (the versions that are verfied from Cordova)
See picture
When I then open the project in Android Studio the build script and gradle seems to run fine. But Android Studio downloads Gradle wrapper 6.8 every time! Regardless of the version in the above file.
And when verifying all other versions for modules and dependencies in Android Studio they all seems to be unresolved:
Modules versions
more issues
And when looking into Gradle, it actually seems to be 6.8, but why is the version not fetched from the gradle config file created by Cordova?
Gradle versions
So my question is, why does it look like this? I have installed nodejs, Gradle and Cordova and they all work fine, except this behaviour.
I know I can just set the versions manually in Android Studio, but that's not the question, the question is why those dynamically versions from the config file doesn't work, and why Android Studio then "defaults" to 6.8 gradle. (I have 7.1.1 installed on my computer, which is verfied by gradle --version
Software used:
Windows 10
Cordova CLI 11
Android Studio 2020.3.1
Gradle 7.1.1 (installed on my machine.)
Gradle wrapper 6.8 (used by Android Studio, why is this??)

How to install "Code With Me" plugin with Android Studio

Code With Me plugin from JetBrains now works with Android Studio. However each version of the plugin is compatible with a specific build of Android Studio according to this page.
However, Android Studio download page lists only releases. How can I easily find out build number of each Android Studio version, so I could download a version that's compatible with Code With Me plugin?

Build Fastcv in android studio

I want to use 'fastcv' in my app with Android Studio. But the instructions all are for Eclipse in the network. How can I use 'fastcv' in Android Studio?
I use Android Studio 1.5.1

Will javafxports android still work with the new android studio?

I got the error "Error: Can't build Android. Path to Android SDK was not set or is invalid!" and I'm using the new android studio so I was wondering if javafxports android works with the new android studio?
My current path the the android sdk is:
C:\Users\svond_000\AppData\Local\Android\sdk
i'm currently using Intellij. It works very well. There is a community edition of intellij. Since basicly Android Studio and Intellij are built from the same source code. The gradle plugins works very well on Intellij.
http://blog.jetbrains.com/idea/2013/05/intellij-idea-and-android-studio-faq/
Regards,
Ivan

Can't create new project in fresh Android Studio installation

I have just installed Android Studio 0.8.6 (with Android SDK) and I can't start a new project.
On "select form factors" screen, I have nothing to choose from:
Update to 0.8.9 did not help.
I use OpenSuse Linux, if that matters.
I don't get any exceptions in terminal.
Both JDK and Android SDK seem to be detected by Android Studio.
Is that a known bug or am I doing something wrong?

Categories

Resources