Questions tagged [android-build]

For questions related to the build process of Android Applications, for all build tools.

882 questions
0
votes
1 answer

Compiled classes with resources as library project?

I have to develop an Android library which needs to be packaged and distributed to Android developers. It has both Java classes and resources (icons etc). I'm wondering about the best way of distributing such a library. As we all know many…
0
votes
1 answer

flash generated system.img to Nexus S, then cannot boot up (stuck at *android* screen)

I got android gingerbread source: repo init -u https://android.googlesource.com/platform/manifest -b gingerbread && repo sync Then, I built it: lunch full_crespo-eng && make -j4 Then, I flash images: fastboot flash system system.img && fastboot…
Nairan
  • 51
  • 5
0
votes
0 answers

Dynamically change app label at build time

There are several versions of my app, all created from the same source. Thus far I have been able to conditionally set all the necessary changes between the versions at runtime by reading the app package name. However, one thing that this method…
aaronmarino
  • 3,723
  • 1
  • 23
  • 36
0
votes
0 answers

Unable to bind to WINDOW_SERVICE from an android platform app

I have an android platform app similar to input command where it binds to IWindowManager and inject key inputs. I placed this code under external/vncagent folder. I was able to build it and I have a shell script that invokes the main class like am…
videoguy
  • 1,732
  • 2
  • 24
  • 49
0
votes
1 answer

Error while building Android source code (version 4.1.1_r6): trouble processing "javax/net/ServerSocketFactory.class":

I am trying to build android source code version 4.1.1_r6. Everything was working fine but suddenly I am getting error "trouble processing "javax/net/ServerSocketFactory.class" Any help will be greatly appreciated. Thanks...
user1465266
  • 621
  • 1
  • 6
  • 12
0
votes
3 answers

Maven cannot find external jar's annotations

I'm converting a simple android app to Maven, and I've hit a snag with a 3rd party jar (ActiveAndroid) that contains an annotation class that I'm using within my code. I've confirmed that the jar does contain the annotations class files, and the jar…
danh32
  • 6,234
  • 2
  • 38
  • 39
0
votes
1 answer

including curl into the android AOSP

i've downloaded the curl library source code and i extracted it in the external folder of the android source the i generated the curl_config.h with the following configure command ./configure --host=arm-linux --disable-tftp --disable-sspi…
Hadj Ali Oussama
  • 784
  • 2
  • 8
  • 29
0
votes
2 answers

How to use an external java project in an android application

i've been struggling with this issue for a couple of days now... ill explain my problem in a nutshell.... i have a simple java project (not android library or something more complex) which i want to use as my model.. lets assum it is called mymodel…
Gur
  • 111
  • 8
0
votes
0 answers

Difference of GPS status on Android OS

I have been experiencing a different behavior while executing my application in different Android OS. I have LG-E612 with Android 4.0.3 and my application uses GPS for location updates, once the GPS gets fixed with satellite, the GPS status icon on…
muneikh
  • 2,067
  • 5
  • 25
  • 59
0
votes
2 answers

Android runtime linking issue

I am trying to build an application and an interface jar using the android build system in Linux My application has a dependency with my interface, hence I have to make interface jar ready before application make. But we faced build/run time issues…
Abi
  • 4,718
  • 4
  • 20
  • 29
0
votes
1 answer

Copy a shell script to android out folder and execute it during boot

I have a shell script which I need to copy to anywhere in out folder during Android build process so that it appears somewhere in Android RootFS. Now, once it is copied after Android build process and becomes part of Android RootFS, I want to…
Rookie
  • 735
  • 5
  • 11
  • 30
0
votes
1 answer

android how to [dependency] API<=15: Adding annotations.jar to the classpath

I compile android project through "ant debug".(http://developer.android.com/training/basics/firstapp/starting-activity.html)** ... -build-setup: [echo] Resolving Build Target for MyFirstApp... [gettarget] Project Target: Android…
0
votes
1 answer

Android opengl es 2.0 software rendering

i'm using android 4.1.2 (linaro) at a vexpress platform. Since there is no hardware GPU i'm wondering if it's possible to use the software renderer for opengl es 2.0 support. Regards
bijaer
  • 1
0
votes
2 answers

Android library project custom Ant build

I have a library project that serves as the backend for a number of other projects. It does the web connection and parsing etc. Then I have other front end projects that build on this. For development and server environments I wrote an ANT build…
Saad Farooq
  • 13,172
  • 10
  • 68
  • 94
0
votes
1 answer

Output to file in android c++ source

I've managed to compile android from source and install on my phone. I should probably say from the outset I'm not a c++ developer but I had hoped I would be able to work out how to output the data held in a variable to a file. After a bit of…
James
  • 1,720
  • 5
  • 29
  • 50