Okhttp Proguard

Security research - decompiling apks, tuning Proguard, capturing network traffic, implementing SSL pinning and authenticating API calls Reconciling the interests of product owner, UX designer, graphic designer and developers Searching for solutions of Android bugs or related libraries - questions on stackoverflow, reporting issues on github etc. More than 3 years have passed since last update. 今天终于要发布Android HybirdApp了,安装以前做原生应用的流程发布签名Apk,没想到马上遇到了几个问题. To use OkHttp3 with Cloudflare SDK, use CFMobile. This is necessary for IPv4+IPv6 and for services hosted in redundant data centers. OkHttp supports modern TLS features (TLS 1. I think I now know what is causing this but just so that I can check. Welcome to the open-source CodePath Android Cliffnotes! Our goal is to become the central crowdsourced resource for complete and up-to-date practical Android developer guides for any topic. txt 파일을 사용하는데요. pro failed while removing logs in relese apk android ProGuard, version 5. gradleのdependenciesに書くやつがわからなければ意味がない。 よく使うやつをいつも別のプロジェクトから拝借するのは. OkHttp perseveres when the network is troublesome: it will silently recover from common connection problems. Create an Unsplash Developer Account, create an app (for access key and secret key). R8 / ProGuard. For apps that use the MINT OkHTTP client library, you can use the MINT OkHTTP Interceptor to generate network events. OkHttp uses your platform's built-in TLS implementation. Monitors$1 extends or implements program class javax. See the complete profile on. proguard tutorial (4) Sehen Sie sich Ihre Build-Ausgabe an. -dontwarn okio. txt # You can edit the include p. Truy cập chuỗi cơ thể của Phản hồi OkHttp hai lần dẫn đến IllegalStateException: đã đóng. MFcom/github/intellectualsites/plotsquared/bukkit/chat/ArrayWrapper. pro file…and paste the copied ProGuard configuration to the end. Retrofit 1 integrated a log feature for basic request and response debugging. Update version, add ProGuard for Conscrypt. Classes that aren't used at all will be removed by ProGuard shrinking phase. HttpsURLConnectionImpl: can't find referenced method 'long getContentLengthLong()' in program class com. 其檔案內容如下 # Add project specific ProGuard rules here. 框架高度可自定义化 (ConfigModule), 可在不修改框架源码的情况下对 Retoift, Okhttp, RxCache, Gson 等框架的特有属性进行自定义化配置, 可在不修改框架源码的情况下向 BaseApplication, BaseActivity, BaseFragment 的对应生命周期中插入任意代码, 并且框架独有的 ConfigModule 配置类. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. 앱 키를 받는 방법은 카카오 개발 가이드에 자세하게 나와있으므로 생략하겠습니다. The first thing you need to do is to import the library into your workspace. Interceptors are used to intercept OkHttp calls. All readers get free updates, regardless of when they bought the book or how much they paid (including free). Tuy nhiên có một thư viện giúp chúng ta giải quyết các vấn đề đó một cách nhanh gọn, đó là OkHttp. I have an android project with a library project module, in which I am using Retrofit with OkHttp3 to do API requests. proguard mac (4) Ich benutze Android Studio 1. Use ProGuard with Splunk MINT. To use OkHttp3 with Cloudflare SDK, use CFMobile. txt) is sufficient for R8 to remove only the unused code. Retrofit is the class through which your API interfaces are turned into callable objects. Retrofit Android Example Tutorial, Retrofit 2 tutorial, android rest, android retrofit example, retrofit 2 logging, gson, json, GET, POST, query param. proguard-exoplayer-1. We highly recommend you keep OkHttp up-to-date. I have walked through the pit and flowed out the road. Permissions. 0 (EoL by Apache) IBM WebSphere MQ 7. I use ProGuard 6. x branch supports Android 2. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. 내 pro guard-rules. okht j'ai essayé les réponses aux questions connexes, mais ils ont seulement suggéré d'utiliser les paramètres que j'ai déjà. This is the output:. Report ANRs. Lướt - thêm tiêu đề để yêu cầu. All readers get free updates, regardless of when they bought the book or how much they paid (including free). apk in the zip file. Today, I am going to show you how to upload an image to Firebase storage. Username: This is the username you use to login to your InMobi account. OkHttp - HTTP & HTTP/2 client for Android and Java applications. Proguard config to use retrofit Retrofit (Android) - Codedump. 1' although your version number may be different. This is required for ironSource to access the InMobi reporting API for your account, which allows your ironSource Mediation Platform to import performance data from your InMobi account to use in reporting & optimization. ProGuard rules for Android. Use the following guidelines when using Saikoa ProGuard with Splunk MINT. Viewing the final version. -dontwarn okio. Made with ️ at Instacart. Before you can add the scanning capability to your application, you will need to follow below instructions to add the SDK aar to your project and configure your build settings. Dhacked provides useful digital resource, tips and Life hacks about Social Media, Android, Windows, Mac, Linux and other Guide. This has numerous use cases such as: Adding universal header to the request. To use OkHttp3 with Cloudflare SDK, use CFMobile. 3 (Jelly Bean) as the minimum SDK. I’ve been battling this issue for the past few hours. For more information about Proguard format and grammar, see the Keep Options section in the Proguard manual. And leave the IP address field empty. In the obfuscation step, ProGuard renames classes and class members that are not entry points. If that is there and your OkHttpClient is still red, try hitting Alt+Enter. pro files to our artifacts, which are Proguard configurations that are applied automatically when Proguard is used on your app. Android proguard file to remove log messages. Username: This is the username you use to login to your InMobi account. Even if it was OkHttp's correct package, you're better off turning off ProGuard than doing such an overly-keepy rule. 50 + Proguard 6. OkHttp is an HTTP client that's efficient by default: HTTP/2 support allows all requests to the same host to share a socket. And in the project outline on the left,…open the proguard-rules. NoHttp – is an Android Http standard protocol framework to support the cache, proxy and redirect. META-INF/MANIFEST. In our previous tutorials we learned to implement a simple RecyclerView and loading image in RecyclerView using Picasso. android documentation: OkHttp. 0 crashes for me when processing inner class with generic in constructor parameter I dont know if the fact that it is an inner class is relevant. ksoap2-android meets okhttp The ksoap2-android project has been in mostly maintenance mode for a long time, but it is still receiving lots of usage. classcom/github/intellectualsites/plotsquared/bukkit/chat/JsonRepresentedObject. ** { *; } -dontwarn com. React Native论坛是国内最大的React Native开发者交流学习平台,有众多React Native开发者分享React Native知识、经验、代码案例、并提供React Native招聘. 0 of the Support SDK we include consumer-proguard. Ignore Koltin classed is not an option for performance reason of our project. Users need to depend on aws. DexGuard uses the same configuration options as ProGuard, and it can read any pre-existing ProGuard configuration files. Just take me to the notes! We have Android guides for everyone whether you are a beginner, intermediate or expert. ProGuard: You can enable ProGuard to shrink your project code. It detects and. Hôm nay, tôi sẽ giới thiệu các bạn cách sử dụng OkHttp 3 để connect tới server và download ảnh về. Android proguard file to remove log messages. ProGuard ne fonctionne pas avec okhttp ProGuard ne sera pas gentil avec okhttp et je continue à recevoir les avertissements suivants: Warning:com. Use ProGuard with Splunk MINT Customize session handling Monitor transactions Add and report events Report handled exceptions Report ANRs Add custom data to crash reports Add breadcrumbs to crash reports Track activity Create timers Report user-specific data. android project, How can I remove warnings: duplicate zip entry [classes. apk in the zip file. Just take me to the notes! We have Android guides for everyone whether you are a beginner, intermediate or expert. ProGuard runs only when you build your application in release mode, so you do not have to deal with obfuscated code when you build your application in debug mode. having some problems with Proguard/R8 config after update. This may not be a feasible workaround if you have project(s) in your version of Android Studio, however, that workaround worked in regard to gradle because I had only. Bundled with Studio 3. We highly recommend you keep OkHttp up-to-date. Learn how to create an Android app and bag your dream job once you clear Edureka's. As you may have seen, it took only 10-20 seconds to use ProGuard on an app that wouldn't finish building. A powerful image downloading and caching library for Android. HttpsURLConnectionImpl: can't find referenced method 'long getContentLengthLong. You might also need rules for Okio which is a dependency of this library. OkHttp supports modern TLS features (TLS 1. 这些是我okuptp和翻新的proguard设置: 如何解决proguard警告'找不到引用的方法'现有的方法'clone'和'finalize'类java. ProGuard users must manually add the options from this file. Enforce @SkipTrace with Android SDK-derived classes. apk가 올바르게 빌드됩니다. WebView comes with all the features that of a desktop browser like managing history, cookies, HTML5 support and lot more. 封装了ok http框架,okhttp 是专门用来请求网络的框架。目前是比较好用的框架,但是 使用的时候也要封装一下。. Hi I'm trying to reduce my app size by enabling proguard. 0 (EoL by Apache) IBM WebSphere MQ 7. Hi, I’m trying to create a signed APK with proguard enable and I get these errors in gradle : Note: there were 169 duplicate class definitions. proguard mac (4) Ich benutze Android Studio 1. x and above will be supported from the Android Mobile SDK 3. Objection also no longer. Create an Account and then Sign in to get your Developer Credentials; Request Access and then Register your Sample App; Replace the "Client ID" in the sample code with your own credentials; Sample app projects now use Gradle plugin version 3. * -dontwarn org. Error:(24, 13) Failed to resolve: com. My2c2p Android SDK. To do this include the following into proguard-project. Interacting with beacons requires following permissions for different aspects of library:. For example, Proguard shrinking rules can alter your final code, and image resources can be overridden by resources in a product flavor. android documentation: OkHttp Download Android (PDF) Android. CodePath Android Cliffnotes. jar comes from my config file that comes from a old proguard version, so I commented the line. MockWebServer. SSLHandshakeException: Question by Babagouda ( 1 ) | May 06, 2016 at 06:46 AM ibmcloud bluemix-mobile-services. 1 Note: the configuration specifies that none of the methods of class 'android. My2c2p Android SDK. 3 kB each and 1. ProGuard & R8: Part 1 (dustn. A powerful image downloading and caching library for Android. …There is a link to an example ProGuard file…in the Read Me in the R8. MockWebServer ----- OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients. If the warnings are suppressed and the APK is built, I think the problem is more relationed about how you use the okhttp library, and not about the ProGuard configuration in Android Studio. Proguard 사용하지 않았을시 문제점 - 프로젝트 코드가 난독화가 되지 않아 디버그 시 코드 노출이 우려 - 불필요한 코드가 앱 컴파일시 포함 되어 불필요하게 앱의 용량(비용) 이 증가 - 불필요한 코드가 컴파일. 6 I call this command: java -jar. ProGuard won't play nice with okhttp and I keep getting the following Warnings: Warning:com. Currently, the network profiler works with HttpURLConnection, OkHttp, and Volley network libraries. This is tested and actually works with Android Studio 0. It can be tricky to setup ProGuard in Android projects correctly, especially when your app uses multiple third party libraries. Erste Schritte mit Android; 9-Patch-Bilder. Both are small libraries with strong backward-compatibility. Previously, onCreate() and onCreateView() could not be skipped from Activity, Fragment and other SDK classes. MFcom/github/intellectualsites/plotsquared/bukkit/chat/ArrayWrapper. ProGuard funktioniert nicht mit okhttp. When Enable ProGuard is checked, Xamarin. In this tutorial, we are going to learn how to upload image files to server using Retrofit 2. 0 build错误:Type `org. 1' although your version number may be different. ** Get unlimited access to the best stories on Medium — and support writers while you’re at it. gradle file, make sure the dependency for OkHttp is in your build. Basically the proguard task will halt execution if there are any warnings. Getting started with Android Remarks. However there's another issue later on: proguard gets stuck in its optimization pass 1 forever. Log' have any side effects. When used with code inspections tools, annotations can help you detect problems, such as null pointer exceptions and resource type conflicts. 2 and I'm using Intelijj. Fresco 와 OkHttp3. Android 앱 개발을 하면서 서버와 통신을 위해 네트워크 기능을 쓸 경우가 대다수이다. There is a way to debug ProGuard someway to find where the issue exact. 1") Snapshot builds are available. MFcom/github/intellectualsites/plotsquared/bukkit/chat/ArrayWrapper. 开发android手机客户端,常常会需要上传文件到服务器,比如:你手机里的照片。使用okhttp会是一个很好的选择。它使用很简单,而且运行效率也很高。. We use cookies for various purposes including analytics. Have not yet been able to cook up a MCVE so not filing a separate bug but want to mention under "4. Android - Wie überprüft man, ob die Proguard-Verschleierung funktioniert hat? ProGuard-Warnungen: Es gab 7 ungelöste Verweise auf Programmklassenmitglieder. 8 You need to add some lines to the build. ProGuard: You can enable ProGuard to shrink your project code. ProGuard won't play nice with okhttp and I keep getting the following Warnings: Warning:com. 这些是我okuptp和翻新的proguard设置: 如何解决proguard警告'找不到引用的方法'现有的方法'clone'和'finalize'类java. This is useful if automatic network instrumentation for the Android SDK fails to successfully generate network events. Interacting with beacons requires following permissions for different aspects of library:. za Kotlin Gzip. This is the output:. That is, I shouldn't have to guess at what rules I need if I want to minify my product before release. OkHttp is an HTTP client that's efficient by default: HTTP/2 support allows all requests to the same host to share a socket. We parse the JSON response from the URL. classcom/github/intellectualsites/plotsquared/bukkit/chat/JsonRepresentedObject. In our previous tutorials we learned to implement a simple RecyclerView and loading image in RecyclerView using Picasso. This is obfuscated. 23 FFmpeg을 이용한 Android 동영상 플레이어 개발 2016. ** in proguard config so these warnings did not stop the build (can repro if commenting out that rule). Jul 12, 2016 · ProGuard not working with okhttp. For example, to add a ModelLoader that can obtain an InputStream for a new custom Model object:. Have not yet been able to cook up a MCVE so not filing a separate bug but want to mention under "4. OkHttp uses your platform's built-in TLS implementation. apk in the zip file. replace() is useful in particular for swapping out Glide’s networking logic with a library like OkHttp or Volley, where you want to make sure that only OkHttp or Volley are used. uhm looks like it wasn't xamarin RC1 bug - problem still persists even after reverting to stable branch and I have no idea why this exception is thrown. It is not only especially useful for reducing the overall size of your Android application as well as removing unused classes and methods that contribute towards the intrinsic 64k method limit of Android applications. Quite often it's necessary to send/upload a file to a remote server, for example, an. How can I use ProGuard with the Android mPOS SDK? In case you use ProGuard to obfuscate your App, you have to add the following rules for the mPOS SDK: # Jackson -keep class com. org/maven2/ URL: https://repo1. OkHttp - HTTP & HTTP/2 client for Android and Java applications. 升级到AndroidStudio3. Proguard 사용하지 않았을시 문제점 - 프로젝트 코드가 난독화가 되지 않아 디버그 시 코드 노출이 우려 - 불필요한 코드가 앱 컴파일시 포함 되어 불필요하게 앱의 용량(비용) 이 증가 - 불필요한 코드가 컴파일. Tuy nhiên có một thư viện giúp chúng ta giải quyết các vấn đề đó một cách nhanh gọn, đó là OkHttp. The AWS SDK for Java - Core module holds the classes that are used by the individual service clients to interact with Amazon Web Services. Erste Schritte mit Android; 9-Patch-Bilder. We saw an amazing 3 MB reduction once we successfully started using ProGuard as detailed above in the "Shrink code and resource" section. Compatible build systems, OS versions, and more for the Android agent for New Relic Mobile. For example, Proguard shrinking rules can alter your final code, and image resources can be overridden by resources in a product flavor. On Thu, Apr 21, 2016, 5:08 AM eric ho [email protected] txt , mapping. pro`][okhttp3_pro]. Ask Question Asked 4 years, 9 months ago. This is necessary for IPv4+IPv6 and for services hosted in redundant data centers. If you see beacons for Debug builds, but not for Release builds, this is a common cause; Ensure you’ve updated your AndroidManifest. Using OkHttp is easy. Using with OkHttp. 0' Snapshots of the development version are available in Sonatype's snapshots repository. View Marek Urbaniak’s profile on LinkedIn, the world's largest professional community. For more information please see the website. -- For a OkHttp 3 persistent CookieJar implementation you can use this. This is tested and actually works with Android Studio 0. To use OkHttp3 with Cloudflare SDK, use CFMobile. Kotlin has a rather small runtime file size: the library is approximately 1261 KB (as of 1. 0 build错误:Type `org. The reason to intercept could be to monitor, rewrite and retry calls. android - 如果Retrofit已在内部使用OkHttp,为什么开发人员将OkHttp设置为Retrofit; Android:proguard并没有混淆源代码; android - 使用okHttp信任所有证书; android - Proguard - 也使用模块中的proguard文件. If mainDexClasses. 7, ProGuard has provided a function to optimize an APP at the bytecode level within and across methods. "Ausführung fehlgeschlagen für Aufgabe": packageRelease '. Does that make sense?. 2" implementation "com. R8 / ProGuard. Android – Firebase Cloud Messaging, OkHttp, Picasso, Sliding Tutorial Library for Android, Intercom, ExpandableLayout, Calligraphy, Crashlytics, ProGuard Our scope of work: • Full consulting and development, including market research, UX, app design and QA Testing. 现在应该有许多人都是使用okhttp来作为项目的网络请求的底层库,那么,还有人在沿用着对每个请求在执行前后手动打印一下参数及地址这种古老的日志打印方式吗?okhttp的灵活而强大的特点之一,就是其提供 博文 来自: weixin_34358365的博客. Proguard config to use retrofit Retrofit (Android) - Codedump. OkHttp UrlConnection. ProGuard also optimizes the code, removes unused code instructions, and obfuscates the remaining classes, fields, and methods with short names. Retrofit is a REST Client for Android and Java by Square. OkHttp is an HTTP client that's efficient by default: HTTP/2 support allows all requests to the same host to share a socket. In case somebody still falls into here. Security research - decompiling apks, tuning Proguard, capturing network traffic, implementing SSL pinning and authenticating API calls Reconciling the interests of product owner, UX designer, graphic designer and developers Searching for solutions of Android bugs or related libraries - questions on stackoverflow, reporting issues on github etc. He explains why you should care and why applying these tools should be a priority before shipping any code into the wild. pro 中加入其他的配置。 在 ProGuard 官网您可以找到一个 使用手册。 在您深入研究这些配置之前,最好先大概. To use Cloudflare SDK with OkHttp UrlConnection, use CFOkUrlFactory to open a connection to an URL. Erfahren Sie mehr über die Kontakte von Filipe Costa und über Jobs bei ähnlichen Unternehmen. 0 proguard issues". ProGuard-Warnungen ProGuard zeigt manchmal Warnungen in der Fehlerliste an, nachdem Sie Ihr Projekt erstellt haben. OkHttp 4 Goes Kotlin. If you are interested in alternative emulators, you could look at Genymotion. 1로 업데이트 되면서 약간의 수정사항이 있어 해당 내용은 기존의. If you are using OkHttp you'll need to follow the integration setup documents below. ProGuard không hoạt động với okhttp. La aplicación genera y funciona bien sin ProGuard. okhttp:okhttp:2. Der zweimalige Zugriff auf die Textzeichenfolge einer OkHttp-Antwort führt zu IllegalStateException: closed. It can be used for outgoing request or incoming response both. Cách đặt thời gian chờ kết nối với OkHttp. DexGuard uses the same configuration options as ProGuard, and it can read any pre-existing ProGuard configuration files. 6 I call this command: java -jar. After ProGuard shrinks your code, reading a code is difficult because the method names are obfuscated. 我想在我的项目中使用Proguard,但是当我尝试构建时遇到 java. See the complete profile on. | By: pluulove 본 포스팅은 DroidKaigi 2018 ~ なんとなく動いているProGuardから脱出するために 을 기본으로 번역하여 작성했습니다. If you run into problems with proguard (you will, reflection doesn't work when minifying/using proguard) when using this gist add this line to your proguard config:-keep public class package. Have you considered setting up the projects as a multi-project? You could hook them together with includeFlat. It is not only especially useful for reducing the overall size of your Android application as well as removing unused classes and methods that contribute towards the intrinsic 64k method limit of Android applications. Android downloading file using Retrofit with Progress May 15, 2016 Raj Amal Android Development 26 Comments In our previous tutorials we have used Retrofit for making GET and POST requests. Configuring Auto Backup for JAR Integration. ymlcom/eclipsekingdom/botbank/Bot. We highly recommend you keep OkHttp up-to-date. Understanding what ProGuard is doing, knowing a few good internet…. Publish an aar file to Maven Central with Gradle. R8 / ProGuard. ProGuard rules for Android. https://repo1. If you are using R8 or ProGuard add the options from okhttp3. Having ProGuard run is completely optional, but highly recommended. public interface GitHubService { @GET("users/{user}/repos") Call> listRepos(@Path("user") String user); } The Retrofit class generates an implementation of the GitHubService interface. He explains why you should care and why applying these tools should be a priority before shipping any code into the wild. Use ProGuard with Splunk MINT. HOME; hostname verification ssl user okhttp and retrofit 2. Picasso - powerful image downloading and. • Worked directly with customers for SDK integration support. Activity for ProGuard Java Optimizer and Obfuscator 17 hours ago ProGuard doesn't support any features that are in the preview format, but not in the final format. # Add project specific ProGuard rules here. pro # Add project specific ProGuard rules here. Provider, make sure your Gradle configuration uses the annotationProcessor declaration instead of provided. Customize session handling. You'll need to use API 18: Android 4. Be familiar with REST APIs, and what makes them RESTful. How does the fact that OkHttp uses the kotlin standard library add size to the library? I thought an artifact is essentially compiled down to what you need it to be, and so the size would be fairly tiny. Which is "kind of normal" since in package okhttp3/internal/huc on branch okhttp_32, the class HttpsURLConnectionImpl. R8/Proguard: JarファイルからProGuard設定ファイルを読み込んでくれるようになりました Updated at Mon, Jan 28, 2019. exe" exited with code 1. 我已经尝试增加堆大小并创建. This site uses cookies for analytics, personalized content and ads. Image Loaders | Picasso by Square (square) Picasso. txt ) but decomplie apk (dex2jar jd-gui) not Obfuscation why is't working help me my setting Eclipse Neon version. There is a way to debug ProGuard someway to find where the issue exact. It compiles to Java bytecode and r Yii. ksoap2-android meets okhttp The ksoap2-android project has been in mostly maintenance mode for a long time, but it is still receiving lots of usage. Erste Schritte mit Android; 9-Patch-Bilder. Everything? OkHttp is an HTTP client for Java and Android. [번역] DroidKaigi 2018 ~ 왠지 모르게 움직이는 Proguard에서 탈출하기 위해 Sep 30, 2018. Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. OKHttp is an Android HTTP client library from Square that reduces the steps needed and means you can spend more time on the important areas of your app. android documentation: Upload (POST) file using HttpURLConnection Example. Today, I am going to show you how to upload an image to Firebase storage. This site uses cookies for analytics, personalized content and ads. Android – Firebase Cloud Messaging, OkHttp, Picasso, Sliding Tutorial Library for Android, Intercom, ExpandableLayout, Calligraphy, Crashlytics, ProGuard Our scope of work: • Full consulting and development, including market research, UX, app design and QA Testing. OkHttp Used by Retrofit for HTTP requests. Generate network events with an OkHTTP Interceptor. pro : -dontwarn com. 其檔案內容如下 # Add project specific ProGuard rules here. We track the dynamic TLS ecosystem and adjust OkHttp to improve connectivity and security. setsupportactionbar (1. It can be tricky to setup ProGuard in Android projects correctly, especially when your app uses multiple third party libraries. To use Cloudflare SDK with OkHttp UrlConnection, use CFOkUrlFactory to open a connection to an URL. OkHttp perseveres when the network is troublesome: it will silently recover from common connection problems. NET, host, WebServer, and PHP. On Java platforms OkHttp also supports Conscrypt, which integrates BoringSSL with Java. Sponsored links. | By: pluulove 본 포스팅은 DroidKaigi 2018 ~ なんとなく動いているProGuardから脱出するために 을 기본으로 번역하여 작성했습니다. We have worked with the ProGuard team on getting a fix quickly, and we expect to roll forward to ProGuard 5. Some examples of when it might incorrectly remove code include:. GitHub Gist: instantly share code, notes, and snippets. Knowledge on git and continuous integration. 以前做项目做是懒得混淆代码,因为要处理各种第三方的混淆东西,像友盟里面加了第三方库,又要特殊处理混淆操作,所以很麻烦,也懒得去做混淆操作,so你懂的:但今天我用一个反编译工具,发现一个很可怕的事情,原. 0' Snapshots of the development version are available in Sonatype's snapshots repository. For more stories. It can be tricky to setup ProGuard in Android projects correctly, especially when your app uses multiple third party libraries. 我尝试使用Retrofit 2登录我的用户(基本上是一个GET到具有基本标题的登录URL)它的效果很好,但是一旦我的ProGuard它,标题授权不再发送了. This site uses cookies for analytics, personalized content and ads. Heads up for those using proguard, play services, and compiling against API 23: Play services uses apache http, which was removed in Marshmellow Use okhttp or. Specify the following ProGuard rules in configuration file. public interface GitHubService { @GET("users/{user}/repos") Call> listRepos(@Path("user") String user); } The Retrofit class generates an implementation of the GitHubService interface. proguard-rules.