Upon upgrading Android Studio, a particular project of mines cant seem to run. I get an error saying this The project is not a graddle based project - flutter

Additionally, In the event log, I also get errors which say "could not read ok from ADB server", "failed to start daemon", "error cant connect to daemon","C:\Users\pilla\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server' failed -- run manually if necessary".
The project is a flutter based project and used to run before I updated Android studio. I tried uninstalling Android studio, deleting all related files, and performing a fresh install as well as looking at similar project sync related issues but nothing seems to work. Does anyone have any idea how I can get this project up and running again?

Related

Unable to launch AVD in VSCode

This problem seems to only happen for a specific project I have saved on my desktop which was cloned from GitHub.
Clicking on Run > Run Without Debugging, I am prompted to "Select a device to use". This is unusual, because usually, VSC provides the android devices I have downloaded on Android Studio as possible suggestions - however I don't see this.
Running the command: Flutter: Launch Emulator, I am able to choose an android device. However, after VSC launches the device, it displays the message: "Waiting for Pixel 3a API 29 to connect"
60 seconds later it gives the following error: "Failed to launch Pixel 3a API 29: Error. Emulator didn't connect within 60 seconds."
I only seem to have this problem with this flutter project. Creating a new project, I am able to connect to my AVD. I have tried removing and cloning the repository from GitHub to my desktop several times however I end up with the same error.
Edit: Yes, I have tried stopping and wiping the data of the AVD, however this doesn't work either.

Why does my app flutter can't download the dependencies?

I can't debug my application.
First, the error happened when downloading the gradle, I managed to solve it, downloading manual and pointing to local file, but after that started to happen the error in other dependencies,
It's like I'm using proxy, but I'm not using proxy.
I've tried changing the version of gradle and all the other tips I've seen on the internet but nothing works.
I'm using the latest version of android studio on a macbook
the error message always relates to UnknownHostException.

Null Reference exception in android studio while connecting to VSTS git

I am using android studio and VSTS (git). out of nowhere i faced an error
fatal: NullReferenceException encountered.
Object reference not set to an instance of an object.
event though i am signed in VSTS it keep asking to sign in again and again in android studio.
I tried to clone project and the same happens.
Even i reinstalled my android studio from start
Git is also installed on my computer, and passes the test in android studio but still cant go through to my repository.
This started when i tried to push my project in the repository and gave me this error. Searched the whole internet almost but cant find any thing like this.
Anyone share your expertise regarding git(VSTS)

Application project wont run/debug over device

I'm building an android app using Eclipse, and when I want to run/debug it on my android device, it wont run, even if it is just a "hello word" project.
The information shown on console tab is:
"Installation failed due to invalid APK file!"
I'm wondering what was wrong, and how to fix it.
I found this thread that almost had the same problem with yours: Eclipse installation failed due to invalid APK file?
Please apply those solutions first, then get back to me if it's still not fix
You may have made changes to your versions in your Android manifest file. Delete the app from your device and run it again!

AVD Failed to Load ~ Failed to Parse Properties ~ Mac OSX

I'm going to say upfront, please forgive me. I'm a newbie to android development and fairly new to programming. Also on a Mac. You're going to have to talk...real...slow.
I can't get an AVD to load. I've tried it from Eclipse (Juno) and from the Android SDK Manager (20.0.3). Failed multiple times.
Received the same error each time,
"Failed to parse properties from User/myname/.android/avd/nameIGaveEmulator/config.ini."
EDIT: I tried to solve the path problem on my own by checking folders and moving them around to be in the same folder, then resetting the path in Eclipse preferences, but that didn't work, so I trashed everything except for the zip files, uncompressed and started the entire installation all over again. When I opened up SDK Manager and attempted to download tools and platforms, however, I received the following. I'd forgotten that I received it on the first install. Would this have something to do with the problem?
Preparing to install archives
Downloading Android SDK Platform-tools, revision 14
Installing Android SDK Platform-tools, revision 14
Stopping ADB server failed (code -1).
Installed Android SDK Platform-tools, revision 14
Stopping ADB server succeeded.
Starting ADB server failed (code 255).
Done. 1 package installed.
Sidenotes:
When I open Eclipse and SDK Manager, I don't see anyplace to check that I'm the administrator.
If a path needs to be "changed" what exactly does that mean and how do I go about doing so? Is it simply a matter of moving folders and files into the "correct" locations and then trying to load an AVD again?
Using command line, navigate to the /tools folder in your android SDK, then use the command:
$ ./android avd
This will launch the AVD manager.