Android :: SDK Target Must Be Specified?

Jan 21, 2010

I'm really new at this. I'm following the book "Android" by O'Reilly press a little outdated, I'm using Pulsar for Mobile Java Developers. Build id: 20090920-1017 I go to File, New Project, Android, Android Project. I enter "Hello World" for Project Name. Then I get "An SDK Target must be specified." There is a check box but it says "no target specified". How do I get this resolved and how do I get to the command line?

Android :: SDK Target must be specified?


Android :: Project - Build Target Show No Target Available

Feb 23, 2010

I installed newst Android, JDK, Jer and eclipse. Than I tryed to build android project. But "build target" show "no target available". I looked at internet, they said I should run "Android SDK and AVD manager", I runed it but get follow message: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: No route to host: connect

I read this group's conversation that suggest to use http not https, I tried it but still can not run Available Packages.

View 2 Replies View Related

Android :: Differences In Building For Target 2 And Target 3 In 1.5 Sdk

Oct 7, 2009

What are the differences between building for target 2 (no gmaps add on) and target 3 (with gmaps addon).

Could any one has the ant scripts to bulids for these targets.

I see 1.5 SDK does these though custom ant tasks rather than 1.1 ant scripts (this was more clear and apperant on how it does the build)

View 4 Replies View Related

Android :: There Is NO AVD Target?

Oct 30, 2009

Trying to set up my eclipse envirnment to actually be able to try some things out on android...

I've installed the sdk, put it in my path variable, installed the ADT, downloaded the "developer tools" from the eclpise menu..

But... Then I go to the command line, navigate to the tools folder of my sdk, and run "android create avd --target 2 --name mine"

and I get this "error":

Error: Target id is not valid. Use 'android.bat list targets' to get the target ids.

So, I of course happily run the 'android.bat list targets' and get the following message!

"Available Android Targets:"

That's it. There are no targets.... I open the AVD window in eclipse, there are no targets... I click "New" in that window, and a target is required, but the drop down is disabled because there are NO AVD TARGETS.

View 8 Replies View Related

Android :: Target Not Available / How To Get

Feb 21, 2010

I downloaded Android most new version and downloaded most new eclipse, I plugin Android into eclipse. But when I make new Android project
"build target" tab, show "no target available" who can tell me how can I get a target?

View 1 Replies View Related

Android :: Create An AVD - No Target ID's

Jan 20, 2010

I'm trying to create an AVD, but I don't have any target ID's available. If I enter "android list targets" at the command prompt in the tools directory, I get an empty list.

View 2 Replies View Related

Android :: Target 1.1 With Early Look SDK

Apr 14, 2009

Is it safe to use the 1.5 early look SDK to build production apps for 1.1 targets? I want to start developing a cupcake branch of my software, just wondering if I'll need to switch back to using the stable SDK for production builds...

View 2 Replies View Related

Android :: SDK Target Must Be Specified When Creating New Project

May 3, 2010

While trying to create a new Android Project., Get a error - An SDK Target must be specified. The documentation states that - "Under Target, select an Android target to be used as the project's Build Target. The Build Target specifies which Android platform you'd like your application built against." However in my case The Build Target section of the open dialog does not contain any text field or select dropdown, so I am not able to specify anything.

View 11 Replies View Related

Android :: Target Api 1.6 But Use Packages From 2.0 (safely)

Nov 25, 2009

My app targets 1.5, and runs fine on my phone (1.6), but to support droid, I need the package android.telephony.cdma from 2.0. Targeting 2.0 excludes the current devices running my app (including my own G1), but as it is now, I can't support the Droid.

View 8 Replies View Related

Android :: ADT Eclipse Plugin Won't Let Me Put In A Target

Mar 17, 2010

I've been trying to make a new Android project in Eclipse. But whenever I try to do so, it won't let me select a build target. Here's a screenshot: http://twitpic.com/198od6

View 3 Replies View Related

Android :: Platform Target Error / What Does It Mean?

Feb 22, 2010

Whenever I try to install the android platform on netbeans 6.8 and I select the appropriate folder, in the later step when I press next, i get this error: A platform target has to be selected - and there wont be anything to select. What does it mean?

View 2 Replies View Related

Android :: Which Device To Target For Development?

Jun 25, 2010

Just wondering which mobile device should i target first for my application after a bit googling i found Android dev phone 1 and android developer phone 2 but does this device have or support Android 2.1 ? Or can i target some other device like motorola droid for my development and testing ? What would be the pros and cons in this situation?

View 12 Replies View Related

Android : What Smartphones To Target For A Modern B2c App?

May 17, 2010

We want to build a smartphone app which uses geolocation, etc. and target the most important smartphones. Which OS would you support for a b2c application? I found a german statistic here: http://de.statista.com/statistik/daten/studie/150842/umfrage/prognostizierte-marktanteile-der-smartphone-betriebssysteme-in-2013/ which forecasts the smartphone usage for 2013. To summarize it lists the following OS, ordered by priority:

Symbian, Android, Blackberry (RIM), Windows Mobile, iPhone

Would you agree with this priority or should we start with the classical: iPhone/Android combo?

View 5 Replies View Related

Android :: Target Running Application With KeyEvent?

Nov 12, 2010

my goal is to target with a keyevent a specific application running either in foreground or background from a background service. I tried many solutions, but have not yet managed to do it. The few solutions tried (all from a background running service): With a broadcast, I tried to target the first application (for example the phone app) that would manage the key event

KeyEvent lKey1Up = new KeyEvent(KeyEvent.ACTION_UP,KeyEvent.KEYCODE_ENDCALL);
KeyEvent lKey1Dwn = new KeyEvent(KeyEvent.ACTION_DOWN,KeyEvent.KEYCODE_ENDCALL);
Intent lKey1UpIntent = new Intent(Intent.ACTION_MEDIA_BUTTON);
Intent lKey1DwnIntent = new Intent(Intent.ACTION_MEDIA_BUTTON);
lKey1UpIntent.putExtra(Intent.EXTRA_KEY_EVENT, lKey1Up);
lKey1DwnIntent.putExtra(Intent.EXTRA_KEY_EVENT, lKey1Dwn );
sendOrderedBroadcast(lKey1UpIntent, null);
sendOrderedBroadcast(lKey1DwnIntent, null);

=> Nothing happens with my foreground phone app when the broadcast is performed while I am in a phone call state (OFFHOOK). Indeed, I was nearly sure this would not work since I have no way to specificely target the phone app.............

View 1 Replies View Related

Android :: Market Filters And Build Target

Nov 18, 2010

I want to set in project properties build target 2.2 (api level 8) In the manifest.xml <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/> is declared. Did anybody tried, if any user (with min. Android 1.5) see application in the market? Could some other problems occur because of different SDK for building and in manifest?!

View 2 Replies View Related

Android :: Linking Google Maps Api Target With 2.1

Jul 1, 2010

I have developed two separate applications 1) android 2.1 that takes user input / registers , shared pref and stuff and 2) Google Maps GPS on target Google APIs 7. Now, I would like to embed the second project in first . That is, after the user registers it will bring up Maps and suggestions and stuff. How can I use both the targets (Apis ) together in a single App?

View 1 Replies View Related

Android :: Cant Find Device In Target List

Sep 30, 2010

I have installed usb driver, selected the android device's debugging mode but i can't access the android device in the target android device's list.I am using htc wildfire as my android device. i chose the connection type of my device to my pc as Disk Drive.

View 1 Replies View Related

Android :: Using FLAG_ACTIVITY_CLEAR_TOP - But Don't Restart Target Activity?

Nov 21, 2009

I'd like to use FLAG_ACTIVITY_CLEAR_TOP to launch an activity in my app. It has one feature I don't want though - it restarts the target intent, instead of just resuming it. Example history stack, with activity D making the call to B with that flag:

A B C D

new stack

A B

But 'B' gets relaunched, its onCreate() method is called. Since B is already in the history stack, is there a way I can use this flag, but have it *not* recreate B, just onResume() it again? The reordering flags are kind of what I need too, but they won't pop C and D, just reshuffle the stack so B comes to the top, but I want C and D to go away.

View 5 Replies View Related

Android :: Add Custom Target To Droid SDK And AVD Manager?

Sep 14, 2010

From the Android SDK and AVD Manager it is possible to add an extra Add-on Site URL.

I'd like to have some starting point or documentation about developing and distributing add-ons so I can distribute an SDK for my own target device.

View 1 Replies View Related

Android : Cannot Select Target When Creating New Project / Way To Fix

Mar 25, 2010

I am not able to select build target when i create new project in android eclipse on mac system.

I have installed eclipse-java-cocoa 32 bit version and ADT-0.96 version. This was a fresh installation and i also installed AVD and SDK Manager and have created 2 avd's.

I tried creating bash profile. Even then i am not able to select build target,,the targets are not visible at all. I have attached image to show how it looks in eclipse.

View 3 Replies View Related

No Properties And Build Target In New Android Project

Feb 15, 2012

i recently installed eclipse 3.5.2, sdk platform andoid 1.6, api 4 revision 4 and google APIs by google inc. i also set the path for sdk. but everytime i tried clicking the new android project, the build target and project doesn't show up. the only thing that appears is the 'Project Name', 'the location', and the working set.

View 3 Replies View Related

Android :: Sdks - Google Apis Build Target For 1.5?

Sep 22, 2010

I'm configuring a new machine for Android development and moving my current project over. I did a fresh install of all the Android tools and SDKs, and under "build targets", the Google APIs' target supports Android 2.2. Of course I need 1.5 as the base build target. My project doesn't build when I select that because the Google Maps stuff from maps.jar isn't there. In fact, after I did my full install I can't find maps.jar anywhere on my new machine. Is this jar file still required for Google Maps integration, or is it history? I'm using Eclipse 3.5. I guess I'd presume there would be a "google apis" for Android 1.5 build target. I'm thinking my install must be hosed; but maybe it's my understanding.. :)

View 1 Replies View Related

Android :: Framework Base Interfaces Not Find On Target

Jul 22, 2010

i have created an application XYZApp and put it in package/ apps directory of eclair source code and i have added one directory name XYZFrame in framework/base and XYZFrame dir have native code, jni and interfaces. These interface define in framework/base/XYZFrame/ Interfaces/ directory are imported and implemented in class of package/app/XYZApp. The XYZFrame is added in build/core/pathmap.mk and compiled. The compilation is done and apk for XYZApp is created. I installed the XYZApp.apk in to galaxy phone using adb. Now when i execute the XYZApp. apk on galaxy phone, i m getting an error (interfaces not found and fail to link). These interfaces are defined in framework/base/XYZFrame/Interfaces/. i think that framwork/base/XYZFrame/Interfaces are not available on phone Or problem is some thing else.

View 3 Replies View Related

Android :: Playing Recorded Sounds In Application (Target 1.5)

May 1, 2009

I have an application that I developed using the Android 1.1 SDK that I am trying to port to Android 1.5. In my application, I record a sound through the microphone and then do various things with it, including playing it back using a MediaPlayer object. My code works fine when I use the 1.1 target, but when I use a 1.5 target I get this error when setting up the player:

Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported error (1, -4) Couldn't setup MediaPlayer java.io.IOException: Prepare failed.: status=0x1 at android.media.MediaPlayer.prepare(Native Method) at org.byu.chum.AudioUtils.AudioRecording.stopRecording (AudioRecording.java:92) at org.byu.chum.SoundRecorder.Recorder$StopListener.onClick (Recorder.java:198)...

It seems like Android isn't liking the format of my media, but I don't know why, since I just recorded that very format on the Android device. Here's the code that is throwing the error:

player = new MediaPlayer();
try { player.setDataSource(recordFile.toString());
player.prepare(); } catch (IOException e) { Log.e("playRecording", "Couldn't setup MediaPlayer", e); }

View 13 Replies View Related

Android :: How Can Target Activity Get The Request Code In StartActiivtyForResult()?

Feb 11, 2010

I am starting an activity with startActivityForResult(intent,requestcode). And i am receiving result onActivityResult() call back .

The target acivity which gets the intent should get the request code And based upon the request it has to do the specified operation.

How can target activity get the request code, which is passed to startActivityForResult().

View 2 Replies View Related

Android :: Change Target Build On Droid Project?

Jul 27, 2010

I currently have an Android project in Eclipse.

I created it with a target build of 1.5 (sdk 3).

Now I want to change it so that it has a minSdk of 3 and targetSdk of 8.

To do this I see that I must build against the newest SDK (2.2)

To do this in Eclipse I right click on my project, go to properties, click on Android and change the project build target to Android 2.2 and click apply and then ok.

However this appears to have no affect and when I try it again the target build is set back at Android 1.5.

Am I missing a step or something?

View 2 Replies View Related

Android : Glitch In Eclipse SDK - Can't Select Build Target

Jul 13, 2010

I believe I have found a glitch in the Eclipse Android SDK. I use my notebook for Android development and have noticed that when I try to create a new project, the "Build Target" section of the New Android Project dialog is unusable because of the small screen size. My notebook's screen resolution is 1366x768 and you can see what I mean in my screenshot here: http://imagebin.org/105099.

Does anyone have any suggestion on how to go about getting this fixed? Eclipse + Android is impossible to use on my notebook because of this bug. (Because the Build target cannot be set, I cannot progress through the dialog to create the project). I'm limited to developing in Genny and compiling manually for now.

View 2 Replies View Related

Android :: Use TouchDelegate To Increase Size Of View's Click Target?

Aug 27, 2009

My understanding is that when you have a view that's too small to easily touch, you're supposed to use a TouchDelegate to increase the clickable region for that view. However, searching for usage examples on Google turn up multiple people asking the question, but few answers. Does anyone know the proper way to set up a touch delegate for a view to, say, increase its clickable region by 4 pixels in every direction?

View 2 Replies View Related

Android :: Dynamic Class Loading To Target Multiple Versions

Aug 20, 2010

I would like to make a single Android app for multiple Android versions (possibly every one of them)
My problem is that I want to check what is the version of Android the app is currently running on, and dynamically load a class which is version dependent. This part should be ok.

I just wonder how I can achieve that without compilation errors in my Eclipse project. I mean, the project is configured for a particular target (1.5, 2.1 ...), so if a class in my project is not compatible wich the selected target, it will result in errors.

Is there a way to export this classes even if they are not fit for the platform (I thought about a separated lib, but then again : how to compile theses classes into a lib without compilation pbs?) ? This should be ok since they won't be loaded until I ask them to after having checked Android version.

View 2 Replies View Related

Android :: Most Cost Effective Way To Target Multiple Mobile Platforms

Apr 26, 2010

I have been given the tasks of speccing a mobile application, which will need to run on approx. 1000 devices. These devices already exist, and consist of iPhones, BlackBerrys, Androids, Windows Mobile and Netbooks. The application will have simple reporting capability, and a collection of forms. Anyway, the obvious solution would be to develop some browser based solution, although given the occasionally connected nature of the devices, there's a potential for data to get lost / not saved.

So instead of creating a complex application for each platform, I was thinking we could build what is effectively a form generator, with basic offline storage capability (text files), designed to run on each device, and have the device generate a form, based on for example an XML file that it could request from a server somewhere, resulting in minimal specialist development costs, and the ability to run most of the logic from the server end, with the devices being dumb clients that render forms and upload the data when there is an available connection. Anyway, my question summarised is, how have you made the decision on supporting multiple devices for your application. Is this always an unavoidable problem, and you just have to make the call to support 1 or 2, or pay for developers to write code for each platform, or alternatively supply pre-installed devices to the company?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved