Comments (6)
Can you share the full error log and Have you added proguard rules?
-dontwarn com.gowtham.library**
-keep class com.gowtham.library** { ; }
-keep interface com.gowtham.library* { *; }
from android-video-trimmer.
Yes I have added proguard rules and also i added full error logs below, Please give the suggestion
java.lang.ClassCastException: android.view.AbsSavedState$1 cannot be cast to android.widget.CompoundButton$SavedState
at android.widget.CompoundButton.onRestoreInstanceState(CompoundButton.java:661)
at android.view.View.dispatchRestoreInstanceState(View.java:21574)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4699)
at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4699)
at android.view.View.restoreHierarchyState(View.java:21552)
at androidx.fragment.app.Fragment.restoreViewState(:573)
at androidx.fragment.app.FragmentStateManager.restoreViewState(:356)
at androidx.fragment.app.FragmentManager.moveToState(:1189)
at androidx.fragment.app.FragmentManager.moveToState(:1356)
at androidx.fragment.app.FragmentManager.moveFragmentToExpectedState(:1434)
at androidx.fragment.app.FragmentManager.moveToState(:1497)
at androidx.fragment.app.FragmentManager.dispatchStateChange(:2625)
at androidx.fragment.app.FragmentManager.dispatchActivityCreated(:2577)
at androidx.fragment.app.FragmentController.dispatchActivityCreated(:247)
at androidx.fragment.app.FragmentActivity.onStart(:541)
at androidx.appcompat.app.AppCompatActivity.onStart(:210)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1433)
at android.app.Activity.performStart(Activity.java:7986)
at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3677)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8167)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
from android-video-trimmer.
This error happens if we have used the same id for multiple views. share the reproducing steps so that I can try to find out the issue
from android-video-trimmer.
- Just enable the proguard and add your proguard rules
- then select one video and do some trim
- then finally click the save button on top then you will get this issue
from android-video-trimmer.
Thanks, I will try to reproduce the issue here.
from android-video-trimmer.
Duplicate of #35 this issue's updates will be updated there
from android-video-trimmer.
Related Issues (20)
- import com.gowtham.library.utils.TrimVideo HOT 1
- TrimVideo class is not found HOT 1
- Could not find com.crystal:crystalrangeseekbar:1.1.3. HOT 2
- Please add this trimmer as Separate entity, Make a copy of this trimmer without FFmpeg
- Getting this error after adding the dependenecy HOT 1
- problem with jniLibs and CMake; HOT 3
- Error after adding library
- Linking error when adding the library HOT 2
- app size is 45 MB HOT 1
- Crash on all android version HOT 2
- Fatal Exception: java.lang.IllegalArgumentException HOT 1
- HOW TO USE THIS LIB WITHOUT PICKING VIDEO FROM GALLERY HOT 2
- I am suresh, while I taken video from internalstorage video and start to edit but getting crash.please help me HOT 9
- Minor issue, facing error if video file name contains '?' or '#' HOT 1
- How do we set the output destination?
- android 13 cant trim video permission denied.WRITE_EXTERNAL_SORAGE -> READ_EXTERNAL_VIDEO HOT 7
- allow setDestination to Cache directory HOT 2
- protocol not found. "failed to trim" HOT 5
- Not able to see the video in Chrome web browser after trimming. HOT 5
- minify enabled app crashes HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-video-trimmer.