[android-developers] ANT TOOLS I reinstalled for phonegap command line AND NOW NOT CAN RUN PROJ Neither netbeans nor eclipse?

2013-09-11 Thread lselwd
> > ant -f C:\\Users\\User\\Documents\\NetBeansProjects\\AndroidApplication4 >> debug > > Android SDK Tools Revision 22.0.0 > > Installed at C:\Users\User\AppData\Local\Android\android-sdk > > Project Name: AndroidApplication4 > > Project Type: Application > > *C:\Users\User\AppData\Local\Android

Re: [android-developers] Ant Dex creating a apk

2012-08-19 Thread Kristopher Micinski
there is only one android.jar that you use, they are stubs for the Android pieces of your project, and that is it. Your jars are the extenal libraries that you will use, they typically go in the libs/ folder of your project. You create a new project by doing an 'android project update -p .' with

[android-developers] Ant Dex creating a apk

2012-08-19 Thread Eric
We are attempting to create our apk using the ant build system. Our Eclipse workspace has several other android jar libraries. After having Android ant create our ant project file, we are having the following issues: 1. The ant build script is building the Android libraries with a name of cla

[android-developers] Ant build fails since upgrading SDK to latest revision

2012-04-04 Thread Dirk Vranckaert
In my application I use RoboGuice and the configuration for RoboGuice requires to add an Application-class and specify it in the AndroidManifest.xml file in the application-tag using the 'android:name' attribute. So this is how my applicaiton-tag in the manifest looks like: This always wor

Re: [android-developers] ant build not detecting changes

2012-02-02 Thread Kostya Vasilyev
On 02/02/2012 09:11 PM, aaron wrote: I've recently updated to the latest android sdk but it's been a while since I did a build with ant so not sure if that's related. The issue that I'm having is the when I change source files it's not building a new apk. It looks like the problem is: -compile

[android-developers] ant build not detecting changes

2012-02-02 Thread aaron
I've recently updated to the latest android sdk but it's been a while since I did a build with ant so not sure if that's related. The issue that I'm having is the when I change source files it's not building a new apk. It looks like the problem is: -compile: [javac] Compiling 1 source file t

[android-developers] Ant debug fails with android library (linked with absolute path)

2011-11-14 Thread Faboom
I have a fresh android project (APP) and a fresh android lib project (LIB) under MacOS or Linux, created by command line as explained in http://developer.android.com/guide/developing/projects/projects-cmdline.html. APP builds with ant debug successfully (no LIB connected). When I link the library

[android-developers] ant

2011-11-10 Thread bob
Are there any good books that explain how to use ant to automate Android builds? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send e

[android-developers] Ant Build issue

2011-10-18 Thread sid
Hi everybody I am trying to compile simple Hello World program mentioned in the website.My Ant is not able to compile the code , it wants version 1.8.0 or higher version. I have downloaded almost all tye of ants from Apache website 1. all the binaries are 1.7 version 2. source code I am not abl

Re: [android-developers] Ant and compatibility pack for Fragments

2011-05-25 Thread Mark Murphy
On Tue, May 24, 2011 at 2:16 PM, Joachim wrote: > I'm trying to get my CI server up and what not and am using ant to > build my projects.  However I'm noticing that I need to copy the > compatibility pack from the installed location in the sdk to my > projects lib folder.  Does anyone know of a mo

[android-developers] Ant and compatibility pack for Fragments

2011-05-25 Thread Joachim
I'm trying to get my CI server up and what not and am using ant to build my projects. However I'm noticing that I need to copy the compatibility pack from the installed location in the sdk to my projects lib folder. Does anyone know of a more elegant way of doing this? Since I would have to copy

[android-developers] Ant and Android

2011-04-13 Thread Sam
Hi, I'm setting up an automated build system using Ant, for our Android project. As a starting point, I've simply exported the required "build.xml" through Eclipse. If I clean the project, and run "ant" in the command line at the root of the our Android project, I receive the following compile e

[android-developers] ant run-tests returns code 0 even if tests fail

2011-02-27 Thread donV
Hi all! When running "ant run-tests" and getting test failures, ant still says "BUILD SUCCESSFUL" and return code 0. This makes is hard to automate testing. Is there a way to programmatically detect test failures? -- You received this message because you are subscribed to the Google Groups "

[android-developers] ant build error while importing third-party library

2011-01-17 Thread 陈彧堃
When I put a third-party jar into /lib folder, then build it with ant, the error shows. Also the error goes off if the library is removed. [echo] Converting compiled files and external libraries into bin/classes.dex... [apply] [apply] UNEXPECTED TOP-LEVEL ERROR: [apply] java.lang.

[android-developers] ant build wont include jars in libs/

2011-01-13 Thread allstars
hi in older sdk if i build my project with ant it will include all the jars in the libs/ folder but in the latest sdk (2.3) now it cannot I try to do 'dexdump' to the classes.dex and it didnt include the classes in my jars located in libs/ what should I do if I need to include jars in libs/ like

[android-developers] Ant Emma and JUnit, integrating all three

2010-12-29 Thread maccoy
Is there a step by step guide to try this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...

[android-developers] Ant not building app properly

2010-12-21 Thread Brian Olsen
Hello, I have been building an Android app for some time now, and I decided to start using Ant for building instead of through Eclipse. Building through Eclipse has always worked flawlessly, but when I started building with Ant, the builds (that would install in an emulator) would always be unstab

[android-developers] ant build seems to be broken on lib-projects with Android 2.3 SDK

2010-12-08 Thread ScribbleAndScrawl
With the 2.3 SDK installed I cannot ant to work correctly on any of my library projects. Even starting from scratch: android create lib-project --package com.test.test --target 8 --path testLib when I try to: ant compile I get this error: Buildfile: /Development/scratch/testLib/build.xml

Re: [android-developers] Ant build with Proguard (per blog) not obfuscating

2010-09-24 Thread Xavier Ducrohet
some classes will not be obfuscated like classes extending Activity, Service, and other classes referenced in the manifest. The way the obfuscation works is that it creates a jar file of your application code (should be in bin/obf/original.jar I think) which is then obfuscated. This is the line:

[android-developers] Ant build with Proguard (per blog) not obfuscating

2010-09-24 Thread Anm
The timing of this week's blog post was perfect. It was exactly what I intended to do today. And the extra Ant step worked fine, and I can see Proguard obfuscate my files into bin/obf/obfuscated.jar (yes, I tweaked the file names and paths a little bit), the resulting App- release.apk does not i

Re: [android-developers] ant build file for android

2010-09-11 Thread nikhilesh singh tak
hey Leigh thanks for the help. I found a very good reference document for the same at http://www.androidengineer.com/2010/06/using-ant-to-automate-building-android.html On Fri, Sep 10, 2010 at 12:49 AM, Leigh McRae wrote: >  Look under other IDEs in the tools docs.  You can have android genera

Re: [android-developers] ant build file for android

2010-09-09 Thread Leigh McRae
Look under other IDEs in the tools docs. You can have android generate a build.xml and then you can override whatever you need. On 9/8/2010 4:04 AM, nikki wrote: hi group I need to write ant build file for my project. Do anyone have an idea about how to write ant build file for android.

[android-developers] ant build file for android

2010-09-08 Thread nikki
hi group I need to write ant build file for my project. Do anyone have an idea about how to write ant build file for android. regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

Re: [android-developers] ant task for deploying to the market?

2010-08-19 Thread TreKing
On Wed, Aug 18, 2010 at 3:06 PM, fba wrote: > Does anyone know if such a beast exists? > No. We really don't need to make it easier for spammers to flood the Market. - TreKing

[android-developers] ant task for deploying to the market?

2010-08-18 Thread fba
Hi all, I googled around to see if I could locate an ant task that would allow me to deploy to the market. (Rather than using a web browser to log in and upload it.) I didn't find anything. Does anyone know if such a beast exists? Thanks! -- You received this message because you are subscri

Re: [android-developers] Ant Build increment Version number

2010-08-08 Thread Leigh McRae
Use the ant task replaceregexp to find and replace the values in AndroidManifest.xml. Also there is an ant task to maintain a build number, I forget the name. On 8/7/2010 11:05 AM, samspade79 wrote: Hi, Does anyone know a way I can have my ant build automatically increment the version number

[android-developers] Ant Build increment Version number

2010-08-07 Thread samspade79
Hi, Does anyone know a way I can have my ant build automatically increment the version number in the AndroidManifest.xml file ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googleg

Re: [android-developers] Ant vs Eclipse build difference

2010-03-17 Thread Sean Hodges
Your team member was using the Java 6 JDK. The @XmlSeeAlso annotation is not available in the Java 5 SDK: http://java.sun.com/javase/6/docs/api/javax/xml/bind/annotation/XmlSeeAlso.html I've seen this happen a lot. You need to either switch to JDK6 to build your app, or find an JDK5 compatible alt

[android-developers] Ant vs Eclipse build difference

2010-03-16 Thread Amy Winarske
The Eclipse build for my 1.6 application project is succeeding and the Ant build is failing. I'm looking for help on why they aren't behaving the same way. We are developing on Mac OSX 10.5.8 with Eclipse 3.5 against SDK 1.6 + Google APIs. There are no setting changes in Eclipse, either at works

[android-developers] ant build problems

2009-08-06 Thread enervatron
HI all, I'm seemingly having problems creating the apk using an ant build for 1.5. It's building so I'm guessing the sdk pointer in local.properties is set correctly, but it seems to not be finding sun.security.x509.* (?). I can see that jarutils.jar is in ~/android-sdk-linux_x86-1.5_r2/tools/li

[android-developers] ant and eclipse builds don't play nice

2009-05-25 Thread Craig
Hi, I use ant to do release builds, and eclipse to do all my debug builds. With the new 1.5 sdk, my build.xml overides the resource-src target in order to perform some additional tasks, and it then depends on android_rules.resource-src to get the proper toolchain behaviour: e.g. ... ... This

[android-developers] ANT Build files sdk 1.5 and beyond

2009-04-24 Thread Fred Grott(shareme)
Good morning, I am in the process of writing some new build files for Android Sdk 1.5 and beyond. My question is every tool-IDE plugin the same in that they do not contribute the ANT task libs to the IDE ant editor and thus have to manually set the paths in each IDE? At them moment i know ADT 0