I have updated Android Studio from version .2.0 to .3.1 and when I start Studio it displayed the following error message:
"Problems importing/refreshing Gradle project 'Second':Unresolved
dependencies: com.android.support:appcompat-v7:+ Search"
As per my answer on AndroidStudio - Gradle Refresh Failed
You probably need to update the Bundled Android SDK that comes with Studio:
Tools-> Android-> SDK Manager
I did a blog post about Android Studio Gotchas which also mentions this.
For some reason they totally ignore any Android SDK you may have manually installed and use their own. So selecting the SDK through the IDE makes sure you use the correct one. You need to ensure you have the latest compatibility library.
You may also need to restart the IDE after updating. I did in any case, can't remember if it was essential.
Related
in windows 10 in Android Studio 3.2.1
the application is worked correctly after first time of installing but after installing Google Sceneform Tools (Beta) from :
File > Settings > Plugins > Browse Repositories
after installing the plugin android studio should restart and then it's can't launch anymore
anyone can help please ?
One cannot just use any version of Google Sceneform Tools (Beta) with any version of Android Studio. As this one comment suggests, even if it's about other versions (also see the other comments there):
A temporary solution: install Android Studio 3.5.1 + Sceneform 1.5, make sfb file, place in project in Android Studio 3.6.
So in your case, you might probably have to update to Android Studio version 3.5.3 or any other version, which works with the current version 1.16.0, as the Android Studio which you are using appears rather outdated.
If you just want to be able to start Android Studio again, then manually delete the plugin directory from %USERPROFILE%/.AndroidStudio3.2/config/plugins, in order to perform a manual uninstall, as it might be required in order to update Android Studio.
Besides "it's not working" is not an error description. You'd have to start Android Studio from the command line, in order to get some meaningful error message, by which you then could search in the issues on GitHub (if the reason why it doesn't start up anymore might have another cause).
I have had issue #377 filed for this plugin since Oct 16, 2018, and unfortunately it is still open now.
I will update this answer if it is solved or a solution is found.
Update 1 :
the github [repository]2 for this plugin has been archived and it seems no longer supported after reading the documentation here
Even though it shows that I have version 25 of the SDK, this app doesn't run. I have downloaded this app from here. I got this link from an online course at Udacity.
Please help as to how I should run this app. It's important to learn this as it's a part of my tutorial course.
In your IDE, the error log shows you that you must install SDK Build tools 23.0.2 and sync your project. Simply click that link and the IDE should handle it for you.
Although you have build tools 25.2.4, 23.0.2 is required to build this project.
Also, the repository from which your project is from also states the prerequisites in the README:
Pre-requisites
Android SDK v23
Android Build Tools v23.0.2
Android Support Repository v23.3.0
I just finished installing Android Studio and the JDK. Everything worked fine while I looked around the new interface. No errors or anything. After I checked for updates I went from version 0.5.2 to 0.6. When I restarted I got the error
Error:The SDK Build Tools revision (19.0.3) is too low for project ':app'. Minimum required is 19.1.0
Which SDK is it referring to and shouldn't it update along with Android Studio? Before I updated I did not have this message.
So Android Studio version 0.6 requires the Android SDK build tools to be 19.1 instead of the old 19.0.3.
To install this, follow these steps:
Close all open projects.
On the main Android Studio window, press Configure
Then click SDK Manager
Once inside find the following build tools version:
Then tick the box and install the package.
Once your done with that, close the SDK Manager, restart Android Studio, and you should be good to go!
EDIT:
One more thing you need to do:
Open your project.
Navigate to your build.gradle file located inside your module. For you, I think it's in the app folder.
Open the file.
Now you should see something like this:
Where it says buildToolsVersion in the quotes, replace 19.0.3 with 19.1.0. Now sync gradle files and everything should be solved.
I created Android Project but then I immediately get information that there have been errors.
Warning:(22, 12) Dependency on a support library, but the SDK installation does not have the "Extras > Android Support Repository" installed. Open the SDK manager and install it.
But I installed it, it was installed at the installation of Android Studio. I created another project and it happen again.
This is bug https://code.google.com/p/android/issues/detail?id=68834 and will be fixed in 0.5.9. In the meantime you can ignore the warning.
For me it was a very silly error and I spent the last two days trying to get around this. The path to the SDK in local.properties file was not properly escaped.
Change this:
# Location of the android SDK
sdk.dir=C:/Android/sdk
to this:
# Location of the android SDK
sdk.dir=C\:/Android/sdk
Refresh the gradle again.
When you download Android Studio you have 0.5.2 version,There is a solution is to downgrade exactly to 0.5.4
and download from here : Android Studio 0.5.4
after download the file just drag and drop in the place where you installed Android studio 0.5.2
Unfortunately, this bug appears to have resurfaced since it was last fixed. I have filed a new bug report to track it:
https://issuetracker.google.com/issues/37592307
Please "star" the bug report if it's affecting you.
I am using new android studio .when i download and install it there was no issue. But now when i try to create a new project it's show this error
Your Android SDK is out of date or is missing templates.
Please ensure you are using SDK version 22 or later.
As you know the latest SDK version is already bundled with android studio .I tried re-installing android studio still that error exist.
But it works fine while importing a project or opening an old project. I am facing this only during while trying to create a new project
Somebody help me to resolve this
Note : Im using Mac 10.6.8
EDIT : Screen Shot
I check my SDK manger which is bundled with android studio It's showing i'm using latest version
I've occurred this problem, what I did is.
On Main Menu, Click, Configure
Click Project Defaults
Click Project Structure
In Platform Settings > SDK, Choose the Build Target. Restart the IDE.
I can't comment (Low reputation) but have you tried checking the android sdk manager? See if anything is outdated or missing in tools
Then follow the answer above me, or check module settings > Dependencies > Module SDK and verify that it's android 4.2.2