proguard | ProGuard , Java optimizer and obfuscator | Plugin library

 by   Guardsquare Java Version: v7.3.2 License: GPL-2.0

kandi X-RAY | proguard Summary

kandi X-RAY | proguard Summary

proguard is a Java library typically used in Plugin applications. proguard has no bugs, it has no vulnerabilities, it has build file available, it has a Strong Copyleft License and it has high support. You can download it from GitHub, Maven.

You can apply the ProGuard Gradle plugin in AGP 4+ projects by following these steps:.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              proguard has a highly active ecosystem.
              It has 2040 star(s) with 333 fork(s). There are 61 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 106 open issues and 150 have been closed. On average issues are closed in 23 days. There are 6 open pull requests and 0 closed requests.
              It has a positive sentiment in the developer community.
              The latest version of proguard is v7.3.2

            kandi-Quality Quality

              proguard has 0 bugs and 0 code smells.

            kandi-Security Security

              proguard has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              proguard code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              proguard is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              proguard releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              proguard saves you 44942 person hours of effort in developing the same functionality from scratch.
              It has 60145 lines of code, 3742 functions and 506 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed proguard and discovered the below as its top functions. This is intended to give you an instant insight into proguard implemented functionality, and help decide if they suit your requirements.
            • Main execution method .
            • Parse the member specification arguments .
            • Simplifies a descriptor .
            • Returns true if the given program class is a mergeable class .
            • Returns the next word from the input stream .
            • Convert sourceType to targetType if necessary .
            • Handle domain class optimization .
            • Set up the configuration options .
            • Creates the class path entry writer .
            • Visit a code attribute .
            Get all kandi verified functions for this library.

            proguard Key Features

            No Key Features are available at this moment for proguard.

            proguard Examples and Code Snippets

            ProGuard
            mavendot img1Lines of Code : 9dot img1no licencesLicense : No License
            copy iconCopy
            -keep class com.luck.picture.lib.** { *; }
            
            // use Camerax
            -keep class com.luck.lib.camerax.** { *; }
            
            // use uCrop
            -dontwarn com.yalantis.ucrop**
            -keep class com.yalantis.ucrop** { *; }
            -keep interface com.yalantis.ucrop** { *; }
            
              
            R8 and ProGuard settings
            mavendot img2Lines of Code : 6dot img2no licencesLicense : No License
            copy iconCopy
            Warning: org.reactivestreams.FlowAdapters$FlowPublisherFromReactive: can't find superclass or interface java.util.concurrent.Flow$Publisher
            Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find superclass or interface java.uti  
            R8 and ProGuard settings
            mavendot img3Lines of Code : 6dot img3no licencesLicense : No License
            copy iconCopy
            Warning: org.reactivestreams.FlowAdapters$FlowPublisherFromReactive: can't find superclass or interface java.util.concurrent.Flow$Publisher
            Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find superclass or interface java.uti  

            Community Discussions

            QUESTION

            Bad gateway when building Android React Native
            Asked 2022-Mar-25 at 01:15

            When I run react-native run-android, I get the following error:

            ...

            ANSWER

            Answered 2021-Dec-01 at 16:46

            It works now.

            I reset my hours of changes to master and it works. Leaving this here for future people who have this error - don't trust the bintray status page, just wait. I read somewhere during my research that it will stay up indefinitely read only.

            Source https://stackoverflow.com/questions/70175740

            QUESTION

            A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction?java.lang.reflect.Invocation?
            Asked 2022-Mar-06 at 10:01

            when I run android application in real device I am getting following gradle errors

            ...

            ANSWER

            Answered 2021-Aug-21 at 12:15

            I fixed it my problem by updating current kotlin version to latest version and moshi version to 1.12.0

            Source https://stackoverflow.com/questions/68867023

            QUESTION

            Error when trying to run my React Native app on Android
            Asked 2022-Mar-06 at 07:58

            I've built my React Native app and tested and troubleshooted with my iOS devices for months. Now I'm trying to built and test the app on Android for the first time. The thing is, that I keep getting errors trying to run the Android-version of my app. After hours of debugging and troubleshooting, I tried to create a new RN project and see if that could run on my emulator and device. I got that part working and then I wanted to copy/paste the files of my existing app project into the new project.

            I pasted my existing assets, styles, the source JS-files and the package.json file into the new project, ran npm install and then I ended up with the exact same error message as I had in the original project when I run react-native run-android.

            The full error message is here:

            ...

            ANSWER

            Answered 2021-Aug-21 at 13:43

            I've hit this same issue and have temporarily resolved it by uninstalling react-native-video (npm uninstall --save react-native-video). That's not a great answer as I need that component, but I don't have a full solution yet. I think somehow com.yqritc:android-scalablevideoview:1.0.4. is required by react-native-video but has gotten lost or removed. Other thoughts are welcome.

            UPDATE: Resolved! In your build.gradle in your Android folder you need to add the repository "jcenter()" in allprojects (not in build dependencies) like this...

            Source https://stackoverflow.com/questions/68835157

            QUESTION

            flutter build Runtime JAR files in the classpath should have the same version. These files were found in the classpath
            Asked 2022-Mar-05 at 13:54

            flutter build Runtime JAR files in the classpath should have the same version. These files were found in the classpath

            How can I solve this problem

            ...

            ANSWER

            Answered 2022-Mar-05 at 13:54

            In app/build.gradle change jdk7 to Java jdk8

            before

            Source https://stackoverflow.com/questions/71347054

            QUESTION

            Flutter App not installable from Google store for Android 12 despite being set to targetSDK 31
            Asked 2022-Mar-01 at 04:11

            I have a Flutter App in the Playstore and if you have Android 12, it will just pop an Error Message: "AppName cannot be installed"

            My Flutter version is 2.5.0

            I would expect the app to be installable on Android 12 because of my settings. Are there any òther reasons this could fail?

            This is my build.grade:

            ...

            ANSWER

            Answered 2021-Nov-12 at 05:41

            You have to set android:exported to any , ,, or components that have s declared in the app’s AndroidManifest.xml file. ALSO!!!! You have to do the same for every package you use. I would advice NOT doing it manually as this could get modified by calling something like "Pub clear cache" and instead try to update your packages to the latest version.

            https://medium.com/androiddevelopers/lets-be-explicit-about-our-intent-filters-c5dbe2dbdce0

            Source https://stackoverflow.com/questions/69897658

            QUESTION

            android datastore-preferences: Property delegate must have a 'getValue(Context, KProperty<*>)' method
            Asked 2022-Feb-28 at 12:19

            I'm writing a jetpack compose android app, I need to store some settings permanently.

            I decided to use androidx.datastore:datastore-preferences:1.0.0 library, I have added this to my classpath.

            According to the https://developer.android.com/topic/libraries/architecture/datastore descripton I have added this line of code to my kotline file at the top level:

            val Context.prefsDataStore: DataStore by preferencesDataStore(name = "settings")

            But I get a compile error:

            ...

            ANSWER

            Answered 2022-Jan-13 at 09:20

            I got this error because of an incorrect import:

            Source https://stackoverflow.com/questions/70659199

            QUESTION

            android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify
            Asked 2022-Feb-23 at 14:13

            After upgrading to android 12, the application is not compiling. It shows

            "Manifest merger failed with multiple errors, see logs"

            Error showing in Merged manifest:

            Merging Errors: Error: android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details. main manifest (this file)

            I have set all the activity with android:exported="false". But it is still showing this issue.

            My manifest file:

            ...

            ANSWER

            Answered 2021-Aug-04 at 09:18

            I'm not sure what you're using to code, but in order to set it in Android Studio, open the manifest of your project and under the "activity" section, put android:exported="true"(or false if that is what you prefer). I have attached an example.

            Source https://stackoverflow.com/questions/68554294

            QUESTION

            Android Studio Arctic Fox build failed after update
            Asked 2022-Feb-21 at 11:52

            Android Studio updated to the newest Arctic Fox version, after opening a project it prompted me to update the Gradle plug-in, which I did.

            Now everytime I try to run an app (with the updated plug-in) the build fails with the next output: Zip file '/home/user/path-to-my-project/app/build/outputs/apk/debug/app-debug.apk' already contains entry 'AndroidManifest.xml', cannot overwrite

            Old apps that are not updated to newest plug-in release does not have this problem.

            I already tried with this solution but it didn't help.

            My build.gradle file looks like this:

            ...

            ANSWER

            Answered 2021-Aug-03 at 14:58

            After upgrading Android Gradle Plugin from version 3.4.2 to 7.0.0 (and Gradle from 6 to 7) I also stared having the same error. In my case it turned out that AndroidManifest.xml was inside the directory that was pointed to by resources.srcDir. Gradle tried to copy the AndroidManifest.xml from that directory into APK where a compiled version was already bundled.

            Source https://stackoverflow.com/questions/68629723

            QUESTION

            One or more issues found when checking AAR metadata values:
            Asked 2022-Feb-18 at 17:01

            Hey I am trying to run my application and I am getting this error

            build.gradle

            ...

            ANSWER

            Answered 2021-Nov-19 at 06:20

            Dependency: androidx.lifecycle:lifecycle-runtime-ktx:2.4.0. The issue is with this dependency, there may be some transitive dependency error. I would suggest use the alpha version of this dependency, worked for me. Replace with this dependency : androidx.lifecycle:lifecycle-*:2.4.0-alpha03

            Source https://stackoverflow.com/questions/69943549

            QUESTION

            Android Build Error: "lStar not found..."
            Asked 2022-Feb-18 at 06:59

            I have error like this after trying to build my apps in Emulator

            /Users/joel/.gradle/caches/transforms-3/06231cc1265260b25a06bafce7a4176f/transformed/core-1.7.0-alpha02/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found.

            I don't know what causes this error. After digging some answer which has similarly error (but in flutter) Problem. But still not solved my issue.

            I have this dependency in my project

            ...

            ANSWER

            Answered 2021-Sep-28 at 17:18

            I managed to fix this by upgrading compileSdk to 31 and kotlin gradle plugin to 1.5.10

            Source https://stackoverflow.com/questions/69041630

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install proguard

            ProGuard has its own Gradle plugin, allowing you to shrink, optimize and obfuscate Android projects.

            Support

            If you have usage or general questions please ask them in the Guardsquare Community. Please use the issue tracker to report actual bugs 🐛, crashes, etc.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Guardsquare/proguard.git

          • CLI

            gh repo clone Guardsquare/proguard

          • sshUrl

            git@github.com:Guardsquare/proguard.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link