logo
down
shadow

Injection with google guice does not work anymore after obfuscation with proguard


Injection with google guice does not work anymore after obfuscation with proguard

By : hAshT1
Date : October 17 2020, 11:12 PM
seems to work fine Having used proguard for a good amount of time, here is how I decided to solve the issues regarding reflection (and Guice is only a use case of it).
Reflection can be used with Proguard as long as NO class or methods name are entered as Strings.
code :


Share : facebook icon twitter icon
ClassFormatError after Proguard Optimization (no obfuscation) of Guice enabled application

ClassFormatError after Proguard Optimization (no obfuscation) of Guice enabled application


By : user3093039
Date : March 29 2020, 07:55 AM
hop of those help? Sometimes ProGuard will rip out more things than it should when shrinking. ProGuard will remove any references to classes/members that it believes are not used in your application unless you explicitly tell it to preserve those classes/members.
You can preserve classes/members using ProGuard's keep options. The example usage page has a few examples of keep options.
Google maps aren't loaded after ProGuard Obfuscation in Eclipse

Google maps aren't loaded after ProGuard Obfuscation in Eclipse


By : philmkarin
Date : March 29 2020, 07:55 AM
Any of those help It is most likely issue with the Maps API Key. You should generate the Key with the signature used while exporting the app and use it in your map view.
Its unlikely that Obfuscation using ProGuard will affect the map rendering.
Obfuscation using Proguard makes my application not work

Obfuscation using Proguard makes my application not work


By : RCMac
Date : March 29 2020, 07:55 AM
should help you out You can exclude specific code/packages from obfuscation till you found the exact offensive code. Obvious culprits like Class.forName and using java.reflect can be sought in the source code.
Probably on the proguard site some more tips are given.
Android App crashes after proguard obfuscation (Google plus people search)

Android App crashes after proguard obfuscation (Google plus people search)


By : user2415976
Date : March 29 2020, 07:55 AM
Does that help I added some code to my app to search people on Google Plus. This code works well without Proguard. After running proguard to obfuscate the code, my app crashes when searching for people on google plus. , Can you try:
code :
-keep class com.google.api.services.plus.** { *; }
Proguard Obfuscation doesnt work on activities?

Proguard Obfuscation doesnt work on activities?


By : ahmad
Date : March 29 2020, 07:55 AM
will help you During the build process, proguard checks the AndroidManifest and keeps all activity classes. This is needed for your app to run. You should not obfuscate classes which extend android.app.Activity.
Related Posts Related Posts :
  • weight update of one random layer in multilayer neural network using backpagation?
  • Find most recent date in a list of objects on LocalDate property using Java 8 stream
  • deflateSetDictionary usage
  • Getting Me using Azure OAuth 2 Token
  • How do I get an Aspara Video playauth?
  • Avoiding memory leaks with Commanded in an aggregate that doesn't produce an event
  • Terraform: How to get a boolean from interpolation?
  • How can I disable shift (or any modifier) for some keys but not for others?
  • How to access component model from outside
  • Formatting decimal output when multiplying all numerical values in a string?
  • How to solve the numerical instability to a solution of a system of ordinary differential equations
  • How can I determine if a row has changed?
  • Inherited software that's built on Visual FoxPro, How can I access the source files and edit the program as needed?
  • Problem accessing orion-psb-image-R5.4 on FIWARE Lab using ssh
  • Check if List of Matrix Indexes are adjacent
  • View availability message on summary page Cart
  • Spring AMQP RabbitMQ RPC - Queue with with some messages that do not expect a response
  • App Pool Login Failed Message in New Acumatica Version
  • New-AzureRmSqlDatabaseImport does not accept a DatabaseMaxSizeBytes greater than 5GB
  • How to get the list of queues from a server?
  • Maxima plot discrete data with 3 columns
  • Referencing field from input in a Logstash filter
  • Chapel : Understanding lifetime of managed classes with zip and user-defined iterators
  • Compile With Static Library Using GNAT
  • Is there a way to receive most messages out of the standard SQS Queue? [NOT FIFO]
  • Remove shadow from XFCE panel
  • How do I serialize TransactionBuilder
  • How to disable Rule: one-line in TSLint
  • Automatically Ignore @OneToMany, @ManyToOne
  • Accidently renamed libc.so.6 and cannot chroot within rescue mode
  • A proper way to serialize/deserialize Xodus-dnq entity
  • How to hide the overlays in A frame?
  • PRelue is not supperted with mmdnn?
  • JasperReports: How to pass parameter to subReport
  • Is there built-in web analytics tool in Liferay?
  • 'if' scenario in an equation. How do I implement it?
  • Uncaught [CKEDITOR.editor] The instance "html" already exists
  • Trimming variable in CLLE
  • Slot not being passed from action to layout in Symfony 1.4
  • Are there any disadvantages of using C# 3.0 features?
  • How to download paypal transactions using some API
  • Microsoft CRM could not log you on to the system. Make sure your user record
  • Good acceleration structure for ray sphere tests with spheres that move
  • Draw formatted rich text
  • How can I sum values in column based on the value in another column?
  • JBoss eventually stops responding to request, but no OOME
  • Prevent inline-block from wrapping on white-space: pre?
  • Neural Network Recommendation Engine
  • Getting the return value of an exec process
  • Dynamics CRM: Create users with specific GUIDs
  • Languages used to write programs for satellite-missions?
  • is it possible to use only two semaphores to synchronise three or more threads?
  • Opengl ES - drawing a plane of multiple vertices
  • Make Aptana never use Windows line endings
  • Stub property and save other behaviour
  • What would you call "callback" or "closure" in general?
  • Drag a bezier curve to edit it
  • Archive/Compress Command FTP Through Terminal?
  • how can I use curly braces in a mysql query?
  • or operator in vbscript
  • shadow
    Privacy Policy - Terms - Contact Us © bighow.org