简体   繁体   English

android studio 3.1中混淆的android库jar文件位置

[英]Obfuscated android library jar file location in android studio 3.1

I have enabled proguard in my android library for code obfuscation. 我在我的Android库中启用了proguard进行代码混淆。 After updating my android studio to 3.1 , I cannot find obfuscated .jar file location of my android library project. 将我的android studio更新到3.1后 ,我找不到我的android库项目的混淆的.jar文件位置。 Earlier my android library project can be obfuscated and obfuscated .jar can be found at "build/intermediates/bundles/debug/" 之前我的android库项目可以被混淆,混淆的.jar可以在“ build / intermediates / bundles / debug /”中找到

Kindly help me to get the obfuscated .jar file location. 请帮助我获取混淆的.jar文件位置。 Or do I have to add any kind of scripts in build.gradle file? 还是我必须在build.gradle文件中添加任何类型的脚本?

And I have noticed the following: 我注意到以下几点:

  1. The .jar file location changed from "build/intermediates/bundles/debug/" to "build/intermediates/intermediate-jars/debug/" and the .jar file is not obfuscated .jar文件的位置从“ build / intermediates / bundles / debug /”更改为“ build / intermediates / intermediate-jars / debug /”,并且不会混淆.jar文件
  2. .aar file of the library is obfuscated 库的.aar文件被混淆

Finally, I found the obfuscated jar file path 最后,我找到了混淆的jar文件路径

build\\intermediates\\packaged-classes\\debug 构建\\中间\\打包类\\调试

If you are not able to find the directory, Clean and rebuild your project. 如果找不到目录,请清理并重建项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM