[android-developers] android {create,update} project

2014-12-17 Thread pedr0
Hi everyone, I am working using the android android update project which, if I am not mistaking, creates the build.xml file which actually builds my project, as a part of the build process I do need to call another script before let ant compiling, this script copies a couple of .so file

Re: [android-developers] android {create,update} project

2014-12-17 Thread Gustavo Oliveira
Hello, I think you need to use custom_rules.xml file. Check http://playaprogrammer.blogspot.com.br/2013/01/android-build-configuration-tutorial.html Regards, Gustavo On Wed, Dec 17, 2014 at 12:20 PM, pedr0 pulsarpie...@gmail.com wrote: Hi everyone, I am working using the android android

Re: [android-developers] android {create,update} project

2014-12-17 Thread pedr0
Hi thanks, I think it is a good starting point nevertheless that helps me in configuring new targets withtout changing the build.xml file, what I would like to do is to create a new target where debug - created by default - depends on. So when I run ant debug My custom_target defined in the

Re: [android-developers] android {create,update} project

2014-12-17 Thread pedr0
I have got my trick, I am calling the target which should depend on me using antcall, so: ant custom_debug { .. do my stuff ..} antcall target=debug :-) On Wednesday, December 17, 2014 3:38:18 PM UTC, pedr0 wrote: Hi thanks, I think it is a good starting point nevertheless that helps me

[android-developers] Can an ActionProvider be used in an ActionMode (contextual action bar)

2014-12-17 Thread Shri
I am able to use a ShareActionProvider in a normal action bar to show a Share button. Clicking on it drops down a menu with a list of apps that I can share too. Now, I am trying to use the ShareActionProvider in an ActionMode (contextual action bar

[android-developers] Dex Limit workarounds- ADT or Android Studio only?

2014-12-17 Thread Nathan
I was wondering what all the fuss was over the Dex limit, till I included Google Play Services. Right away, I got the dreaded error: Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0x]: 65536 So now I am referring to the official guide: Building Apps with

[android-developers] Re: Dex Limit workarounds- ADT or Android Studio only?

2014-12-17 Thread Nathan
Only thing so far we've found may be responsible. My ADT did not and will not update. I appears that I installed a combined bundle of Eclipse with ADT and the plugin won't update separately. Errors like the following. Software being installed: Android Development Tools 23.0.4.1468518

Re: [android-developers] Dex Limit workarounds- ADT or Android Studio only?

2014-12-17 Thread Kostya Vasilyev
I feel your pain about Eclipse. Google Play services just recently was split into multiple libraries. Assuming you don't need Google Games and Google Wear and Google Fitness and Google Helicopters and Google Sandwiches and Google Wallet and Google Kitchen Sink all at the same time -- you should