sdk

What exactly is “tools.jar” in the Android SDK?

老子叫甜甜 提交于 2019-12-12 13:03:12
问题 So, I've been trying to build a project in LibGDX for about 10 hours now. In case you'r unfamiliar, LibGDX is one of those platforms where you specify a project directory at the start, along with any required SDKs and then when you're ready to start coding it will generate a project for you. Anyway, I've been having a problem where every time I try to build it fails with the single error message: Execution failed for task :core:compileJava. Could not find tools.jar I'm guessing "tools.jar" is

Facebook integration in iphone OS 4.0 or later

拜拜、爱过 提交于 2019-12-12 12:31:07
问题 i am trying to integrate Facebook on my iphone OS 4.0. The problem comes when i try to display dialog box for login. the dialog box loads and then crashes immediately.The same code is working great in IOS 3.1. Please help. Thanx. 回答1: I had a similar issue with my iPhone app. Most likely JavaScript is crashing your application. I worked around this issue by accessing Facebook login site directly via URL: http://graph.facebook.com/oauth/authorize?client_id=YOUR_APP_ID&redirect_uri=http://YOUR

Android SDK installation failed

血红的双手。 提交于 2019-12-12 12:23:36
问题 I am new to android and i am trying to download android sdk in windows xp. I am behind a proxy While installing sdk, I am getting this error Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to https://dl-ssl.google.com refused Fetched Add-ons List successfully Fetching URL: https://dl-ssl.google.com/android/repository/repository-5.xml Failed to fetch URL https://dl-ssl

Android Studio not letting me change SDK Location

馋奶兔 提交于 2019-12-12 11:27:42
问题 I open up Android Studio. Then I open up SDK manager. I have the most up to date version but, I need Android 6.0 for my SDK platform. It doesn't even let me click anything. In this image you can see the text and check boxes are discolored. I can't click anything inside the SDK Platform, or even the the Tools and update sites. I can't check the box "Show Package Details". You can see a screenshot bellow. I have installed and changed it sucessfully on another laptop of mine, but I can't get it

Android Studio: Gradle Build error, can't locate SDK and compile-server

此生再无相见时 提交于 2019-12-12 11:21:08
问题 I am new user of Android Studio and I have serious problem with trying to import Android Studio project to Android Studio on other PC. In general, my Gradle doesn't want to build the project and it is caused by problem with path. Error log: Failed to import Gradle project: Could not fetch model of type 'IdeaProject' using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'. Build file 'E:\Projects\MenuMenu\EventGame\build.gradle' line: 1 A problem occurred

What is the dif between mac and windows about android SDK

不打扰是莪最后的温柔 提交于 2019-12-12 11:15:02
问题 as the question stated. I am planning to copy android SDK library from my microsoft windows pc to my new Mac PC. Should I download the mac version of sdk or copying the directory from windows to mac is enough ? 回答1: The SDK (Java part) is identical, but the NDK (which may also be called a part of the SDK) contains prebuilt Windows/Linux/Mac versions of the GCC compiler to produce ARM/MIPS/x86 Android executables. To compile native native code on Mac you need different prebuilt GCC toolchain

phonegap 2.0 project setup without native SDK

亡梦爱人 提交于 2019-12-12 09:46:56
问题 I'm attempting to build my first phonegap application using the phonegap build cloud compiler. In the instructions there it says to remove phonegap.js before uploading... Where is this mystery file? I downloaded the latest phonegap and nothing in the /Libs/ looks right. There seems to be no documentation on how to setup your root HTML page properly to be compiled with phonegap. "Once you've included the necessary assets, remove the phonegap.js (cordova.js) as Build will automatically inject

I got warning which I couldn't understand

拥有回忆 提交于 2019-12-12 09:33:48
问题 When I compiled my app I got this warning and I couldn't understand it. /Users/imac/Desktop/MyApp/RechercherView.xib:44:0 This bar button item's style is set to 'plain'. This configuration is not supported when in a navigation item. 回答1: Plain is for when a bar button item is on a tab bar, it means there is no border at all and you just see the item. This is not supported on a nav bar and they must be bordered . If you wish to get the appearance of an item without a border, you should make

How to make application scale to large (tablet) screen in Android SDK

帅比萌擦擦* 提交于 2019-12-12 09:26:30
问题 I'm just getting into developing on Android and want to try my hand at developing a Tablet app. The problem is, no matter what I've tried so far, deploying the app results in a scaled down version of the app, running at the top of the screen. It appears about the size of a mobile app, and the rest of the screen is just blank. How can I make my the application recognize that it's on a tablet and scale the screen up? I've tried changing the screen size in the layout XML WYSIWYG editor, but am

Releasing an NSTimer iPhone?

做~自己de王妃 提交于 2019-12-12 09:21:05
问题 I have an NSTimer declared in my .h and in the viewDidLoad of the /m I have the code: timer = [NSTimer scheduledTimerWithTimeInterval:kComplexTimer target:self selector:@selector (main) userInfo:nil repeats:YES]; I also have [timer release]; in my dealloc. However when I exit the view and return to it, the timer has not in fact released, it has doubles in speed! How do I solve this & what am I doing wrong??? Thanks 回答1: Nice Answer , but good to check whether the time is nil or not to avoid