[Android] Fix LibVLC aar package name

Geoffrey Métais git at videolan.org
Thu Mar 1 13:46:01 CET 2018


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

Fix LibVLC aar package name

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

 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