Questions tagged [aapt]

Android Asset Packaging Tool is the resource compiler for Android apps.

The Android Asset Packaging Tool (aapt) takes your application resource files, such as the AndroidManifest.xml file and the XML files for your Activities, and compiles them. An R.java is also produced so you can reference your resources from your Java code.

Reference: http://developer.android.com/tools/building/index.html

473 questions
0
votes
4 answers

selendroid server error: Command aapt not found

Currently i am working on selenium web driver for automation testing.As i was interested in mobile app testing as well i have came across this selendroid.So working on how to do automation testing with selendroid.I have installed Eclipse ADT created…
user1648855
  • 41
  • 1
  • 9
0
votes
1 answer

resource errors Integrating facebook sdk in ndk app

I'm using visual studio to compile ndk part and ant script to compile java part. this is my build.xml
0
votes
1 answer

Android system app: aapt doesn't appear to be run

I've been tearing my hair out about this for hours now; I'm sure it's something simple that I'm missing, but I simply cannot figure it out! I have a system app which I usually build using mmm $PACKAGE_FOLDER. I have two other apps that work fine,…
allicoder
  • 285
  • 1
  • 7
0
votes
0 answers

file 'Androidtest.apk' does not contain AndroidManifest file

I am trying to create the apk file using appt tool from command prompt. I have used the following commands. The issue is, I could not install the generated APK file in the device/emulator. Getting the file 'Androidtest.apk' does not contain…
Ponmalar
  • 6,871
  • 10
  • 50
  • 80
0
votes
0 answers

How to find out if an Google Play app is for phone or tablet?

I have a task where I have to find if the application supports for phone or a tablet, that is available on the Google Play Store. I have two ways of accessing the app information: Using selenium automation to search an app url and get the app…
Siddharthan Asokan
  • 4,321
  • 11
  • 44
  • 80
0
votes
1 answer

Retrieving Native Code Architecture from an Android App

I'm working on an app which determines the native code architecture and native libraries used by all the apps installed on the device. It's similar to running the following command. aapt dump badging The package manager…
Siddharthan Asokan
  • 4,321
  • 11
  • 44
  • 80
0
votes
1 answer

Error on aapt analyzing: ERROR getting 'android:name' attribute: attribute is not an integer value

I have a problem when try to load apk to market. My aapt show me these error: package: name='ua.privatbank.gps.android' versionCode='7'…
Konstantin.Efimenko
  • 1,242
  • 1
  • 14
  • 38
0
votes
1 answer

Upload a replacement Alpha Testing APK on Google Play?

I am using the new Google Play "ALPHA TESTING" tab in the Android Developer Console. We have been successful with uploading 7 previous versions and distributing them to our Alpha testers using a Google+ Community. This morning one of the team…
Cory Trese
  • 1,148
  • 10
  • 23
0
votes
0 answers

What does android's resource compiler (aapt) use to identify legal XML?

aapt identifies illegal symbols in res files. What is the authority on which it does this? It is using XPAT to do the parsing but it runs XPAT in non-validating mode: there is no schema. Based on a read of the code, I believe that it considers a…
G. Blake Meike
  • 6,615
  • 3
  • 24
  • 40
0
votes
1 answer

Android project build error: skipping (null) file, android aapt error

I'm new to Android development. I download an opensource android project: open source china android client after import the project into eclipse workspace, there are some error. The main error is cause by some PNG file. I googled skipping null file…
aztack
  • 4,376
  • 5
  • 32
  • 50
0
votes
2 answers

Adding Google-play-services crashes aapt.exe

I'm trying to use google maps v2 for android by adding the google-play-services to my app as a library. Everytime I set a reference to the library I get windows dialog with the message that aapt.exe has crashed. And after I've set a reference to the…
0
votes
0 answers

Devices being filtered by Play Store as Not Compatible

From user feedback, Play is denying one of our Apps as "not compatible" with several devices. e.g: samsung galaxy s i90000 HTC Desire HD A9191 I've done an aapt dump; here is the…
ShibbyUK
  • 1,501
  • 9
  • 12
0
votes
1 answer

Automated Way to Find Android Activity

I have built a script, a part of an automation tool I've developed, that needs to open an apk and find the activity so it can launch it. To do so I have used: aapt dump badging x.apk Which 'should' dump out the activity(s) of the application. Some…
sbrichards
  • 2,169
  • 2
  • 19
  • 32
0
votes
2 answers

Android Multiple APK from same code base

My goal is to create multiple android APKs. All that is different is the package name and I manually override some things in the res folder. I understand you can do a library project. The problem with that is we have to manage multiple manifest…
David Corrado
  • 363
  • 3
  • 19
0
votes
1 answer

Android aapt Tool Not Generating R.Java Correctly

I am new to Android development and I am trying to copy and paste this example from my book using Eclipse/DDMS and . The issue is, the aapt tool does not seem to be generating the R.java correctly. The R.java does not have a myListView and…
dman
  • 10,406
  • 18
  • 102
  • 201