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
0 answers

"No resource identifier found for attribute" error when renaming package using aapt:

I have a project that contains all the logic and the default resources, I have another two projects that use this project but at compilation time they change the project package using the "Rename Manifest Package" option from IntelliJ. And all of…
Emil Adz
  • 40,709
  • 36
  • 140
  • 187
0
votes
1 answer

How do I go about troubleshooting this ANT aapt error (null returns 255)

I am fairly new to ant and Team City, but have had a few builds up and running for the last few months, however one just started to fail yesterday, and I have spent the greater part of the intervening hours totally failing to understand it. The…
johnc
  • 39,385
  • 37
  • 101
  • 139
0
votes
1 answer

aapt.exe craches when I try to add a new Activity to my project or clean project

I use standard settings when create a new BlankActivity to project. Because of this problem, I have new problems with android-support-v4.jar and appcompat_v7 in my project. There are some folders of appcompat_v7 are created in my workspace…
Vladislav
  • 1,236
  • 13
  • 22
0
votes
1 answer

Google Play says my APK is missing Manifest. Why?

I am getting a really nasty error when trying to upload an APK to the Play store. It claims that the Manifest is not inside the APK, and I have already exhausted all my troubleshooting tricks and existing Stackoverflow questions. My code and logs…
Josh
  • 6,251
  • 2
  • 46
  • 73
0
votes
0 answers

Android XML enum name="center": aapt gives error 138 during "processDebugResources"

I'm quite sure I've done it in the past, but creating an enum with the specific name "center", like this: Makes aapt…
Takhion
  • 2,706
  • 24
  • 30
0
votes
1 answer

Prevent service collisions after aapt --rename-manifest-package

I'm creating a white-labeled application. I run the project through aapt with the --rename-manifest-package option. This allows me write com.foobar And release com.foobar.demo and com.foobar.extended versions to be installed on the same…
johncc
  • 918
  • 1
  • 8
  • 13
0
votes
2 answers

Error with android app, eclipse, R class and aapt

I'm working on an Android app in Eclipse. After making certain changes to one of my Activity classes layouts and cleaning/rebuilding the code at first I get an "error executing aapt return code 1" error, after which the R class does not get…
Vee6
  • 1,527
  • 3
  • 21
  • 40
0
votes
1 answer

aapt, ERROR: dump failed because no AndroidManifest.xml found

I know there are a lot of these topics around but none seem to help in my case, nor describe it exactly. My problem is when I run this command ./aapt d test.apk myfolder (in mac) I'm getting ERROR: dump failed because no AndroidManifest.xml found I…
Hesam
  • 52,260
  • 74
  • 224
  • 365
0
votes
2 answers

getting aapt error in android while running the program

I am getting this error message frequently I installed all components perfectly
SuRu
  • 739
  • 1
  • 6
  • 19
0
votes
2 answers

What's wrong with this XML file? (keeps crashing aapt.exe)

I've had problems with my app and eclipse so I saved my code, deleting eclipse, and re-downloaded and extracted. Immediately after I added the XML file to res/menu, I got a windows message saying aapt.exe has stopped working; I'd been getting this…
user2100364
  • 87
  • 1
  • 1
  • 15
0
votes
1 answer

aapt can't find 9Patch Images

I want to certificate an Android project just with cmd. Now Im stocked at the creation of the .apk file. aapt says he cant find the pictures with the .9. ending. If i rename this pictures and delete the .9. ending then everything works fine without…
0
votes
2 answers

"Error: No resource found that matches the given name..." aapt on cmd line

I have the problem that when I try to create the .apk file with the cmd line and the aapt order, It gives me the following error: "...\res\layout-land\activity_statistics.xml:2: error: Error: No resource found that matches the given name (at…
user2889693
  • 155
  • 1
  • 2
  • 10
0
votes
2 answers

strange aapt.exe error while adding item to xml file

Why do I get an aapt.exe has stopped working error when I put this code in my res/menu/menu.xml file? by the way, this comes directly from android developer website XML: