erickok / transdroid

Manage your torrents from your Android device
GNU General Public License v3.0
1.28k stars 201 forks source link

Update gradle dependencies #644

Closed bwitt closed 5 months ago

bwitt commented 1 year ago

Update gradle deps Increase minSdkVersion to 21 to avoid Error:Cannot fit requested classes in a single dex file Increase compileSdkVersion and targetSdkVersion to 33 to work with new dep versions Add

implementation "androidx.lifecycle:lifecycle-viewmodel:2.5.1"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"

to avoid Duplicate class androidx.lifecycle.ViewModelLazy found in modules jetified-lifecycle-viewmodel-ktx-2.3.1-runtime (androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1) and lifecycle-viewmodel-2.5.1-runtime (androidx.lifecycle:lifecycle-viewmodel:2.5.1)

bwitt commented 1 year ago

This is a short term fix for https://github.com/erickok/transdroid/issues/639. Everything seems to work when I try it with qBittorrent.

bwitt commented 1 year ago

Not sure what effect this has on apk size