[Android] Fix LibVLC aar package name

Geoffrey Métais git at videolan.org
Wed Mar 7 15:22:36 CET 2018


vlc-android | branch: 3.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar  1 13:45:25 2018 +0100| [b16c0c2cd044d2c2be28e05ff4288f2804a07de9] | committer: Geoffrey Métais

Fix LibVLC aar package name

(cherry picked from commit c150fdc54dedcb573ed844244923323a34144b82)

> https://code.videolan.org/videolan/vlc-android/commit/b16c0c2cd044d2c2be28e05ff4288f2804a07de9
---

 libvlc/build.gradle | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libvlc/build.gradle b/libvlc/build.gradle
index e76ea471b..e50e2bb51 100644
--- a/libvlc/build.gradle
+++ b/libvlc/build.gradle
@@ -32,12 +32,10 @@ android {
         def manifestParser = new DefaultManifestParser(android.sourceSets.main.manifest.srcFile)
         // get the version code of each flavor
         def vlcVersion = manifestParser.getVersionName()
-        manifestParser = new DefaultManifestParser(file('../vlc-android/AndroidManifest.xml'))
-        def androidVersion = manifestParser.getVersionName()
         //Custom APK name
         variant.outputs.all { output ->
             if (outputFileName != null && outputFileName.endsWith('.aar')) {
-                outputFileName = "libvlc-${vlcVersion}-${androidVersion}.aar"
+                outputFileName = "libvlc-${vlcVersion}.aar"
             }
         }
     }



More information about the Android mailing list