Questions tagged [android-sdk-2.3]

For issues relating to developing with the android SDK, version 2.3.

Android is Google's software stack for mobile devices. The Android 2.3 platform introduces many new and exciting features for users and developers.

  1. UI refinements for simplicity and speed
  2. Faster, more intuitive text input
  3. One-touch word selection and copy/paste
  4. Improved power management
  5. Control over applications(Uninstall and Info buttons at home screen)

    Please use the Android-specific tags such as [android-intent], not [intent]. For non-developer questions, see https://android.stackexchange.com.

Read more about Android 2.3

481 questions
12
votes
3 answers

Context wants FLAG_ACTIVITY_NEW_TASK but I've already set that flag

I've created a common re-usable class for the company I work for to create some common interface elements. The class, takes in a single parameter as in the construct: an application context. one of the methods, ContentClickableRowWithIcon allows…
RedactedProfile
  • 2,748
  • 6
  • 32
  • 51
11
votes
4 answers

Error parsing XML: no element found

First off forgive me if I posted this question wrong. I've used stackoverflow for many problems but this is the first time I couldnt already find an answer to my problem. So, if I'm doing something wrong please let me know and I'll repost / edit the…
DuxClarus
  • 159
  • 1
  • 3
  • 12
11
votes
1 answer

Running an AVD from Android Studio on Ubuntu 17.04

I am trying to run an app from Android Studio but the AVD does not start. It hangs on 'Waiting for target device to come online' although the emulator loading part finishes (the emulator does not open but the progress bar completes). Output from…
11
votes
4 answers

Definition of DEVELOPER_MODE for StrictMode

I'm anxiously awaiting the open source release of StrictMode for continuation of our platform development. The sample in the Android blog entry suggests surrounding the StrictMode calls with if (DEVELOPER_MODE) { ... } For SDK development, I'd…
Dave Boldt
  • 111
  • 1
  • 3
11
votes
10 answers

Could not find or load main class com.android.sdkmanager.Main

I read these, and these, and these issues about Android SDK installation troubles. Nothing works for me. Every time I get the error C:\Users\user\AppData\Local\Android\android-sdk\tools>android Error: Could not find or load main class…
tmporaries
  • 1,523
  • 8
  • 25
  • 39
11
votes
5 answers

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

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…
without name
  • 147
  • 1
  • 10
11
votes
3 answers

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse

Tried googling but couldn't found the solution. Using Windows 7 Ultimate 64 bits. I have java(64 bits) installed here : C:\Program Files (x86)\Java\jre7 Downloaded Android SDK from here Get the Android SDK I downloaded the 64 bits considering my…
Deepanshu
  • 595
  • 2
  • 5
  • 11
10
votes
1 answer

FlashLED intensity controls

I am looking for help in Android camera LED Flash for changing intensity of it like this app. I have checked following link but i am not getting exact result from it. Can I change the LED intensity of an Android device? How to turn on camera flash…
NIKHIL
  • 2,719
  • 1
  • 26
  • 50
10
votes
2 answers

How to build my own Android SDK

I work on my own android device which has many new APIs (but @hide decorated). My goal is to provide an android sdk to develop on it and use these new APIs. So my questions is : How to build my own android sdk with these new APIs ? If the @hide…
Goo
  • 1,318
  • 1
  • 13
  • 31
10
votes
1 answer

Which versions of Android SDK support coding in which versions of Java?

I was writing an Android app for Android SDK 2.3.3 but then I was asked to test it on a device running Android 2.2.1. So I set my target to 8 instead of 10. But then java.util.concurrent.TimeUnit only had the Java 1.5 feature set instead of the…
10
votes
18 answers

The following processes: -cmd.exe -java.exe are locking the following directory:

I am installing 2.3.3 android API and i got this error: Warning: The following processes: -cmd.exe -java.exe are locking the following directory: C:\Program Files (x86)\Android\android-sdk\tools Any help??
Sherif El Nady
  • 527
  • 2
  • 6
  • 15
9
votes
1 answer

Android adb over Wifi install apk

I have been using ADB on the command line to install apk's via USB. Now I have succesfully connected via Wifi. I am able to install apps. ./adb.exe connect 192.168.2.143 connected to 192.168.2.143:5555 ./adb.exe install -r xyz.apk pkg:…
user1192534
  • 91
  • 1
  • 1
  • 2
9
votes
3 answers

What is Android SDK build-tools, platform-tools and tools?

I know that this is a pretty basic question. But I am new to native android development and I am having trouble wrapping my head around what is what. I am using the Android Standalone SDK and not using Android Studio so please guide be…
krv
  • 2,830
  • 7
  • 40
  • 79
9
votes
5 answers

Android SDK Manager Proxy Settings in LINUX

I am trying to install the Android SDK, in Ubuntu, behind my work firewall and am getting 'failed to connect to dl-ssl.google.com' messages. This is a known problem but every solution I see involves proxy settings and selecting the 'force http'…
user1400716
  • 1,126
  • 5
  • 13
  • 32
8
votes
3 answers

Flutter Doctor - Unable to determine bundled Java version

I actually didn't want to install Android Studio to use flutter, so i just installed the Android SDK Command Line Tools. The thing is, when i run flutter doctor i get the following warning. And when i create a new project i get this one. I am…
Bata
  • 183
  • 2
  • 6
  • 17
1 2
3
32 33