aapt2

Android resource linking failed

笑着哭i 提交于 2019-12-14 04:17:05
问题 does anyone know what is this error and how can I fix this? I am trying to open a source code from Mumble and stucked with this error Android resource linking failed Output: C:\Users\NP\Desktop\Plumble-Legacy-master\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:352: error: resource android:attr/popupPromptView is private. error: failed linking references. Command: C:\Users\NP\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.0-alpha17-4804415-windows.jar

Aapt2 error in Android Studio 3.1.1

对着背影说爱祢 提交于 2019-12-12 11:43:20
问题 I updated android studio from 2.2 to 3.1 and it always give me aapt2 error and build failed. I added android.enableAapt2=false in gradle.properties and my project build successfully with a warning: The option 'android.enableAapt2' is deprecated and should not be used anymore. Use 'android.enableAapt2=true' to remove this warning. It will be removed at the end of 2018. The most serious thing is that I can't run the app on my mobile and virtual devices. The error Failed to execute aapt The

Getting the aapt2 parameters of a gradle build?

流过昼夜 提交于 2019-12-11 08:39:36
问题 I am interested in trying to compile an android application from the command line using aapt2. I am having a problem linking the constraint-layout library when I try to perform the aapt2 link command. This program builds successfully from Android studio/gradle. How can I make gradle command line invocation show me the aapt2 command it is running? For the record, I have tried to run ./gradlew assembleDebug --debug and all I can see is the calls to the aapt2-proto library. 回答1: Link The command

Application icon not showing after Gradle plugin update to 3.0

那年仲夏 提交于 2019-12-11 07:16:31
问题 I want to upgrade my Android Plugin for Gradle from 2.3.3 to 3.0.1. I could fix all the errors following the Migration Guide. My problem now is that on Android Nougat (24) and Android Marshmallow (23) application icon is replaced with the default robot icon. Could you help me find the reason for the problem. Previously icon was shown and I don't see logical reason why not now. I tried all suggestions here without success. Here is my Manifest file: <!-- Permissions --> <uses-permission android

How to solve Specified AAPT2 executable does not exist on Android Studio 3.2

霸气de小男生 提交于 2019-12-10 17:47:17
问题 I've an issue with Android Studio. I'm trying to use it on Windows but I've trouble during the project's build process. First, notice Android Studio is installed on my secondary HDD. When I try to build/run my project I get this error: Specified AAPT2 executable does not exist: C:\Users\Rémi\\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.0-4818971-windows.jar\35960bdffa2420a45dff6ec260c07fa9\aapt2-3.2.0-4818971-windows\aapt2.exe And indeed there is no aapt2.exe here. But I've found this

error: too many padding sections on right border

浪子不回头ぞ 提交于 2019-12-08 07:53:01
问题 when i build my project it give me error like I found the reason that, because of 9 patch file i am getting this error. so can any one please look at this 9-patch file for whats wrong in this below image. also i am using layer list for this drop down which is below drop_down_drawable.xml <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape android:shape="rectangle"> <corners android:radius="2dp" /> <stroke android:width=

error: too many padding sections on right border

不打扰是莪最后的温柔 提交于 2019-12-06 15:13:57
when i build my project it give me error like I found the reason that, because of 9 patch file i am getting this error. so can any one please look at this 9-patch file for whats wrong in this below image. also i am using layer list for this drop down which is below drop_down_drawable.xml <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape android:shape="rectangle"> <corners android:radius="2dp" /> <stroke android:width="1dp" android:color="@color/black_c4c4c4" /> </shape> </item> <item android:bottom="@dimen/margin_8"

AAPT2 error: this error happened as soon as i updated my android studio to the latest version

风流意气都作罢 提交于 2019-12-05 18:51:09
I tried " multiDexEnabled true " as well as " android.enableAapt2=false " but the error continues to come.... There seems to be some build problem.... I can't figure out what it is org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processDebugResources'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70) at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter

AAPT2 error in Android Studio 3.0.1

元气小坏坏 提交于 2019-12-05 09:24:08
I'm trying to get a "hello world" application running using Android Studio 3.0.1 and get the following AAPT2 error output: Error:(16) error: not well-formed (invalid token). Error:(16) not well-formed (invalid token). Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details Error:Execution failed for task ':app:mergeDebugResources'. > Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details... I was not able to find a solution, could someone please help me?

Android resource linking failed

烂漫一生 提交于 2019-12-05 03:59:02
does anyone know what is this error and how can I fix this? I am trying to open a source code from Mumble and stucked with this error Android resource linking failed Output: C:\Users\NP\Desktop\Plumble-Legacy-master\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:352: error: resource android:attr/popupPromptView is private. error: failed linking references. Command: C:\Users\NP\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.0-alpha17-4804415-windows.jar\1d0ef7dbf7bb928283477115487f45e4\aapt2-3.2.0-alpha17-4804415-windows\aapt2.exe link -I\ C:\dev\sdk\android