Closed artyomefimov closed 5 years ago
I'll fix this in the upcoming version, 2.5. Thanks for letting me know.
@codekidX, good day! Can you please let me know in this issue when 2.5 will be released? Thanks in advance.
@artyomefimov please let me know the following things:
I currently tested on my device with the latest version 2.0.4.3
and there seems to be no issue while rotating (there used to be an issue in 1.0 but it was fixed).
@codekidX,
Should I try the 2.0.4.3 version?
With the 2.0.4.3 version I got this problem:
Android resource linking failed
storage-chooser-2.0.4.3.aar\3b92abd5f74cf751e8afa0bda9fbcf37\res\layout\custom_storage_list.xml:156: error: attribute cb_color (aka com.artyomefimov.soundrecorder:cb_color) not found.
storage-chooser-2.0.4.3.aar\3b92abd5f74cf751e8afa0bda9fbcf37\res\layout\custom_storage_list.xml:156: error: attribute cb_pressedRingWidth (aka com.artyomefimov.soundrecorder:cb_pressedRingWidth) not found.
storage-chooser-2.0.4.3.aar\3b92abd5f74cf751e8afa0bda9fbcf37\res\layout-v21\custom_storage_list.xml:155: error: attribute cb_color (aka com.artyomefimov.soundrecorder:cb_color) not found.
storage-chooser-2.0.4.3.aar\3b92abd5f74cf751e8afa0bda9fbcf37\res\layout-v21\custom_storage_list.xml:155: error: attribute cb_pressedRingWidth (aka com.artyomefimov.soundrecorder:cb_pressedRingWidth) not found.
error: failed linking file resources.
@artyomefimov I have just released 2.0.4.4
with some merge related fixes.
Do let me know if this issue persists in this version.
@codekidX with the 2.0.4.4
I get
Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 is also present at [androidx.core:core:1.0.0-beta01] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
In the 2.0.4.2
there were no problems like this.
@artyomefimov Add two lines in gradle.properties file:
android.useAndroidX=true
android.enableJetifier=true
Please confirm if this issue resolves, so that I can update it in README
@codekidX now I have no problems with building my app. Thanks for help. But the initial problem is still exists.
@artyomefimov I see that you are working on the sound recorder app?
add android:configChanges="orientation|screenSize"
Edit: In your AndroidManifest.xml activity tag.
this helps the library to store changes during orientation and your issue should be fixed.
@codekidX it works! Thanks for your help, I close the issue.
When I rotate a screen while choosing a storage, I get an incorrect folder path. In logs I get an empty string.