I have an android xamarin project, and I only add Xamarin.GooglePlayServices.Maps nuget.
my build has this error :
error: package com.google.android.gms.maps does not exist
com.google.android.gms.maps.OnMapReadyCallback
Please try this :
From the Tools menu, select Open AVD Manager
From the Tools menu of the Android Virtual Device Manager app, select
Manage SDK..
For each of the Android SDK you are targeting, check the "Google
APIs" checkbox and install the packages.
You should now have the Google Maps SDK installed.
I installed Google APIs , and Google play service, but still I got the error.
I check this path
obj\Debug\__library_projects__\Xamarin.GooglePlayServices.Maps\library_project_imports
and the folder was empty, this folder suppose to have .jar files for Google Map.
So I delete obj folder and now everything's working.
Related
I just installed Android Studio and I'm getting the following error after opening Android Studio :-
Please provide the path to the Android SDK
I have tried "C:\Users\Your Name\AppData\Local\Android\Sdk"
But the above doesn't work. It says invalid Android SDK Path. When I go to the above file location, I cannot locate any SDK file.
I also searched for SDK files on my system and this is what I got.
I think you didn't open the android studio after installation. The sdk will be installed when you open the android studio. Then you can find its location in a setting tab.
I am working on xamarin android application.When I try to install facebook android sdk in my application it takes too much time and at last it stops with : some required packages are not referenced by the project.
And if I download facebook-android-sdk from facebook developer account then how to add it to my application ?
Try adding it through the NuGet package manager:
Right click the packages folder in your project
Select Add Packages
Type Facebook SDK Xamarin Android in the search box
Double-click the package
This should install the SDK and all its dependencies. All you need to do now is resolve it's namespaces and you should be good to go. You can check the Package Console pad for any errors.
I updated my android studio this morning and updated my whole android sdk. Including the extra's like play services and etc...
I always get:
Error:Could not find com.google.android.gms:play-services:4.4.52.
Required by:
ar-android:Ar:unspecified
Search in build.gradle files
Can someone help me out on this?
I had the same problem and solved it downloading a package from the Android SDK mananger.
Open the SDK Manager (from Eclipse or Android or the standalone version) and select the package 'Google Play Services'.
Im having a issue with the latest developer tool announced at Google i/o 2013 "Android Studio". I have successfully installed the program and am able to launch just fine. I can import exsisting projects and edit them just fine. However when i attempt to click the SDK Manager icon or the AVD Manager icon, Or when i attempt to create a new project. I get the following error "Please specify Android SDK" Now, I have already gone into File > Other Settings > Default Project Structure > under "Platform Settings" SDK's .
I have created a Android SDK item with the source to my Android SDK folder.
Therefore i don't understand why Android Studio doesnt recognize it. The only thing that im doing somewhat different is not using the included sdk folder in the actual Android Studio folder. However when trying it, it says its not a real SDK home.
Any idea's, Thanks in advance
Try updating your Android SDK to r22 http://dl.google.com/android/installer_r22-windows.exe
I had the same issue, once I updated to the latest SDK, Android Studio was able to find the android-sdk folder.
I was having this same issue. First download the latest SDK as described by dues71 and put it someplace you will remember (for instance C:\AndroidSDK). In Android Studio select your project and select File->Project Structure (or select the icon ). On the left, under Project Settings select Modules and select the Dependencies tab. In row that says "Module SDK" select "New..." and select "Android SDK". Navigate to root sdk directory (i.e. C:\AndroidSDK) and select OK. Select the latest Android SDK. It will now index the directory which may take some time, but after that is complete it should work.
I tryed to update Android SDK to latest 22 version and then restarted IDE (I had same issue on Intellij IDEA 13 EAP), I think this would work on Android Studio too.
Just press ctrl+f9 than the error will remove automatically.Sometimes it may happen that the SDK is already there but not linked with the project.You should click on make project or ctrl+f9 than everything will be fine.
I need the Support Package jar file.
I opened the page http://developer.android.com/sdk/compatibility-library.html#Downloading and do as they said:
Launch the SDK and AVD Manager.
From Eclipse, you can select Window > Android SDK and AVD Manager.
Or, launch SDK Manager.exe from the / directory (on Windows
only) or android from the /tools/ directory.
Expand the Android Repository, check Android Support package and
click Install selected.
But my SDK manager is updated and there is no 'Android Repository' anymore and i cannot find Android Support Package.
Please give me any advice.
It's actually the Android Compatibility package. It's just a label error.
After installing API 16, I guess it's called as Android Support Library, and below is the path where the required library files are present:
C:\Program Files (x86)\Android\android-sdk-windows\android-compatibility\v*