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
1 answer

ndk-build library can't be added to apk file by eclipse and signature issue after aapt a the lib module

First, I am running a ubuntu 12.04 x86 virtual machine hosted on win8. I am compiling a c/c++ library to my android app. After I use ndk-build in the directory, It seems the library and module were built successfully. And I can also see the .so…
0
votes
1 answer

AAPT.exe crashed after added the Aursama kernal in Project

I am trying to integrate Aurasma kernal with my android application. I followed the instructions as given in the http://www.aurasma.com/partners/support/Aurasma%20Kernel%20Guidelines.pdf. The build fails with aapt.exe crashing in the pre-compilation…
0
votes
1 answer

Run "aapt.exe" on phone directly?

I want to create the packaged resource file programmatically and (that's the question) directly in a running app on the android phone. Is there a way to execute "aapt.exe" on the phone or is there another way of creating the resource._rsc file from…
Christian
  • 576
  • 1
  • 4
  • 16
0
votes
1 answer

where does aapt look for resource identifiers

I am trying to build an android application from the command line (the one described at "Minimal" source files to create Android app using Eclipse + ADT ) and aapt is failing with some errors.The errors look like: AndroidManifest.xml:1: error: No…
user1807717
  • 21
  • 1
  • 5
0
votes
1 answer

error!! Unparsed aapt error(s)! Check the console for Sudoku

I read Hello Android book and I have problem with one exercise in book. I copied and pasted the code from book to activity_main.xml (res/layout) and strings.xml (res/values), but the error i'm seeing is Unparsed aapt error(s)!Check the console for…
change world
  • 67
  • 3
  • 10
0
votes
1 answer

aapt using Runtime.exec()

I want to run aapt using the Java runtime. My code is as follows: String srcFile = "/home/jay/testing_FILES.apk"; String dsFile = "/home/jay/testing_FILES"; String firstCommand = ("/home/jay/android-sdk-linux/platform-tools/aapt " + "package -u…
JJJ1106
  • 57
  • 2
  • 8
0
votes
2 answers

using android aapt in java program

I have been trying to execute the aapt command through a java program for quite some time now. My hunch is that I should be using the runtime.exec() command to make this happen. However, I have looked at other questions and answers and none seem to…
JJJ1106
  • 57
  • 2
  • 8
0
votes
1 answer

Trouble with aapt add operation

So I have a file in res/values/ on my desktop, in it is strings.xml, this strings.xml contains the following: Hello World, SHAHashActivity!
sbrichards
  • 2,169
  • 2
  • 19
  • 32
0
votes
1 answer

exec aapt on Linux by java

I'm finding a way to use Runtime.exec() in Linux. I have an aapt Linux version and trying to get information of apk file with aapt. I tried: rt.exec(new String[] {"bash", "-c","." + new File(".").getCanonicalPath() + "dist/lib/aapt d badging \"" +…
CodeBlue
  • 340
  • 2
  • 4
  • 9
-1
votes
3 answers

The following project options are deprecated and have been removed:

"The following project options are deprecated and have been removed" . I have add "android.enableAapt2=false" in gradle.properties but it could not resolve my issue.
-1
votes
1 answer

Rendering problems and ImageView

When i create new project in Android. I'm getting errors: Rendering Problem (activity_main) Command Aapt2.exe with non-zero exit code value 1 ImageView srcCompat Error. What should i do?
Emir Soylu
  • 11
  • 4
-1
votes
1 answer

Can't migrate my project to Android API 27

I have an android project which was developed according to API 25 and was running fine. But, now i wanted to change some code in it and i have also updated my Android Studio to 3.0 since(may be that's the problem). Following are the errors i receive…
Nutty Geek
  • 109
  • 2
  • 8
-1
votes
1 answer

aapt error for Dump badging

ok i m getting this problem out of the blue , not sure what is causing it, when i upload the apk to play store it says Failed to run aapt dump badging: AndroidManifest.xml:425: error: ERROR getting 'name' attribute: attribute is not a string…
SoftReference
  • 6,969
  • 4
  • 19
  • 25
-1
votes
1 answer

Jenkins Gradle Build Issue(Execution failed for task ':app:processPackagingOptionsDebugResources'.)

I am trying to build Android App through Jenkins, using Gradle Plugin. When I buld the application, I am getting the following exception pasted below. This application is runnning well using Android Studio, but unable to build using Jenkins. Please…
Safy
  • 31
  • 6
-1
votes
1 answer

Android Studio cannot start aapt on Kali Linux

I installed Kali Linux on my PC yesterday and installed Android Studio. But when I build a project Android Studio gives me these errors: Error:org.gradle.process.internal.ExecException: A problem occurred starting process 'command…
Mazlum Özdoğan
  • 219
  • 3
  • 14
1 2 3
31
32