Android Studio settings changed after cloning project from Github - android

For the first time I cloned this project from github and after that all setting of my android studio are changed. AVD Manger is Missing , Android from Project is missing , Build APK is missing and many other things It is completely changed. I am unable to fix this. Please help me and explain how to fix this . What has happened to android studio?
This is the project link: https://github.com/HoraApps/LeafPic
I have added screenshot, please have a look:
Third Image
If possible fix this using TeamViewer.

Exit Android Studio and restart or open this project with Android studio or Gradle icon on it project parent directory.This means directory is Android project.You must have opened wrong directory thus no option are show.

Related

Android side of a Flutter project showing error

I have a Flutter project where, all of a sudden, without me doing anything special as far as I can remember..the Android side has started to show an error, and I am totally lost, I have no idea at all of what is wrong or why that happened.
That is what I see when I open the android folder, the MainActivity on the flutter project on android studio:
I have tried calling flutter clean, restart/invalidate cache, gradle clean...and so far nothing works.
The weird thing is that the project actually runs in the emulator without any problem. And also, if I open the Android part independently on Android Studio i don't see any error.
Anyone had that before?
Android Studio version 3.3.1
Solutions of this answer do not work.
** ----- NOTE ----- **
The problem here can be (not sure at all maybe someone else can help here) that I am using a flutter package called ImagePicker, which after some code investigation, it turns out that it is using some AndrodX imports....and...as far as I am aware of...Flutter is not yet compatible with AndroidX.
But i need someone else to confirm that in order to post a solution.
This error is not really an error. This happens because android studio is set to read and edit dart not java. In order to edit the android side of a flutter project, you need to click on the android folder -> go to the flutter option -> click 'open in Android Studio'.
This will then allow you to edit the android side of your project.
Set Configure to the Android project SDK of flutter application
Step by Step
Click on File -> Project settings then select appropriate API level as per your project will solve your issue

Android Studio 3.0.1 - Unable to save settings: Failed to save settings. Please restart Android Studio

I know this a duplicated question but i didn't find any answer validated for the problem .
I made the all the solutions in this question: Android Studio 3.0 - Unable to save settings: Failed to save settings. Please restart Android Studio
but what if my project wasn't a local project and is a remote project on Git .
every time i pull the master from git , this problem is showed up .
the problem was also in Version 3.0 even after updating the Studio
my version of Android Studio is 3.0.1
This wasn't easy as the error doesn't look like others in the questions i mentioned above .
First
if your message error has word plugins in it you should see these answers Here
and these answers Here helps too .
In My Case
the error is found if i tried to Revert Font File in the project we worked on as the message appears every time i launched Android Studio. I work remotely with others on GIT. So this is a a change in the master i pulled and every change i make in my branch wouldn't save.
I don't know if this rule is important if you work with git but i finally didn't make Revert to the file so the error message didn't show again and in the next launch of Android Studio the Revert message didn't show
Recently I encounter the same issue, After updating the android studio I faced this issue and I tried all the possible solutions found on the internet.
My project has multiple modules and one of the modules is present inside a custom folder. (The same project has worked without any issue in the windows environment).
For example, In windows, the path for the module is "/internal/module name".
After importing the same project in mac the path should be changed to "./internal/module name".
After doing this the studio errors,
- Unable to save the setting
- Unable to find a matching configuration of the project.
All are resolved and I am able to build my project successfully.
Delete .idea and restart Android Studio.

eclipse cause Lint error when save any layout xml files

I think I'd tried everything to fix it but failed.
I've downloaded eclipse from here: http://www.eclipse.org/downloads/packages/eclipse-android-developers-includes-incubating-components/neonr
It's the latest eclipse package made to work with android app developing.
AND
I've downloaded and installed Android Sdk from:
https://dl.google.com/android/installer_r24.4.1-windows.exe
https://dl.google.com/android/android-sdk_r24.4.1-macosx.zip
That's right, both windows and mac versions.
My Android sdk looks like this.
And I created a new android application project, and I just open a pre-made layout xml file and as soon as I save a change I got this.
'Running Android Lint' has encountered a problem.
Failed
Detail:
Failed
java.lang.UnsupportedOperationException
So, here is the big question, how to fix android lint? Or at least point me the right direction, I've tried this on a PC and on a Mac, same problem.
Update: I know android studio and I've used it alot. Let's just say I have my reasons to pick up eclipse and make it work again.
It can be solved by turn off lint error check.
Click Window in Eclipse, select Preferences. Select Android -> Lint Error Checking on the left, and uncheck following checkboxes:
1.Run full error check when exporting app and abort if errors are found 2.When saving file check for error
For ref please check the screenshot I have attached:

All Java Files becomes red marked as error. but project build successfully

I am using android studio 1.0. I am developing a small android application. When i was editing the code in one of my java file in android studio, power cut happened.
After power came, i open the android studio and open my project, all files in the java folder marked as red indicationg error.
but the projects build successfully. when i sync with gradle.
it also done successfully. and perfectly runs in the device after launced the app in my phone.. but the red mark not disappear
even i close the project and reopen. If i create new project also, the same things happen again.
i can't understand what's happened. i also tried re install my jdk 1.7
Can anyone help me, how to fix this bug. please give exact solution. i don't like suggestions like to re install android studio
Try to Update to androidstudio 1.2
Close Android Studio
Go to C:\Users\user\\.AndroidStudio2.3\system\caches directory and delete all files.
Restart Android Studio
Done.

Android application giving a weird error in Eclipse

i put this question in this forum because i am not sure whether this is an eclipse error or an Android error.
yesterday i created an Android application using Google Maps and GPS on Eclipse and it build and ran successfully however today i wanted to do some modification to the code so i started eclipse but it gave me an error.
SDK parse failed
if i try to run it. it says the apk cannot find. how can that be happened? the same application ran successfully on the same environment yesterday. i am using Ubuntu 10.04
Thanks !!
There is a problem with your project, as evidenced by the red x icon on your project title bar shown in the image above. Right-click your project, choose Properties and go through all your properties to make sure they are all still valid. It might be a reference to one of the jar files.
I get this problem all the time, hopefully my solution works for you.
To work around, goto your libraries inside the properties page.
Add any library and then rebuild your project.
Go back and remove the library later for clean up.
The project should still build.

Categories

Resources