New issue
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
runnig aapt without --no-version-vector cause some problem with res/drawable/xxx.xml which contain <vector/> #1384
Comments
Are you saying that default apktool execution of aapt should use this parameter? So if I create a vector XML resource it would automatically version this across resources if I don't use this parameter? |
if I don't use this parameter, aapt would automatically generate versioned copies of vector XML resources. after apktool works。 in res/drawable-v21: |
so, I add a noVersionVectors in ApkOptions.java, and if noVersionVectors == true, I will add paramter --no-version-vectors in function-aaptPackage in AndrolibResources.java |
Okay thanks for the information, because Apktool is suppose to match the original APK as much as possible, I agree with this assessment and will add this parameter to the default execution of apktool during build. |
my project upgrade android-support to 25.0.2
when run aapt will cause some problem with res/drawable/xxx.xml which contain "vector".
1.in res/drawable. "vector" lose content of the "path"
2.in res/drawable-v21. it works fine.
it seems like because runnig aapt without --no-version-vectors.
The text was updated successfully, but these errors were encountered: