Android Studio doesnt open project correctly - android

When I import or open a project it doesn't open correctly and in the event log I get the message "Frameworks detected: Android framework is detected in the project Configure". Searching in google it says to install the support library but it's already installed
SOLUTION
Refer to the answer to this question

I ran into the same problems while opening a project. Please make sure when the Android Studio do the conversion or build the Gradle files , you look into the Gradle's build file and check which particular version's SDK and build tools are required to build this particular project. Then also confirm from the SDK Manager (Tools->Android->SDK Manager) that tools of given version are installed.

Related

Xamarin Tasky Project Error While Build Android Version App

I have download from Xamarin Studio Tasky Project and open it
with Visual Studio 2015 Enterprise Edition
when i build the Solution i got these Errors in ANDROID App
with knowledge that i didn't changed any thing yet in the project.
i tried to build and clean and rebuild the project but still the it gives me an error once i build it.
while iOS version is building and running perfectly
Try right click on Android head > Properties > Choose Application panel. Compare the Namespace in Application panel of the Android project is equal with the namespace in the Resource Designer file (/Resources/Resource.Designer.cs). If not don't change this direct in Resource.Designer.cs file (because the file will be automatically generated). Instead, you can change the namespace in all affected files to the namespace you see in the Android Application panel or use 'using' in the affected files.
This error is due to Android SDK Platform of target OS API version is not installed. Make sure you install all Android APIs SDK versions, specifically the one's you're targeting in Project Settings of Android in Visual Studio.
Open Android SDK Manager and revise the below
Once you install them, restart, then open VS and clean the build output and re-build everything.
So, After trying to solve this problem with many ways and all of it are not the optimal solution.
i Finally find the root Solution for this Issue.
you should Uninstall any Android Build-Tools Which In The Preview Chanel in the Android SDK Manager.
after doing so, clean and rebuild the Xamarin project.

Android Application Configuration Missing and Android Studio SDK Manager does not exist

After downloading Android Studio and opening an existing project, when I went to edit configuration (after trying to run an existing project) but when I attempted to configure it as an Android Application, I did not find the android application option, which when I compared to my other computer, is required to run the program.
Furthermore, I am missing the Android SDK Manager, both in the IDE and on the startup screen. I don't have SDKs installed on this computer, and I think they are needed to run my project, so I kind of want the SDK Manager.
I have also re-installed Android Studio 8 times, including several older versions. I also installed the packages, which do come with SDK tools, and I made sure everything was selected on installation.
In my case it helps: just File -> invalidate caches/Restart
hope it also can be usefull to someone ;-)
check the sdk manager present in the location "C:\Users\"user-name"\AppData\Local\Android\sdk"
launch the SDK manager install the package that you needed
paste the link
"C:\Users\"user-name"\AppData\Local\Android\sdk"
[Android Studio>configure>Settings>Android SDK ]
Maybe try deleting everything of Android Studio and then installing the latest version. It might be because of the leftovers of the previous versions that caused this problem to occur. The best way is to try restoring your PC to the time you hadn't have Android Studio.
Click on File -> Sync Project with Gradle Files

Google Go language plugin with AndroidStudio

I am using AndroidStudio 1.2.2 and I have installed Google Go language plugin for IntelliJ Idea. I configure GOPATH and I compile and run first HelloWorld go in cmd, but i want to start learning make Android Go applications in AndroidStudio.
But when i want to run file test1.go i get error:
Error running test1.go: No Go Sdk defined for this project
I found on other forum to do this by:
File > Project Structure
but there I can only to add android/java library module and etc., (I add other java library modules, and google-play-services before).
I don't know too about Go SDK must to be:C:\Go or C:\Go\bin
If you haven't installed already, install one of the latest version from here: https://github.com/go-lang-plugin-org/go-lang-idea-plugin#pre-release-builds (either alpha or nightly).
Then you can simply point the SDK to C:\Go (if that's where the Go SDK is installed).
Hope it helps.

Android studio - Invalid App-Engine SDK Path

I am trying to run my first android application in Android studio. Application created successfully with new project vizard but cant run that as getting this error--
Invalid App-Engine SDK Path
Please help
All answers about disabling the plugin are incorrect.
You need to execute ./gradlew appengineDownloadSdk in the root of your project. Alternatively you can execute the task via the gradle sidebar in Android Studio.
This task will create the folders given the current versions in your build.gradle file. You have to run this when you update versions in your dependency list.
One solution is to disable the Google Cloud Tools for Android Studio plugin.
In Android Studio, click on:
File > Settings
Then click on Plugins (on the left), and uncheck "Google Cloud Tools For Android Studio". Then Apply.
It asks you to restart Android Studio. Click on Restart and it will work now.
Seems like this is the problem--
exception in plugin Google cloud tools for android studio
After disabling this plugin its working now!!
In other scenario if you want to setup Google app engine this might help
https://stackoverflow.com/a/20986031/472336
I've created folder
c:\Users\[user_name]\.gradle\appengine-sdk\appengine-java-sdk-1.9.18\
And copy sdk that download there
https://cloud.google.com/appengine/downloads
So currently project compiles and works for me

can not create new Android project using Android Studio

I am trying to create Android project using Android studio.
I have installed the latest Android studio and update it using the help-check for updates.
Then I tried to create my first Android project, however after the studio download the gradle, it throw a error:
Gradle: A problem occurred configuring project ':FirstAndroid'.
> Failed to notify project evaluation listener.
> Could not resolve all dependencies for configuration ':FirstAndroid:_DebugCompile'.
> Could not find any version that matches com.android.support:appcompat-v7:+.
Required by:
FirstAndroidProject:FirstAndroid:unspecified
I am not sure what's the problem.
Anyone can do me a favor?
I am sorry , I think I made a mistake before I ask this questions.
Before using Android studio , I have used eclipse and Idea together with a standalone Android sdk while this sdk cover almost all the required components.
However when I install Android studio, it use its internal sdk which do not include the components like com.android.support:appcompat-v7, after update the sdk through the Android studio, the problem is solved.
It says com.android.support:appcompat-v7 -- maybe, you need to install v7 support?
I have to note that the last time I needed to create a new project, I found the tools in a poor state: to create a project that could compile from both Eclipse and command line I had to create two new projects and manually copy files from one to another (otherwise I was getting a crazy error about null returning 1).
I was getting the same message. (Working on Mac, Android Studio 0.4.5)
Simply updating the SDK through the SDK Manager did correct the issue for me.
To correct the issue I opened the SDK manager (tools -> Android -> SDK Manager). Scrolled down to the bottom and found the Extras folder.
Downloading and installing the components in the Extras folder corrected the issue.

Categories

Resources