I have been trying to implement Google Play services using the steps in https://github.com/xamarin/monodroid-samples/tree/master/MapsAndLocationDemo_v2 and https://github.com/xamarin/monodroid-samples/tree/master/GooglePlayServices
android update project -p "path to project" -t 4 worked
ant debug works, updated project.properties, add Api key
However on build in Xamarin studio 4.0.3 on Mac get this.using Xamarin android 4.6. what package is missing. any advice appreciated. am referencing Mono.android,support.v4
/Users/TheCall/MapView/Components/googleplayservices-9.0/samples/GooglePlayServicesApp/GooglePlayServicesApp/obj/Debug/android/src/mono/com/google/android/gms/appstate/OnSignOutCompleteListenerImplementor.java(34,34):
Error: package com.google.android.gms.appstate does not exist
com.google.android.gms.appstate.OnSignOutCompleteListener (GooglePlayServicesApp)
I suggest that you should use Google Play Services from http://components.xamarin.com/.
Steps:
Check your Google Play Services API in Android SDK Manager. If it's not rev. 12, update it. If thats not possible then check your revision, and find the appropirate component from Xamarin. They support rev. 9, rev. 10, and rev. 12. If you want to support older devices, download the Froyo version.
Download this component if you are updated to rev. 12: http://components.xamarin.com/view/googleplayservices12/
Unzip it, and reference the downloaded DLL in your project.
Use it like this: http://components.xamarin.com/gettingstarted/googleplayservices12
Related
I used to create my apps using visual studio 2019 but for some reason I had to downgrade to vs 2017. my apps used to work properly and I had no problem compiling them on my physical device that has android 10 on it. now i'm getting an error when I open my old apps using vs 2017 that target framework version 9 is not supported. and when I try to create new apps, they won't run on my phone. I tried to change my target framework version but there is only versions up till android 6. i'm trying to install version 9 using the sdk manager but it's not working. I would like to know how to solve this issue. should I reinstall vs 2019. thanks in advance.
I attached a photo to show you what i'm doing to install api 29.
What is Xamarin version? I suspect that your version of Xamarin.Android is 6.x which means that you won't be able to target Android 7.0 or 7.1 even if they are installed through the SDK manager.
You can check the version from Help > About Microsoft Visual Studio.
If you're using Visual Studio 2017 or newer, Xamarin updates are delivered as part of Visual Studio updates. To manually check for updates, go to Tools > Extensions and Updates... In the left hand menu, open Updates and select Product Updates. If there are updates available, they will be shown on this list.
I maintain several iOS apps that use BlackBerry Dynamics Bindings for Xamarin.iOS. One of our apps has a production version that was build against version 6.0.1.6 of the bindings, along with an earlier version of the SDK and targeted iOS 12.
With iOS 14 coming out, it is time to rebuild the app, which means it is time to update the SDK, the bindings, and the dlls in my project. When I went to the developer portal, I found the SDK download page now has two options for the "BlackBerry Dynamics SDK for iOS". There is a "Static Framework v8.1.0.37" and a "Dynamic Framework beta v8.1.0.37".
According to the documentation, the dynamic framework, while in beta, does eliminate much of the complicated linking required in previous versions, and does away with the custom LD scripts for FIPS compliance. I would like to try it out, but I could not find an indication anywhere in the documentation files on the developer portal as to whether or not the Xamarin bindings work with this version of the SDK. Do they?
The currently available bindings are version 7.0, which target iOS 13; the iOS 14 readiness blog post says newer bindings are planned for mid-October of 2020. If the current bindings do not work with the dynamic framework sdk, is there any plan to have the next release do so?
The BlackBerry Dynamics SDK 8.1.x for Xamarin will not support using the dynamic library found within the BlackBerry Dynamics SDK for iOS. It currently only supports the static library. We do plan to add support for the dynamic library to our SDKs for Xamarin, Cordova and React Native in a future release.
I create some business application on Appcelerator Studio(sdk version:6.1.0.v20161230103702).
It run iOS simulator(iPhone 7(OS 10.2)),
so sometimes popup "App May Slow Down Your iPhone.." alert.
I wanna prevent this alert.
would appreciate any comments or suggestions.
You might want to take a look at this SO Q&A, this other Q&A, and this third one. There could be something there that you could adapt to Appcelerator Studio.
This alert is supposedly shown for apps developed for the 32 bit architecture.
read here
I wonder though how the ti sdk 6.1.0 would get you this issue.
what Xcode are using ?
Update :
Where did you get that sdk version ?
For production, use one of the GA titanium sdk versions, the latest one (as of the moment of writing this) is at 6.0.2.GA
To install Ti SDKs use this command
appc ti install sdk 6.0.2.GA
If you don't have an appcelerator indie account, you can use this node package tisdk to install new titanium sdk GA releases.
You might be using the latest SDK with the compatible XCode, but are you using any external modules which may not be 64-bit comptible. Can you remove any additional modules, and see if you are getting the error or not. If not, then you need to recompile the modules with the latest SDK or atleast a minimum of 3.5.0.GA from which the 64-bit support was provided.
I have just downloaded and installed Android studio 0.4.2 and loaded an android project. This project gives me this error:
Cause: failed to find target android-17
Please install the missing platform from the Android SDK Manager.
so great, I will now go into the SDK manager, and get the missing platform. The only problem is, I cannot access the SDK Manager. The SDK manager button is grayed out and when I go to tools, there is no option for android, so I can't go to toold
Any ideas on how I can fix this problem? I have used Eclipse with ADT before and never had this issue...
Close the project from
File > Close project
doing this will take ou to the Android Studio welcome screen. From there navigate to this path
Configure > Project Defaults > Project Structure > Android SDK
Set you Android SDK location here, you can check all API's level from he same screen inside SDKs tab.
Now import your project again. You can set project specific SDK after opening the project from
File > Project Structure
This is an old one, but since I fixed that, I'm just sharing.
I sorted it downloading the stand-alone SDK and pointing the SDK Location to the folder.
Download the SDK from the "Get the SDK for an existing IDE" https://developer.android.com/sdk/index.html
As #pyus13 said, from the Project structure, select the downloaded folder
Configure > Project Defaults > Project Structure > Android SDK
Now your SDK Manager tab in no longer grayed out and you can access it
Hope this help.
I found the bulls eye solution.
Download SDK zip file from developer.android.com
Extract the zip file.
Copy and paste that extracted folder into Applications/Android Studio/
Open Android Studio. Go to: (Quick Start) / Configure / Project Defaults / Project Structure / (Android SDK Location) and browse SDK folder.
Apply and save.
You and me finally solved this problem. :D
I'm trying to build my wp7 project under vs2012 express for wp. It uses the ad sdk, but I am getting the following errors:
Error 7 The name "AdControl" does not exist in the namespace
"clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=
Microsoft.Advertising.Mobile.UI".
Does anyone know why?
CLARIFICATION - i'm not trying to upgrade my project to wp8 at this time --- just trying to build for 7.1 like before using the new sdk.
Should I be also installing the old 7.1 phone sdk?
http://www.microsoft.com/en-us/download/details.aspx?id=27570
Thanks
I ran into this problem - deleting the Microsoft.Advertising.Mobile.UI reference from the project and readding it and a reference to Microsoft.Advertising.Mobile fixed it for me.
you can check on the following things:
Check whether you updated the target phone framework to "Windows Phone 8.0 OS"
check if you can see yellow exclamation icon in Advertising SDK dll in references folder in Solution Explorer. if yes, then delete that reference and add the reference again to advertising sdk dll from "Add Reference" dialog box.