The import com.google.android.gms.common.api cannot be resolved - oauth

I have downlaoded the demo project from androidhive.com Trying to integrate Google plus auth in my app. But cannot import googleapiclient . I have attached a screenshot here.
I have imported google-play-library-service from android sdk -extras and selected copy the project into workspace while importing. After that i have added that library project to my google plus integration project. But all time i am gettng the error shown in the screenshot.

Related

Adding Google Firebase in Cocos2dx iOS project

First time using google firebase analytics in iOS SDK.
Now I have downloaded Google Firebase SDK manually...not used Cocoa pods.
Along with analytics it has lots of folders..added all. Am I need to add only analytics related files ?
Received linker error : framework not found Protobuf
From the Firebase zip instructions:
5. Drag each framework from the directory named after the SDK into the Project
Navigator pane.
From the screenshot, it looks like you're using Firestore, but didn't copy the dependent Protobuf.framework in the Firestore folder:
$ ls ~/Downloads/Firebase/Firestore/
BoringSSL-GRPC.framework Protobuf.framework gRPC-C++.framework leveldb-library.framework
FirebaseFirestore.framework Resources gRPC-Core.framework

How to import native iOS framework in Kony IDE

Im trying to integrate an iOS framework in Kony. I've tried to follow the documentation to import a native framework using the Manage Native Function API(s) menu, however I get the following error: "Error while importing framework .zip extract error: undefined".
Any help is appreciated. Thanks!
I haven't imported for iOS. But below are the steps to import or add a native framework to the project.
We are using Kony Visualizer Enterprise 7.3. Please find the steps below.
Goto Edit -> Manage Native Function
Select Import option under IOS tab
Select the valid .zip IOS framework file which you need to import.
If you are getting error, please double check if the file is the right/valid one. Try to import any other framework zip to verify if it is working.
Alternative if you want to use existing one, please select Add
Hope this helps. Thanks.

compilation error in Integrating apple video kit

I have integrating Apple purchased videokit in a separate project and it was working fine, but when I am integrating in am old project which already have lot of stuff then it is throwing an error while compiling.
The error is: Image
import "VKPlayerViewController.h"
import "VKDecodeManager.h"
import "VKPlayerController.h"
While importing these headers in my bridging header file it is giving the following error:
Failed to import bridging header '/Users/iOS2/.../SVN/../my-Bridging-Header.h'
I have also integrated 3rd party sdk Linphone before integrating ios videokit in my project. The problem could be due to multiple header paths for both the sdks which i'm not able to find out.
Please help!

How to use GoogleDrive and GooglePlus API in one app in iOS?

I am developing an app that google-drive-sdk has been successfully integrated onto, but now I want to share my app on google-plus so I used Google+ SDK, and it conflicts with GoogleDrive SDK.
I used GTLDriveFile Class for GoogleDrive,
and I followed these steps for installing GoogleDrive.
It works fine with just GoogleDrive SDK. But if I add Google+ SDK then it'll conflict with GoogleDrive SDK. I've tried lots of time and searched on Google but I can't find anything.
I only found these links:
1: (SO) How to implement Google Drive and Google Plus sdk in ios project
2: (YouTube) Google Drive SDK: using the Google+ Sign-In button with Drive on iOS
Update:
It displays duplicate symbols for architecture i386
If I delete one file then it will display the same error in another file because in following folder
GTL->GTL Source->Common->Objects
which has all the files, which are already available in
GoogleOpenSource.framework
And if I deleted all the .h files from the GTL folder then it won't work either, it gives a 'file not found' error.
Can anyone help me?
Update
If I had not added GoogleOpenSource.framework but I added only GooglePlus.framework then it gives me error like....
Thanks in advance!
You should be able to drop the GoogleOpenSource.framework - that just includes the Plus relevant parts of GTL and GTM which you're likely to be bringing in as part of the Drive client library. If you need any files from it, you can find the source version of whats included within the original SDK zip you downloaded.
To be clear:
Delete GoogleOpenSource.framework from your projectList item
If there are any errors on missing files, bring those in individually from the open source folder in the Google+ SDK zip. Include both the .m and .h files
It's much more simpler than #Ian's answer. No offence #Ian. :)
SVN checkout from http://google-api-objectivec-client.googlecode.com/svn/trunk
After checkout completes, Go to Source folder and open GTL.xcodeproj.
See the image

installing AWS ios sdk in swift project

I'm trying to add the AWS SDK to my xcode project that is written in swift.
I followed these steps: http://mobile.awsblog.com/post/Tx2AA7ZHB1FK0G1/Version-2-of-the-AWS-SDK-for-iOS-Developer-Preview to create a Bridge-Header file, and add the SDK itself to my project.
The problem is that when I try to build the app I get an error now... the Bridge Header cannot be imported because one of the files in the AWS SDK (AWSModel.h) has an error. This file tries to import Mantle/Mantle.h, and the error reads "Mantle/Mantle.h file not found"
do I need to add this file to my project as well? If so, how would I go about doing that? The only frameworks I'm using are Facebook SDK, and I would like to add AWS as well.
There is a working sample app on GitHub. You should follow README and see if you can compile the app. It should help you understand how to set up the project.

Resources