aapt2.exe不存在问题:Specified AAPT2 executable does not exist


six

问题描述

Specified AAPT2 executable does not exist: C:\Users\zl_freedom\.gradle\caches\transforms-1\files-1.1\aapt2-3.3.2-5309881-windows.jar\33fcf0bf6398bb9770bb65795feadcdd\aapt2-3.3.2-5309881-windows\aapt2.exe

问题原因

以AS3.3.2为例,AS3.3.2的这个文件夹(aapt2-3.3.2-5309881-windows)下的aapt2.exe被删掉导致的

解决办法

参考:https://stackoverflow.com/questions/52545740/how-to-solve-specified-aapt2-executable-does-not-exist-on-android-studio-3-2

步骤

1.删除aapt2-3.3.2-5309881-windows文件夹

2.clean项目,rebuild项目

3.解决(重新在aapt2-3.3.2-5309881-windows文件夹下下载了aapt2.exe)

成功合影


你可能感兴趣的:(aapt2.exe不存在问题:Specified AAPT2 executable does not exist)