We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,感谢这个项目,我成功是使用它编译了apk,但是每次重新部署环境的时候第一次都需要替换aapt2,这是gradle的bug还是agp的bug,我们需不需要提个issues
The text was updated successfully, but these errors were encountered:
试试这个,这个解决方案对我来说似乎在全球范围内都有效,但我不确定这是否是最好的方法。
pkg install -y aapt2 echo "android.aapt2FromMavenOverride=$PREFIX/bin/aapt2" >> ~/.gradle/gradle.properties
此版本的 aapt2 在某些项目中可能会出错。如果仍然有错误,请尝试此处发布存档中的版本 https://github.com/lzhiyong/termux-ndk/releases/download/android-sdk/android-sdk-aarch64.zip ,而不是 pkg install aapt2 中的版本。
aapt2
pkg install aapt2
Sorry, something went wrong.
试试这个,这个解决方案对我来说似乎在全球范围内都有效,但我不确定这是否是最好的方法。 pkg install -y aapt2 echo "android.aapt2FromMavenOverride=$PREFIX/bin/aapt2" >> ~/.gradle/gradle.properties 此版本的 aapt2 在某些项目中可能会出错。如果仍然有错误,请尝试此处发布存档中的版本 https://github.com/lzhiyong/termux-ndk/releases/download/android-sdk/android-sdk-aarch64.zip ,而不是 pkg install aapt2 中的版本。
有效果,多谢了。建议你可以为你这个方法提个pr修改下教程文档,你这个方法可以永久解决,目前的替换缓存的方法在清楚缓冲后会失效
No branches or pull requests
你好,感谢这个项目,我成功是使用它编译了apk,但是每次重新部署环境的时候第一次都需要替换aapt2,这是gradle的bug还是agp的bug,我们需不需要提个issues
The text was updated successfully, but these errors were encountered: