Updated to Android Studio 3.0.0 with new android gradle plugin. While buildin
project got message: What went wrong: Execution failed for task ':app:externalNativeBuildDebug'. Expected output file at gst-build-arm64-v8a/libgstreamer_android.so for target gstreamer_android but there was none but libgstreamer_android.so library file is already there. For native code I use ndk-build. Does anyone have this issue? -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Did you find the solution to this? I am having the same issue
-- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
You could take a look at this answare. https://stackoverflow.com/questions/47051504/updated-android-studio-and-got-fail-with-gstreamer-build/47082864#47082864 For know, it seems that the only solution is to downgrade and wait for a fix in the NDK from Google, 2017-11-20 0:28 GMT-02:00 fabianz66 <[hidden email]>: Did you find the solution to this? I am having the same issue _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by valerik931
Hi,
I think you just need to remove the "gstreamer_android" from the externalNativeBuild in your build.gradle and replace it with your local module name: externalNativeBuild { ndkBuild { targets "your_local_module_name_here" } } ----- Mail original ----- De: "valerik931" <[hidden email]> À: [hidden email] Envoyé: Mercredi 1 Novembre 2017 10:15:37 Objet: Updated android studio and got fail with Gstreamer build Updated to Android Studio 3.0.0 with new android gradle plugin. While buildin project got message: What went wrong: Execution failed for task ':app:externalNativeBuildDebug'. Expected output file at gst-build-arm64-v8a/libgstreamer_android.so for target gstreamer_android but there was none but libgstreamer_android.so library file is already there. For native code I use ndk-build. Does anyone have this issue? -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by valerik931
Hi,
I think you just need to remove the "gstreamer_android" from the externalNativeBuild in your build.gradle and replace it with your local module name: externalNativeBuild { ndkBuild { targets "your_local_module_name_here" } } ----- Mail original ----- De: "valerik931" <[hidden email]> À: [hidden email] Envoyé: Mercredi 1 Novembre 2017 10:15:37 Objet: Updated android studio and got fail with Gstreamer build Updated to Android Studio 3.0.0 with new android gradle plugin. While buildin project got message: What went wrong: Execution failed for task ':app:externalNativeBuildDebug'. Expected output file at gst-build-arm64-v8a/libgstreamer_android.so for target gstreamer_android but there was none but libgstreamer_android.so library file is already there. For native code I use ndk-build. Does anyone have this issue? -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Yes!
This helped me. Thank you! In module build.gradle file I added your code: android { defaultConfig { externalNativeBuild { ndkBuild { targets "native_test" abiFilters 'arm64-v8a' } } } } And it works fine. With previous android gradle plugin worked well without targets field. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |