`
- 浏览:
360504 次
- 性别:
- 来自:
福州
-
Missing android-sdk-linux/tools/lib/proguard-project.txt
问题一:如果在Ubuntu搭建Android环境出现以下问题:
Missing android-sdk-linux/tools/lib/proguard-project.txt
可能时ADT和SDK的版本不匹配。如:ADT用的是16.0.0,则sdk应该用r10的,并利用SDK Manager更新所有你想要的版本。
二:关于问题
Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: peer not authenticated
Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-5.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-5.xml, reason: peer not authenticated
Done loading packages.
暂时不知道如何解决,总感觉和公司的网络环境有关。
三:如果启动emulator时出现error=13时,一般时emulator的权限没有,可能时你下载的适合,压缩包放在一个只有root用户才可操作的目录下,该压缩包一般会加锁,如果直接解压,可能里没的一些文件或可执行文件不能运行。
所以在解压之前,先对该压缩包进行授权:
sudo chmod 777 XXX(具体的压缩包),然后解压。
或者安全起见,在解压后对该解压后的文件夹中所有的文件进行授权:sudo chmod 777 *
分享到:
Global site tag (gtag.js) - Google Analytics
相关推荐
proguard-project.txt 解决Gson引入而混淆不能通讯问题
android-sdk目录下tools文件夹下的proguard文件夹,proguard文件夹资料不全的,可以下载本资料包覆盖原文件夹
#在$ {sdk.dir} /tools/proguard/proguard-android.txt中 #您可以通过更改ProGuard编辑包含路径和顺序 #在project.properties中包含属性。 # #有关更多详细信息,请参见 #...
# This file is automatically generated by Android Tools. # Do not modify this ...#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt # Project target. target=android-18
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } 混淆文件里面添加 (自行选择) # 修改包名 -repackageclass "" # 忽略访问修饰符,配合上一句使用 -...
众所周知,在 android studio中的默认混淆打包出来的文件是... -obfuscationdictionary ../proguard-1il.txt -packageobfuscationdictionary ../proguard-1il.txt -classobfuscationdictionary ../proguard-1il.txt
# in ${sdk.dir}/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the ProGuard # include property in project.properties. # # For more details, see # ...
# in ${sdk.dir}/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the ProGuard # include property in project.properties. # # For more details, see # ...
# in ${sdk.dir}/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the ProGuard # include property in project.properties. # # For more details, see # ...
# in ${sdk.dir}/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the ProGuard # include property in project.properties. # # For more details, see # ...
# in ${sdk.dir}/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the ProGuard # include property in project.properties. # # For more details, see # ...
try processing the jar itself: <br> cd examples java -jar ../lib/proguard.jar @proguard.pro <br>The resulting proguard_out.jar contains the same application, but it's a lot smaller!...
对于库,建议使用 proguard-android-lib.txt。 ##参考 ##执照 Copyright (C) 2015 Snowdream Mobile <yanghui1986527>Licensed under the Apache License, Version 2.0 (the "License");you may not use this ...
官网工具搬运工,此工具版本为6.2.2
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } } dependencies { compile 'com.android.support:appcompat-v7:21.0.3' compile fileTree(dir: 'libs', include: ...
android-proguard-snippets, 通用Android库的混淆器配置 android-proguard-...这个项目假设你的混淆器配置是基于最新的官方 proguard-android.txt 配置,如下所示。 每个库配置应该仅仅是特定库所需的规则,而不是完
替换你Android Sdk "tools\proguard\lib\proguard.jar
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } 混淆文件里面添加 (自行选择) # 修改包名 -repackageclass "" # 忽略访问修饰符,配合上一句使用 -...
解决android中混淆代码签名导出报错的proguard.cfg 第三方jar包,可类似 -libraryjars libs/android-support-v4.jar 添加在文件中
安卓打包混淆的proguard,其中本文档保存的是基础部分,其他混淆规则需要自己添加