android-sdk-2.3

Unable to install Android SDK 17 [duplicate]

喜欢而已 提交于 2019-12-06 04:59:53
This question already has answers here : Closed 7 years ago . Possible Duplicate: Android: trouble updating to Android SDK Tools, revision 7 I'm trying to install 6 new updates to the Android SDK (to version 17 from 16), I get this err msg: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -= Warning ! =- A folder failed to be moved. On Windows this typically means that a program is using that folder (for examplle Windows Exploder or your anti-virus software.) Please momentarily deactivate your anti-virus software or close any running programs that may be accessing the directory 'C:\Program Files (x86

Using DU on Android

假如想象 提交于 2019-12-05 09:03:20
Is there something similar to the unix command du i can use on adb shell? I'm trying to find a way to see how big each file is because I have an application that is growing very large and out of control and I am trying to determine which file/database it is specifically so I can address the problem. I am testing this on an Evo 4G and getting: du: permission denied or after I root/remount it: du: not found cd into other folders dose not help me at any point. Install Terminal IDE (or some other app that includes du or BusyBox - TIDE includes quite a lot in addition to that, which you may not

Using buttons within a ViewPager

ε祈祈猫儿з 提交于 2019-12-04 14:49:22
问题 I am trying to use a ViewPager where users can interact within each pane. For this ViewPager, I am creating a tutorial where I show users to swipe horizontally to switch pane. When the user reaches the last pane, a button is displayed to the user where they will be navigated to the dashboard. I have read a few articles trying to understand how a button works within a ViewPager, but could not really make much sense. What the code should do is when a button within a pane within a ViewPager is

Which API version for Android 2.3.6?

孤街醉人 提交于 2019-12-04 08:30:01
问题 I need to make an app for an android 2.3.6. Which SDK Should I use? SDK Manager only shows 2.3.3 API 10 as the highest one. 回答1: The Android API level list says that the highest API level you can use for 2.3.6 is API level 10. The next higher level 11 requires at least Android 3.0. 回答2: use 2.3.6 API 10 which full fills your requirement If you use 2.2 or 2.1 it also help you to make it compatible for lower versions 来源: https://stackoverflow.com/questions/10042141/which-api-version-for-android

Android SDK Tools Rev.17 - onClick - Corresponding method handler not found

ぃ、小莉子 提交于 2019-12-04 05:21:53
问题 I updated Android SDK Tools to revision 17 and after I opened Eclipse I found a list of new errors in the 'Problems' view which weren't there before the update. These errors were in XML Layout files where I had defined the onClick attribute for buttons. On mouse-over the error message example: "Corresponding method handler 'public void @string/timespanDefinition_btnSave_Click(android.view.View)' not found" returned. I have already defined the corresponding method handler and the string

Requesting single location update, AVD crashes

喜夏-厌秋 提交于 2019-12-04 03:51:38
问题 I'm trying to request a single location update using the new LocationManager.requestSingleUpdate() method, but once the device gets an update from the GPS the OS crashes and seems to try to reboot. At least I get the usual Android boot screen, but it never finishes booting. I've tried running the code on a 2.3, 2.3.1, 2.3.3 and 2.2 AVD, with the same result on all. ***** Update ***** I tried an old location based app that I have made, and that is running just fine on a few hundred units, and

getBluetoothService() called with no BluetoothManagerCallback

只愿长相守 提交于 2019-12-04 03:41:33
问题 I am new to android development. I am writing an app which receives string from the bluetooth terminal of laptop. while opening a connection i am getting an error Connection Refused when the below line gets executed. socket.connect(); I tried to check what happens in connect method. Here I found Android Studio giving me issues like. Cannot access android.bluetooth.BluetoothSocket.SocketState. Cannot resolve method createSocketChannel. Cannot resolve Symbol IBluetooth. Does my development

what is the difference between “min sdk , target sdk and compile with ” ? in android

拈花ヽ惹草 提交于 2019-12-03 17:31:40
问题 What is the difference between "min SDK, target SDK and compile with" in android? What is the difference between "minimum SDK, target SDK and compile with", that appears when I try to make a new Android application project !! like this... Minimun SDK : API 14 Target SDK : API 17 Compile With : API 14 And are my choices good ?? or Which ones should I choose? Sorry, I tried to put a photo, but I can't... 回答1: Simply, Minimun SDK : API 14 refers that that your application will only run on mobile

How to configure NDK for Android Studio

霸气de小男生 提交于 2019-12-03 17:09:30
问题 I've installed Android Studio 2.2.3 and created a "myApplication" with include C++ support . I get this error: Error:NDK not configured. Download it with SDK manager.) Is there any good way to solve it please? 回答1: Once you have downloaded the NDK, go to "File" menu, than "Project Structure->SDK Location" and set the Android NDK Location (it is at the bottom of the window). 来源: https://stackoverflow.com/questions/42318781/how-to-configure-ndk-for-android-studio

Using buttons within a ViewPager

旧巷老猫 提交于 2019-12-03 09:11:31
I am trying to use a ViewPager where users can interact within each pane. For this ViewPager, I am creating a tutorial where I show users to swipe horizontally to switch pane. When the user reaches the last pane, a button is displayed to the user where they will be navigated to the dashboard. I have read a few articles trying to understand how a button works within a ViewPager, but could not really make much sense. What the code should do is when a button within a pane within a ViewPager is clicked, the dashboard activity is started. Here is the full code of the pagerAdapter: class