sdk

Compiling error with Android Studio

孤者浪人 提交于 2019-12-10 13:13:23
问题 I'm trying compile a android application with Android Studio in linux. But I'm get the following errors: Error:org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/home/user/Android/Sdk/build-tools/19.1.0/aapt'' :app:mergeDebugResources FAILED Error:Execution failed for task ':app:mergeDebugResources'. Error: org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/home/user/Android/Sdk/build-tools/19.1.0/aapt'' How to

Facebook:Blank Screen on FB Login

邮差的信 提交于 2019-12-10 13:12:57
问题 suddenly I am getting a strange thing happening in my application when trying to login via facebook. The facebook connect popup dialog will show a blank screen after asking for login details. Normally I would expect to see the window close, and then the site itself would carry on, however it appears to have hung. I am using Javascript SDK on Localhost Here is the code I'm using (copying directly from the facebook documentation): window.fbAsyncInit = function () { FB.init({ appId: fbAppId,

Can't find android sdk 2.3.4 in SDK manager

雨燕双飞 提交于 2019-12-10 12:59:04
问题 I'm having problems finding the 2.3.4 sdk in the Android SDK Manager download list. I updated the SDK tools to r11 and my platform-tools to r5 but 2.3.4 won't show up. Is there something I'm missing? 回答1: Check out Android 2.3.4 API Level "The Android 2.3.4 platform does not increment the API level — it uses the same API level as Android 2.3.3, API level 10. To use APIs introduced in API level 10 in your application, you need compile the application against the Android library that is

Creating project in Android 5.0 Lollipop using Eclipse Juno

雨燕双飞 提交于 2019-12-10 12:45:50
问题 I have updated all 5.0 related packages in SDK Manager and when i create a new project in Eclipse it showing target version as 4.X (L Preview) instead of 5.0! Cna anyone help me to resolve this issue in Eclipse. And also I'm not getting the appcompat_v21 for lower API levels support! Edit: Added screenshot of SDK Manager Tools. 回答1: You can change your project to 5.0 after creating the project from the properties... Right click project --> Properties --> Android --> Select Android 5.0 from

Unable To Logout of Facebook using Socialize SDK

我怕爱的太早我们不能终老 提交于 2019-12-10 12:15:16
问题 I am using Socialize SDK in lieu of Sharekit to integrate mail, twitter and facebook in my app. I only need to post some string on the user's profile which is working fine for facebook and twitter. Following is the workflow: User clicks on share , selects facebook/twitter. If it is for the first time user is sharing, facebook/twitter login screen pops up User Logs in and after authentication, share is successful. If user shares for the second time, facebook/twitter login screen doesn't popsup

Using SBJson with facebook sdk static library

青春壹個敷衍的年華 提交于 2019-12-10 12:07:45
问题 At the moment when I try to have the SBJson library alongside the facebook-ios-sdk I get 'duplicate interface definition for class 'SBJsonParser'' come up. So I have created a static facebook-ios-sdk library and then I have also got my standard SBJson library in the same project. I get the error. Can anyone suggest a way to fix this? I really need to use that library in my application... as I already have a good few thousand lines of code in this library and need to implement facebook too...

How can I use an access token to circumvent FB.login()

好久不见. 提交于 2019-12-10 11:22:47
问题 We are using phonegap to wrap our HTML5 app into a native iOS application. We need to login to facebook, but the JS SDK will pop up a Mobile Safari window and, from there, it's a bit weird to go back to the app. What we want to do is use Facebook's iOS SDK and get an access token and then somehow use that token in our JS code to authenticate the user. Obviously, we still want to use the JS SDK which has been thought out to not need tokens. Do you know how we could do that? 回答1: try FB.

Android SDK Platform 26 license error in Ionic 3

隐身守侯 提交于 2019-12-10 10:25:57
问题 I'm trying to run my Ionic 3 project on my Android device with ionic cordova run android --device --stacktrace , but, I've the following output: ... Checking the license for package Android SDK Platform 26 in C:\Android\android-sdk\licenses Warning: License for package Android SDK Platform 26 not accepted. FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'android'. You have not accepted the license agreements of the following SDK components

Use Xcode 7.3.1 with iOS 10.1 (14B67) device

房东的猫 提交于 2019-12-10 10:07:48
问题 I'm using Xcode 7.3.1 (7D1014) . I want to install my app on an iPhone 7 plus with iOS 10 (14B67) . I have the 10.0 (14A345) folder from Xcode 8 in Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport . I used this code ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.1\ \(14B67\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport in Terminal to create an alias named 10.1 (14B67) . The

iOS (Apple): Is there any way for the application to ask the OS to block the device in that application?

对着背影说爱祢 提交于 2019-12-10 09:46:54
问题 I would find useful, in some cases, and under the user's permission, to block the device so only the running application can be accessed unless the usrer's password (pattern or whatever is used to unlock the session) is introduced. I guess the mecanism should be something like: The application asks the os to do this, the OS asks the user for permission and then the application asks the device to block the application on "exit" or standby (or both). This would be useful for using an iPhone or