Questions tagged [aapt2]

146 questions
0
votes
1 answer

Migrating to Android Studio 3.1.1 - getting "AAPT: error: :item>."

I am trying to migrate an Android Studio 3.0 project to Android Studio 3.1.1, which enables the Android gradle plugin 3.1.1 and the new AAPT2 resource processor. I think my problems stems for either of these. Basically, when I try to gradle sync my…
Johan Paul
  • 2,203
  • 2
  • 22
  • 38
0
votes
1 answer

Many errors appeared after i added a recycler-view dependency in my project

My app worked fine and compilated untill i added com.android.support:recyclerview-v7:28.0.0-alpha1 in my project. Here are my errors: Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources,…
Stanly T
  • 964
  • 1
  • 12
  • 30
0
votes
1 answer

AAPT2 error: check logs for details AppThene

I am facing an AAPT2 error, this is due to the upgrade of Android Studio. After a lot of Internet Search, i figured it must be something with the xml in the Android Manifest. I tried different things, chanching the structre, but not sucessful yet.…
Christian Bohli
  • 331
  • 1
  • 4
  • 15
0
votes
1 answer

AAPT failed linking references

When I'm building the ROM, SamsungDoze gives me an error when AAPT is linking references: [ 0% 162/23367] AAPT2 link /home/javi...sungDoze_intermediates/package-res.apk FAILED:…
Jviix
  • 1
  • 1
  • 2
0
votes
0 answers

When generate android build in jenkins it gives me error?

I have successfully generated build from the android studio but when I am trying to generate build using Jenkins it gives an error. Please check log in below link. https://pastebin.com/cwWMYdyx
Mahesh
  • 1,559
  • 6
  • 27
  • 57
0
votes
1 answer

AAPT2 Compile time error Android Studio

I've been using Android Studio perfectly well for a long time now but when I tried using CardView in my layout file. Information:Gradle tasks…
Alex Kombo
  • 3,256
  • 8
  • 34
  • 67
-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
-2
votes
1 answer

Aapt does not run on arm architecture

I'm using Nethunter, and the architecture is Linux arm, and I would love to use the apktool tool, I'm studying and reading pentest books, but I can't practice if I don't apply what's there, the problem is that for me rebuild an apk using apktool b…
Dakota
  • 42
  • 1
  • 9
-2
votes
2 answers

Java compiler error, cannot resolve R, build failed

I'm newbie here, I have some problem in my script Hope you guys help me In this picture, My R script cannot resolve, and My Build failed, and Java Compiler error This build failed logs org.gradle.initialization.ReportedException:…
Newbie
  • 7
  • 5
-2
votes
1 answer

Cause: aapt2 is missing on 'C:\Users\Awaisi3\AppData\Local\Android\Sdk\build-tools\27.0.3\aapt2.exe'

trying to develop a simple app for Android device. After updating this error appearing when I test my app, don't know much about these sort of errors Cause: aapt2 is missing on…
-3
votes
1 answer

Android Studio AAPT1/AAPT2 errors

I have two separate errors relating to AAPT: The first: AAPT2 error : check logs for details The second: Failed to execute aapt The first error can be solved by adding android.enableAapt2=false into the gradle.properties file, but this causes…
molamola
  • 269
  • 4
  • 15
1 2 3
9
10